Check SMSC connection when message submission

Check SMSC connection when message submission SearchSearch
Author Message
ganesan subburaj
New member
Username: Essgan

Post Number: 1
Registered: 03-2007
Posted on Thursday, March 29, 2007 - 08:58 am:   

Hello Sir,

How to findout the smpp connection is working at the time of message submission.I have 2 smpp connections.When i send message by submiting now sms url,i need to test smpp connection is working or not, if not i will send message with another smpp connection.

When i submit text to nowsms url,nowsms received the text and put it on Q even the smsc is down.

Is it possible to get the alert Response from your URL,like the following

When i submit messgage with wrong smscroute.I got the following

"The remote server returned an error: (400) Bad Request."



http://127.0.0.1:8800/?PhoneNumber=XXXX&Text=XXX&smscroute=smppGateway1

if smppGateway1 is not connection then i will send

http://127.0.0.1:8800/?PhoneNumber=XXXX&Text=XXX&smscroute=smppGateway2

Note : I am using c# httpwebRequest to submit message.

Thanks
Ganesh