Page 1 of 1

Modifying Sender ID

Posted: Tue Aug 10, 2010 12:44 am
by ashish45
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.

Posted: Wed Sep 29, 2010 3:16 pm
by NickAskew
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