smswithoutborders / SMSWithoutBorders-Gateway-Client

Deku is a linux SMS management Gateway. It can both receive and send out SMS messages using the Linux ModemManager utilities. It is aimed at being a complete toolset of everything SMS linux. It functions best with USB 2G/3G Modems
GNU General Public License v3.0
20 stars 9 forks source link

Allow dynamic Nodes for outbounds #33

Open sherlockwisdom opened 2 years ago

sherlockwisdom commented 2 years ago

OpenAPi request are matched to operator names when request are made. Since nodes are listening to specific operator names it is impossible to make nodes send out sms for dynamic operator names. This is useful in case where nodes want to be used regardless of operator name.

proposal: Have ability to listen to one or dynamic (*) operator request

More on this….

This needs to be False in cases where request is dynamic, else would always fail if operator for request does not match operator for node

https://github.com/smswithoutborders/SMSWithoutBorders-Gateway-Client/blob/aeea601b053c4574fd6f5b52f6368d809a754482/src/models/node_outbounds.py#L117