SMPP number format issue

SMPP number format issue SearchSearch
Author Message
Alex Taylor
New member
Username: Alext

Post Number: 1
Registered: 09-2016
Posted on Tuesday, September 27, 2016 - 01:10 pm:   

Hi Support

I am having an issue with NowSMS adding a + to a sender ID from an SMPP connection and I am unable to strip it out when sending the message onwards.

I have run a Wireshark trace on the incoming message and there is no + on the sender ID which indicates the + is being added by NowSMS.

Do you have any suggestions?

Thanks

Alex
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5724
Registered: 08-2008
Posted on Tuesday, September 27, 2016 - 01:54 pm:   

Hi Alex,

TON (e.g., source_ton and dest_ton) set to 1 indicates that a number is in international format. NowSMS displays this as + in other interfaces, such as HTTP.

There are many situations where end users submit messages using local number formats, but the upstream SMSC connection requires that the message be submitted using an international format (e.g., include a country code and possibly require TON=1 for SMPP connections). Or vice versa, where international prefixes need to be removed. There are settings to facilitate this described here:

http://www.nowsms.com/international-prefix-conversion-for-sms

I also recall a recent post here where the poster found that a colleague had applied these settings previously, and the settings were causing confusion. I point this out, just in case it was posted by a colleague of yours:
http://support.nowsms.com/discus/messages/1/73674.html

--
Des
NowSMS Support
Alex Taylor
New member
Username: Alext

Post Number: 2
Registered: 09-2016
Posted on Tuesday, September 27, 2016 - 02:03 pm:   

Hi Des

Thanks for the link, that looks like it will solve my issue. The other link isn't related to me.

I couldn't see how I would remove digits from a number, is it possible to leave one of the fields blank or do I need to complete all the international codes likely to be used?

For instance if a message came into NowSMS as +447771 could I set the conversion as

'+,'
or would I have to do
'+44,44'

Does that make sense?

Thanks again

Alex
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5725
Registered: 08-2008
Posted on Tuesday, September 27, 2016 - 02:27 pm:   

Hi Alex,

Yes, you would need to do

+44:44

Or to always remove +

+1:1,+2:2,+3:3,+4:4,+5:5,+6:6,+7:7,+8:8,+9:9,+0:0

--
Des
NowSMS Support
Alex Taylor
New member
Username: Alext

Post Number: 3
Registered: 09-2016
Posted on Tuesday, September 27, 2016 - 02:29 pm:   

Thanks Des

That makes sense. The change has worked

Alex