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:
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.
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
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.
Hi Hank. I want to make Diafan work with Goip on SMP, when sending a message to Goip the recipient's number comes without a "+", if I put two pluses or 00 everything works fine! How to fix the error? Thank you
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 597
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1263