Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Problems with the Prefix +
sp_NewPost Add Reply sp_NewTopic Add Topic
January 6, 2021
3:43 pm
Konstantin
Guest
Guests

Thank you!

January 6, 2021
3:17 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

January 6, 2021
12:45 pm
Konstantin
Guest
Guests

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

January 5, 2021
9:25 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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

January 4, 2021
7:30 pm
Konstantin
Guest
Guests

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

Forum Timezone: Europe/Amsterdam

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 Helmantel

Administrators: Henk Helmantel: 1488