Modifying Sender ID

Smpp v3.4 client

Moderator: alt

Locked
ashish45
Posts: 13
Joined: Wed Sep 23, 2009 5:58 am

Modifying Sender ID

Post by ashish45 » Tue Aug 10, 2010 12:44 am

Is it possible to modify/set the sender ID? Say for example whena message is received by the handset it should display my name instead of the mobile number.

Thanks,
Ash.
NickAskew
Posts: 60
Joined: Tue Oct 07, 2008 1:35 pm

Post by NickAskew » Wed Sep 29, 2010 3:16 pm

Hi Ash,

You can specify an Alphanumeric SrcAddr.

When you call SubmitSm make sure you set:
SrcTon = Enum_TON.Alphanumeric '(enum definition below)

Be aware that the networks support a maximum length of 11 characters for this, depending on your SMSC it will either return an error if you try to use a longer one, or it will be automatically truncated.

Public Enum Enum_TON As Byte
Unknown = CByte(0)
International = CByte(1)
National = CByte(2)
NetworkSpecific = CByte(3)
SubscriberNumber = CByte(4)
Alphanumeric = CByte(5)
Abbreviated = CByte(6)
'All other values reserved
End Enum

Regards

Nick
ProcessFlows UK Ltd
http://www.processflows.co.uk/
Locked