Kannel and one phone number produce 500 code error
hy, i have this config http://bin.cakephp.org/view/1699351229 [1] and is working just fine for all the numbers on both modems, but when i try to send a message to this number 0729827318 i get this error: 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: ^Z 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: any ideea way? i have try everthing and is not working Links: -- [1] http://bin.cakephp.org/view/1699351229
Re: Kannel and one phone number produce 500 code error
please check google and or the archive ;) On Jan 10, 2012, at 4:17 PM, Zaharia Constantin wrote: hy, i have this config http://bin.cakephp.org/view/1699351229 and is working just fine for all the numbers on both modems, but when i try to send a message to this number 0729827318 i get this error: 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- +CPMS: SM,0,40,SM,0,40,SM,0,40 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: -- OK 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT^M 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CPMS?^M 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CPMS: SM,0,10,SM,0,10,SM,0,10 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- OK 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: TP-Validity-Period: 24.0 hours 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CMGS=18^M 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command status: 1 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 0011000A817092283781A705F4F29C5E06 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- ^Z 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- +CMS ERROR: 500 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: +CMS ERROR: 500 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: An unknown error occurred (500) 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command status: 1 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs. 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len = 1 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs. any ideea way? i have try everthing and is not working Willy Mularto F300HD+MR18DE (NLC1725)
Re: Kannel and one phone number produce 500 code error
what to check? On Tue, 10 Jan 2012 16:50:20 +0700, Willy Mularto wrote: please check google and or the archive ;) On Jan 10, 2012, at 4:17 PM, Zaharia Constantin wrote: hy, i have this config http://bin.cakephp.org/view/1699351229 [1] and is working just fine for all the numbers on both modems, but when i try to send a message to this number 0729827318 i get this error: 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: 2012-01-10 11:11:25 [3708] [6] DEBUG: AT2[cosmote_SMSC]: 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT^M 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:26 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CPMS?^M 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: TP-Validity-Period: 24.0 hours 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- AT+CMGS=18^M 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command status: 1 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- 0011000A817092283781A705F4F29C5E06 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: -- ^Z 2012-01-10 11:11:27 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: +CMS ERROR: 500 2012-01-10 11:11:29 [3708] [7] ERROR: AT2[vodafone_SMSC]: +CMS ERROR: An unknown error occurred (500) 2012-01-10 11:11:29 [3708] [7] DEBUG: AT2[vodafone_SMSC]: send command status: 1 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs. 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: gwlist_len = 1 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: handling message (0x8d215e0 vs 0x8d215e0) 2012-01-10 11:11:29 [3708] [8] DEBUG: re-queing SMS not-yet-to-be resent 2012-01-10 11:11:29 [3708] [8] DEBUG: sms_router: time to sleep 30.00 secs. any ideea way? i have try everthing and is not working Willy Mularto F300HD+MR18DE (NLC1725) -- Links: -- [1] http://bin.cakephp.org/view/1699351229
smsbox
Hi all I am a newbie to kannel. I need help with my kannel. It works fine but when i try to send an sms i get Unknown request. Where am i going wrong? I am using playsms v0.9.5.3 Below is my smskannel configuration. I hav also included my kannel and smsbox log outputs below. Thanks for help kavana group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar smsbox-port = 13001 log-file = /tmp/kannel.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 #- #SMSC CONNECTIONS # #SMSC connections are created in bearerbox and they handle SMSC specific #protocol and message relying. You need these to actually receive and send #messages to handset, but can use GSM modems as virtual SMSCs #group = smsc #smsc = fake #smsc-id = FAKE ##tell kannel that we are going to use mobile as smsc group = smsc smsc-id = mysmsc smsc = at modemtype = auto #device = /dev/modem device = /dev/ttyUSB0 my-number = + log-level = 0 #- #SMSBOX SETUP # #Smsbox(es) do higher-level SMS handling after they have been received from #SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox smsbox-id = mysmsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = + sendsms-chars = 0123456789 +- log-file = /tmp/smsbox.log log-level = 0 #- #SMSBOX ROUTE #smsbox routing inside bearerbox # group = smsbox-route smsbox-id = mysmsbox smsc-id = mysmsc shortcode = ;; #- #SEND-SMS USERS # #These users are used when Kannel smsbox sendsms interface is used to #send PUSH sms messages, i.e. calling URL like #http://kannel.machine:13013/cgi-bin/sendsms?username=testerpassword=foobar.. group = sendsms-user username = tester password = foobar concatenation = true max-messages = 10 #- #SERVICES # #These are 'responses' to sms PULL messages, i.e. messages arriving from #handsets. The response is based on message content. Only one sms-service is #applied, using the first one to match. ##Keyword: first word of sms msg sends sms msg to the right php-codes group = sms-service keyword = default omit-empty = true #get-url = http://localhost/kpsms/playsms/web/index.php?app=callcat=gateway; plugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q get-url = http://localhost/kpsms/playsms/plugin/gateway/kannel/geturl.php? t=%tq=%qa=%a group = sms-service keyword = nop text = You asked nothing and I did it! group = sms-service keyword = default text = No service specified include = /usr/local/src/gateway-1.5.0/gw/modems.conf my kannel log output ... ... 2012-01-10 14:54:06 [28474] [0] DEBUG: Started thread 2 (gwlib/http.c:...) 2012-01-10 14:54:06 [28474] [2] DEBUG: Thread 2 (gwlib/http.c:...) maps to pid 28474. 2012-01-10 14:54:06 [28474] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 28474. 2012-01-10 14:54:06 [28474] [2] DEBUG: HTTP: Including port 13000, fd 7 for polling in server thread 2012-01-10 14:54:06 [28474] [0] DEBUG: starting smsbox connection module 2012-01-10 14:54:06 [28474] [0] INFO: BOXC: 'smsbox-max-p... ... 2012-01-10 14:54:16 [28474] [6] DEBUG: AT2[mysmsc]: -- +CSMS: (0-1) 2012-01-10 14:54:16 [28474] [6] DEBUG: AT2[mysmsc]: -- OK 2012-01-10 14:54:16 [28474] [6] INFO: AT2[mysmsc]: AT SMSC successfully opened. 2012-01-10 14:54:16 [28474] [6] DEBUG: AT2[mysmsc]: -- OK 2012-01-10 14:54:16 [28474] [5] INFO: Client connected from 127.0.0.1 2012-01-10 14:54:16 [28474] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function) 2012-01-10 14:54:16 [28474] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to pid 28474. 2012-01-10 14:54:16 [28474] [8] DEBUG: boxc_receiver: got boxc_idmysmsbox from 127.0.0.1 2012-01-10 14:54:30 [28474] [8] DEBUG: boxc_receiver: sms received 2012-01-10 14:54:30 [28474] [8] DEBUG: send_msg: sending msg to boxc:mysmsbox 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: -- AT+CMGS=28^M 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: -- 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: send command status: 1 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: -- 0031000C915276091834820011A710723968FEFE815A20383B9C9F36A7 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: -- ^Z 2012-01-10 14:54:32 [28474] [6] DEBUG: AT2[mysmsc]: -- 2012-01-10 14:54:36 [28474] [6] DEBUG: AT2[mysmsc]: -- +CMGS: 212 2012-01-10 14:54:36 [28474] [6] DEBUG: AT2[mysmsc]: -- OK 2012-01-10 14:54:36 [28474] [6] DEBUG: AT2[mysmsc]: send command status: 0 2012-01-10 14:54:36 [28474] [6] DEBUG: DLR[internal]: Adding DLR smsc=mysmsc, ts=212, src=+, dst=+, mask=31, boxc=mysmsbox 2012-01-10 14:54:36 [28474] [6] DEBUG: SMSC[mysmsc]: creating DLR message 2012-01-10 14:54:36 [28474] [6] DEBUG: SMSC[mysmsc]: DLR = http://localhost:13013/kpsms//index.php?app=callcat=gatewayplugin=kannel