SMS not routed
Hello users, I have setup smppbox on a centOS server and i have created an esme-user in the config which i use to connect to the server from another system. Each time i send a message from this system using the sendsms url, it displays Accepted for delivery' but when it gets to the server it does not route the sms. The Error in the log file is below; 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request 2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests. 2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL ` http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 ': 2010-12-25 11:16:17 [4857] [3] DEBUG: Scheme: http:// 2010-12-25 11:16:17 [4857] [3] DEBUG: Host: localhost 2010-12-25 11:16:17 [4857] [3] DEBUG: Port: 23013 2010-12-25 11:16:17 [4857] [3] DEBUG: Username: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Password: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Path: /cgi-bin/sendsms 2010-12-25 11:16:17 [4857] [3] DEBUG: Query: username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [3] DEBUG: Fragment: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1 2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to `localhost:23013' (fd=59). 2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting 2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket 2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected 2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS center (retrying in 10 seconds). 2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query can someone please tell me what the problem is. Thanks.
Re: SMS not routed
Hi, Looks like you have confused your sendsms interface with your SMSc definition in your configuration. You should post your configuration if you need more help. BR, Nikos - Original Message - From: David Ige: Cellulant To: users@kannel.org Sent: Friday, December 24, 2010 1:30 PM Subject: SMS not routed Hello users, I have setup smppbox on a centOS server and i have created an esme-user in the config which i use to connect to the server from another system. Each time i send a message from this system using the sendsms url, it displays Accepted for delivery' but when it gets to the server it does not route the sms. The Error in the log file is below; 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request 2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests. 2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL `http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917': 2010-12-25 11:16:17 [4857] [3] DEBUG: Scheme: http:// 2010-12-25 11:16:17 [4857] [3] DEBUG: Host: localhost 2010-12-25 11:16:17 [4857] [3] DEBUG: Port: 23013 2010-12-25 11:16:17 [4857] [3] DEBUG: Username: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Password: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Path: /cgi-bin/sendsms 2010-12-25 11:16:17 [4857] [3] DEBUG: Query: username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [3] DEBUG: Fragment: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1 2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to `localhost:23013' (fd=59). 2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting 2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket 2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected 2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS center (retrying in 10 seconds). 2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query can someone please tell me what the problem is. Thanks.
SMS not routed
Hello users, I have setup smppbox on a centOS server and i have created an esme-user in the config which i use to connect to the server from another system. Each time i send a message from this system using the sendsms url, it displays Accepted for delivery' but when it gets to the server it does not route the sms. The Error in the log file is below; 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request 2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests. 2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL ` http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 ': 2010-12-25 11:16:17 [4857] [3] DEBUG: Scheme: http:// 2010-12-25 11:16:17 [4857] [3] DEBUG: Host: localhost 2010-12-25 11:16:17 [4857] [3] DEBUG: Port: 23013 2010-12-25 11:16:17 [4857] [3] DEBUG: Username: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Password: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Path: /cgi-bin/sendsms 2010-12-25 11:16:17 [4857] [3] DEBUG: Query: username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [3] DEBUG: Fragment: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1 2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to `localhost:23013' (fd=59). 2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting 2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket 2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected 2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS center (retrying in 10 seconds). 2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query Here is my kannel configuration: --- bearerbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_bbox.conf group=rr-list id=rr-db table=users key-field=username value-field=throughput group=mysql-connection id=rr-db host=localhost username=xx password=xx database=xx max-connections=1 kannel_include.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = foobar box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 box-allow-ip = *.*.*.* log-file=/opt/vsmsc/logs/bearerbox.log log-level=0 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 #admin-allow-ip = *.*.*.* group = mysql-connection id = kannel_dlr host = localhost username = xx password = xx database = xx max-connections = 5 group = dlr-db id = kannel_dlr table = kannel_dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #- # SMSC CONNECTIONS #- include=/opt/vsmsc/etc/smsc.d/ #include=/opt/vsmsc/etc/smsc.d/mo_relay.conf #- # SMSBOX SETUP #- group = smsbox smsbox-id=VSMSC_HTTP bearerbox-host = 127.0.0.1 sendsms-port = 13013 log-file=/opt/vsmsc/logs/smsbox.log log-level=0 access-log = /tmp/access.log #- # SEND-SMS USERS #- #- # SERVICES #- group =
Re: SMS not routed
Hi, You don't define any smsc to route SMS to: include=/opt/vsmsc/etc/smsc.d/ Include parameter doesn't take a directory as argument. Read UG about it. BR, Nikos - Original Message - From: David Ige: Cellulant To: users@kannel.org Sent: Friday, December 24, 2010 3:39 PM Subject: SMS not routed Hello users, I have setup smppbox on a centOS server and i have created an esme-user in the config which i use to connect to the server from another system. Each time i send a message from this system using the sendsms url, it displays Accepted for delivery' but when it gets to the server it does not route the sms. The Error in the log file is below; 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: gwlist_len = 1 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: handling message (0x95394f0 vs 0x95394f0) 2010-12-25 11:16:09 [4857] [16] DEBUG: Routing failed, re-queued. 2010-12-25 11:16:09 [4857] [16] DEBUG: sms_router: time to sleep 30.00 secs. 2010-12-25 11:16:10 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:10 [4857] [7] DEBUG: No rows returned for status query 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Re-sending request 2010-12-25 11:16:17 [4857] [15] DEBUG: HTTP[tyn]: Start request 2010-12-25 11:16:17 [4857] [3] DEBUG: Queue contains 0 pending requests. 2010-12-25 11:16:17 [4857] [3] DEBUG: Parsing URL `http://localhost:23013/cgi-bin/sendsms?username=password=xxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917': 2010-12-25 11:16:17 [4857] [3] DEBUG: Scheme: http:// 2010-12-25 11:16:17 [4857] [3] DEBUG: Host: localhost 2010-12-25 11:16:17 [4857] [3] DEBUG: Port: 23013 2010-12-25 11:16:17 [4857] [3] DEBUG: Username: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Password: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Path: /cgi-bin/sendsms 2010-12-25 11:16:17 [4857] [3] DEBUG: Query: username=xxxpassword=xxxto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [3] DEBUG: Fragment: (null) 2010-12-25 11:16:17 [4857] [3] DEBUG: Connecting nonblocking to 127.0.0.1 2010-12-25 11:16:17 [4857] [3] DEBUG: HTTP: Opening connection to `localhost:23013' (fd=59). 2010-12-25 11:16:17 [4857] [3] DEBUG: Socket connecting 2010-12-25 11:16:17 [4857] [2] DEBUG: Get info about connecting socket 2010-12-25 11:16:17 [4857] [2] DEBUG: Socket not connected 2010-12-25 11:16:17 [4857] [2] ERROR: Couldn't fetch http://localhost:23013/cgi-bin/sendsms?username=xxpassword=xto=%2B2348056290217text=testingfrom=cellulantcoding=0charset=UTF-8account=david:NULLsmsc=tyndlr-url=57394386-8536-4367-99d6-0b979ea55917 2010-12-25 11:16:17 [4857] [15] ERROR: HTTP[tyn]: Couldn't connect to SMS center (retrying in 10 seconds). 2010-12-25 11:16:20 [4857] [7] DEBUG: Running status update 2010-12-25 11:16:20 [4857] [7] DEBUG: No rows returned for status query Here is my kannel configuration: --- bearerbox.conf --- include=/opt/vsmsc/etc/kannel_include.conf group=vsmsc-config path=/opt/vsmsc/etc/vsmsc_bbox.conf group=rr-list id=rr-db table=users key-field=username value-field=throughput group=mysql-connection id=rr-db host=localhost username=xx password=xx database=xx max-connections=1 kannel_include.conf group = core admin-port = 13000 smsbox-port = 13001 admin-password = foobar box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 box-allow-ip = *.*.*.* log-file=/opt/vsmsc/logs/bearerbox.log log-level=0 admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 #admin-allow-ip = *.*.*.* group = mysql-connection id = kannel_dlr host = localhost username = xx password = xx database = xx max-connections = 5 group = dlr-db id = kannel_dlr table = kannel_dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #- # SMSC CONNECTIONS #- include=/opt/vsmsc/etc/smsc.d/ #include=/opt/vsmsc/etc/smsc.d/mo_relay.conf #- # SMSBOX SETUP #- group = smsbox smsbox-id=VSMSC_HTTP bearerbox-host = 127.0.0.1