SMPP error Search Search

Now SMS/MMS Gateway » Now SMS/MMS Gateway - SMS Issues (Product Support Only) » SMPP error « Previous Next »

Author Message
Jesper Hartoft
New member
Username: Quark

Post Number: 1
Registered: 02-2008
Posted on Wednesday, February 27, 2008 - 10:08 am:   

I've just downloaded and installed the trial version.
After basic setup and connecting to a SMS modem, I try to send a message with:
http://172.16.15.161:12000/cgi-bin/sendsms?username=name&password=pwd&to=%2B4412 345678&text=Hello
but it doesn't work.
SMPPDEBUG.LOG shows:
10:46 (000001F0) 172.16.12.181 --: WaitForResponseSMPP: SMPP Debug: recv failed, SMPP packet size exceeds max length

Where do I set the max length ?
I can send messages from the web interface.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7527
Registered: 10-2002
Posted on Wednesday, February 27, 2008 - 09:05 pm:   

Hi,

Are you trying to send an HTTP request to the SMPP server port?

There is no reason that you would want to set a maximum length here, as it sounds like you are mixing up protocols.

-bn
Jesper Hartoft
New member
Username: Quark

Post Number: 2
Registered: 02-2008
Posted on Thursday, February 28, 2008 - 09:39 am:   

Yes, I'm trying to test if it works.
But if I'm mixing up things here, that could explaing my problems

I'm trying to replace a Kannel server which the configuration connects to with this information:
http://w.x.y.z:13000/cgi-bin/sendsms
When I change the IP:portno to the NowSMS server, it doesn't work.
I'm reading the configuration as a SMPP connection and tried to check it with the shown URL.
An URL like:
http://w.x.y.z:8800/?PhoneNumber=12345678?Text=test
works as expected.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7545
Registered: 10-2002
Posted on Friday, February 29, 2008 - 03:32 pm:   

Ah ... I see ...

Direct your HTTP request to the "web port".

If you wanted to use an SMPP client instead, you could connect it to the SMPP server port. But that is a completely different protocol from HTTP.

You can include "/cgi-bin/sendsms" in the URL ... it will be ignored. However, some of the other parameters are different (such as "PhoneNumber=" instead of "To="), so they would require a different URL format.

-bn

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to register with this discussion board.
Password:
Options: Automatically activate URLs in message
Action:

Search Search Tree View Tree View   Home Home
Login Login / Register Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2008 by Now Wireless Limited
Airport House, Purley Way, Croydon, London, CR0 0XZ, UK
UK Tel: +44-20-8286-8080 US Tel: +1.410.833.8711
email : nowsms@now.co.uk