adrnsoh / websmsdroid

Automatically exported from code.google.com/p/websmsdroid
0 stars 0 forks source link

Feature request: Choice of connector according to country code and match patterns #728

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if it became possible to pre-configure which connector that 
should be used for sending messages according to the phone number/country code 
of the recipient.

Preferred it should ship with a default setting, an automatic mode that uses 
the regular mobile carrier for all domestic SMSes.

SMSes/phone numbers could be regarded as domestic when they are without a 
leading "+" (maybe also "00")
and also for phone numbers with country code that match the country of the 
subscribers SIM card.
Maybe by detecting the ID of the subscribes carrier / SIM card or comparing 
against the SMSC (SMS service centre).

When roaming there should be a different behaviour in default setting where it 
might prompt how to send, as the whole price scheme change abroad.

For non-default settings, it would be nice to be able to configure match 
patterns and a corresponding means of sending/connector.

The match patterns should not be limited to matching of country codes.
E.g. one could configure that all SMSs for phone numbers prefixed with country 
code "+47" should go by the FishText connector. But if one further more 
configures a longer match pattern, could be partial or full phone numbers, e.g. 
"+47ABCDEFGH". Then SMSes that match e.g. "+47ABCDEFGH" could be configured to 
go by regular carrier SMS. The most specific (longest) pattern should "win".

This would be helpfull e.g. because FishText (connector provider) fails to 
deliver messages for some subscriber numbers. And also useful in situations 
where one has special deals for sending SMSs to subscribers within their own 
carrier.

Original issue reported on code.google.com by glyrup....@mailme.dk on 28 Jun 2012 at 2:00

GoogleCodeExporter commented 8 years ago
there was an issue for switching connectors automatically. but i would like to 
implement it in smsdroid instead.

Original comment by f...@ub0r.de on 28 Jun 2012 at 7:48