Support forum
Each phone number in the SMPP protocol has a mark to indicate the type of number (TON). If the number starts with a '+', Diafaan SMS Server strips the plus from the number and marks the number as International. This is not an error but the normal procedure for SMPP gateways, it looks like your GoIP gateway ignores or misinterprets the TON of the destination number.
To let Diafaan SMS Server change a number from +995598888888 to 00995598888888, you can use the following number template:
+[00]############
or to change a number from +995598888888 to ++995598888888:
+[++]############
In this specific case, it is best to use this in the NumberTemplate settings of the SMPP Gateway for the GoIP gateway so that this number format is only used for the GoIP gateway and not for other gateways.
Regards, Henk
12:45 pm
Hi Hank. Thanks for the reply. I'm sorry, but could you show me an example of how to fix the error, I don't know what to do with the NumberTemplate settings.
Once again I will show on an example my error: If to send sms through GOIP on SMPP in a format +995598888888, goip receives from Diafan number without plus in front (995598888888) and cannot accordingly send it if to send sms in such format it arrives perfectly: + +995598888888, / + 995598888888, 00995598888888, sms come to goip with in the correct format (+995598888888) Thank you
Hello Konstantin,
You can use the Number Template option in Diafaan SMS Server to change the format of the destination numbers.
Each gateway and each connector have a 'NumberTemplate' property in the 'Advanced' options. The number template of the connector changes the number format before it is entered in Diafaan SMS Server. The number template of the gateway changes the number format just before sending the message. It is usually best to use the number templates in the connector to make sure that all destination phone numbers in Diafaan SMS Server are converted to international number format (E.164). But if a specific gateway requires a different number format, you can use the number template option of that gateway.
Regards, Henk
Most Users Ever Online: 529
Currently Online:
2 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488