Http Connection

Http Connection SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 07, 2008 » Http Connection « Previous || Next »
Author Message
Simranjit Singh
New member
Username: Manchanda_17

Post Number: 24
Registered: 06-2007
Posted on Monday, January 28, 2008 - 01:05 pm:   

Hi
How to configure this type of http connection

With mandatory parameters
http://123.456.789.12:7789/csms/PushURL.cgi?USERNAME=UNI5&PASSWORD=Push&MOBI
LENO=919xxxxxxxxx&MESSAGE=hello&TYPE=0&CONTENT_TYPE=text


With optional parameters
http://123.456.789.12:7789/csms/PushURL.cgi?USERNAME=UNI5&PASSWORD=Push&MOBI
LENO=919xxxxxxxxx&MESSAGE=hello&TYPE=0&ORIGIN_ADDR=xxxx&REG_DELIVERY=0&UDH=MSG_U DH_VAL&CONTENT_TYPE=text

USERNAME=as provided
PASSWORD=as PROVIDED
MOBILENO=Twelve-digit destination mobile number, as per the International standard.
TYPE=The Message Type. i.e. “0” for Text.
MESSAGE=The actual content e.g. “Hello World” for Text
UDH=user data header Hex encoded string. Eg. udh=1010101.
ORIGIN_ADDR=The originating address is
suffix support.

All Fields are mandatory except UDH & ORIGIN_ADDR
Simranjit Singh
New member
Username: Manchanda_17

Post Number: 25
Registered: 06-2007
Posted on Monday, January 28, 2008 - 02:18 pm:   

Hi !

What is to enter in URL template text and in URL TEMPLATE BINARY.

UDH value is mandatory in URL TEMPLATE BINARY

I have tried this
IN URL TEMPLATE TEXT:
/csms/pushurl.cgi?username=@@UNI5@@&PASSWORD=@@Push@@&mobileno=@@phonenumber@@&m essage=@@text@@TYPE=@@1@@&CONTENT_TYPE=@@TEXT@@
IN URL TEMPLATE BINARY:
/csms/pushurl.cgi?username=@@UNI5@@&PASSWORD=@@Push@@&mobileno=@@phonenumber@@&t ype=@@0@@&CONTENT_TYPE=@@TEXT@@&binary=1&message=@@UDH@@@@DATA@@

the following error is coming
HTTP CONNECTION FAILED ERROR CODE-404

but if i try this url directly in internet explror like this it works.

http://123.456.789.12:7789/csms/PushURL.cgi?USERNAME=UNI5&PASSWORD=Push&MOBI
LENO=919xxxxxxxxx&MESSAGE=hello&TYPE=0&CONTENT_TYPE=text

Please help me in resolving this
Simranjit Singh
New member
Username: Manchanda_17

Post Number: 26
Registered: 06-2007
Posted on Wednesday, January 30, 2008 - 03:41 am:   

It's working now

Login Login / Register Logout Logout Search Last 30 Days Topics Topics