Which Parameter Would Hold the Phone Number

.NET library for SMPP protocol
Locked
hasha
Posts: 6
Joined: Sun May 26, 2013 10:00 am

Which Parameter Would Hold the Phone Number

Post by hasha » Sun May 26, 2013 10:20 am

Dear All,
Please I am new to InetLab.SMPP. I need some assistance.
Which parameter would hold the phone number for the message I send (using SubmitSm) or receive (using DeliverSM) ?
I am using InetLab's dll for smpp.

Thanks for your help.

Hasha
mubarak
Posts: 13
Joined: Sat Aug 11, 2012 10:04 am
Contact:

Re: Which Parameter Would Hold the Phone Number

Post by mubarak » Mon May 27, 2013 7:49 am

Dear Hasha,

Kindly clear me your question. As you mentioned "SubmitSM" we used to submit our messages to operator. and for the "DelvierSM" we used to receive and delivery receipts from SMSC.

if you give me an clear question, i can help you out.

Thanks
Mubarak
hasha
Posts: 6
Joined: Sun May 26, 2013 10:00 am

Re: Which Parameter Would Hold the Phone Number

Post by hasha » Mon Jun 03, 2013 7:17 am

Dear Mubarak,
I want to be able to send a message to a wireless provider's SMSC for onward sending to mobile phone. How do I tell the SMSC the phone number to send the message to? I cannot see the parameter for that in the SubmitSm.

Thanks, Mubarak, for your kindness.

Hasha
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Which Parameter Would Hold the Phone Number

Post by alt » Sun Jun 09, 2013 8:30 pm

Dear Hasha,

In SubmitSm class properties
SourceAddr is address of you SMS service (short code or service name)
DestAddr is address of recipient (mobile phone)

For DeliverSm it works back to front
SourceAddr is address of recipient (mobile phone)
DestAddr is address of you SMS service (short code or service name)

You can also read more information about SMPP addresses.

Regards,
Alexey
hasha
Posts: 6
Joined: Sun May 26, 2013 10:00 am

Re: Which Parameter Would Hold the Phone Number

Post by hasha » Tue Jun 11, 2013 1:49 pm

Dear Alexy,
Thanks very much for your answer and thanks for the link to the Wiki page. I am most grateful.
Hasha
Locked