Check the to field, you must urlencode the phone number, so try with to=%2B46705774*** Cheers Andrea ----- Original Message ----- From: "Tobias H�glund" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 5:24 PM Subject: Fail to deliver SMS when using http-interface.
Hi all. I have kannel running on a linux machine using a T28 as SMSC. When I try to send a SMS via the http-interface provided by kannel every thing looks nice by I don�t receive any SMS. I�m calling kannel with URL: http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=46 705774***&text=Hello+World and i receive a 'Send' back i browser window, but no SMS is ending up in the phone with given number. - Do I have to specify a sms-service for this? If needed, any proposal? - What is the 'Kannel relay testing (http_smsc)' used for? Is this something I need? Below is my logging when I call the URL above, looks fine (to me, but I a newbie to kannel!). Any suggestions or advise is welcome! Thanks, regards Tobias. <smsbox> 2002-05-27 15:12:10 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2002-05-27 15:12:10 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1> 2002-05-27 15:12:10 [3] INFO: sendsms used by <tester> 2002-05-27 15:12:10 [3] INFO: sendsms sender:<tester:46705774988> (127.0.0.1) to:<46705774956> msg:<Hello World> 2002-05-27 15:12:10 [3] DEBUG: message length 11, sending 1 messages 2002-05-27 15:12:10 [3] DEBUG: Status: 202 Answer: <Sent.> 2002-05-27 15:12:10 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. </smsbox> <bearerbox> 2002-05-27 15:12:10 [7] DEBUG: boxc_receiver: sms received 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=24^M 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: <-- > 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: --> 0011000B816407754759F60000A70BC8329BFD065DDF723619 2002-05-27 15:12:11 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z 2002-05-27 15:12:15 [5] DEBUG: AT2[/dev/ttyS0]: <-- > 2002-05-27 15:12:15 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS: 171 2002-05-27 15:12:15 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK 2002-05-27 15:12:15 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 0 </bearerbox> My configuration as follows: <smskannel.conf> # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 #global-sender = 13013 global-sender = 46705774988 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 0 # SEND-SMS USERS group = sendsms-user username = tester password = foobar user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" </smskannel.conf>
