SMPP error | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through May 07, 2008 ⬆ |
◄ ► |
Author | Message | |||
Jesper Hartoft New member Username: Quark Post Number: 1 Registered: 02-2008 |
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 |
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 |
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 |
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 |