RestComm / smscgateway

RestComm SMS Gateway (SMSC) to send/receive SMS from/to Operators Network (GSM)
http://www.restcomm.com/
GNU Affero General Public License v3.0
127 stars 111 forks source link

TxHttp - kannel style tags / top / npi #129

Open vetss opened 8 years ago

vetss commented 8 years ago

It guess it better is we reuse of kannel style tags in HTTP requests for uploading of messages to SMSC GW (to be uniform).

1) http://www.kannel.org/download/1.4.4/userguide-1.4.4/userguide.html#AEN5058

2) possibility of calculating of NPI / TON if no sourceton, sourcenpi,destton and destnpi values un an HTTP request is supplied with the following algo: 1) It affects both source and destination addresses. 2) If first digit is "+" it is international. 3) else if it is only digits or destination address it is national. 4) else if it is source address and contains letters, it is alphanumeric. http://www.kannel.org/pipermail/users/2009-September/008347.html

ovoo-unif commented 7 years ago

Hi,

it is not that important for us at the moment, but I agree this alignment should be done as soon as possible, so that the HTTP interface user would not have to adapt later. The kannel style is OK.

We will try to contribute to this change.

Regards, adam