Adding Country code in Originator Address and removing leading '00'...

Adding Country code in Originator Address and removing leading '00'... SearchSearch
Author Message
Pratik Chauhan
New member
Username: Pratikchauhan

Post Number: 1
Registered: 06-2008
Posted on Friday, June 13, 2008 - 07:28 pm:   

Hi,

I am evaluating NowSMS 2008. I have created two SMPP connection and configured transparent routing, as suggested in one of thread by modifying smsgw.ini, in such a way that when SMS is coming from inbound SMPP link it is sent out through outbound SMPP link. It is working fine.

Now, before any SMS is sent to outbound SMPP link I want to modify originator address by prefix number with country code and I want to strip leading '00' from recipient address. For example if Originator address is 1234, I want to prefix it with county code (44) so make it 441234. Same way if recipient address is 00919898123456 then I want to strip leading '00' to make it 919898123456.

Is there any way to do such digit manipulation for all messages sent out through Outbound SMPP link.

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7596
Registered: 10-2002
Posted on Friday, June 13, 2008 - 08:05 pm:   

Hi Pratik,

We don't have any feature that would enable that.

It is something that we get asked about from time to time, but we don't have any good ideas for how such a feature would be implemented.

I'm thinking that we'd have to implement this as some type of routing callback. When a message is submitted, we'd issue an HTTP callback that allowed for transformations. I'm just concerned about the performance implications of such a callback.

If you have any thoughts regarding how we might implement this, I'll review them with our engineering team.

-bn