SMPP error

SMPP error SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 07, 2008 » SMPP error « Previous || Next »
Author Message
Jesper Hartoft
New member
Username: Quark

Post Number: 1
Registered: 02-2008
Posted on Wednesday, February 27, 2008 - 09: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 - 08: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 - 08: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 - 02: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

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