additional information:
if there is more than one message in the queue, kannel will send the
later one directly. the older one is still in the queue. and if i send
some more wap push sms, kannel sends them all. but generaly i don't 
send as much sms, so it is not a solution :-/


On Sat, Jun 12, 2010 at 02:37:56AM +0200, Thomas Sieh wrote:
| hi,
| 
| i use a nokia 6210 as smsc. when i try to send a wap push sms, i get a
| generic error. the strange thing is that the message will be send 
| after a restart of kannel. before that it don't leave the queue.
| 
| have someone of you an idea what could be wrong?
| 
| thx
| thomas
| 
| 
| here my conf and the logs...
| 
| SMSC:
| .....
| 
| 2010-06-12 02:09:30 [23967] [6] DEBUG: AT2[SMSC_01]: --> AT+CBC;+CSQ^M
| 2010-06-12 02:09:30 [23967] [6] DEBUG: AT2[SMSC_01]: <-- +CBC: 1,50
| 2010-06-12 02:09:30 [23967] [6] DEBUG: AT2[SMSC_01]: <-- +CSQ: 31,99
| 2010-06-12 02:09:30 [23967] [6] DEBUG: AT2[SMSC_01]: <-- OK
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: TP-Validity-Period:
| 24.0 hours
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> AT+CMGS=86^M
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: <-- 
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: <-- >
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: send command status: 1
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 0051000D919471****
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> ****F60004A7470605
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 040B8423F0000605AE
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 8DB8C39302056A0045
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> C60811033132373633
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 3031333739000C0377
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 61702E676F6F676C65
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 2E636F6D0001035468
| 2010-06-12 02:09:40 [23967] [6] DEBUG: AT2[SMSC_01]: --> 697320697320612074
| 2010-06-12 02:09:41 [23967] [6] DEBUG: AT2[SMSC_01]: --> 657374000101
| 2010-06-12 02:09:41 [23967] [6] DEBUG: AT2[SMSC_01]: <-- ERROR
| 2010-06-12 02:09:41 [23967] [6] ERROR: AT2[SMSC_01]: Generic error: ERROR
| 2010-06-12 02:09:41 [23967] [6] DEBUG: AT2[SMSC_01]: send command status: -1
| 2010-06-12 02:10:03 [23967] [6] DEBUG: AT2[SMSC_01]: --> AT+CBC;+CSQ^M
| 2010-06-12 02:10:03 [23967] [6] DEBUG: AT2[SMSC_01]: <-- +CBC: 1,50
| 2010-06-12 02:10:03 [23967] [6] DEBUG: AT2[SMSC_01]: <-- +CSQ: 31,99
| 2010-06-12 02:10:03 [23967] [6] DEBUG: AT2[SMSC_01]: <-- OK
| 
| wapbox:
| .......
| 
| 2010-06-12 02:09:39 [24026] [14] INFO: PPG: Accept request </wappush> from 
<127.0.0.1>
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: http_read_thread: pap multipart 
accepted
| 2010-06-12 02:09:39 [24026] [14] INFO: client address was <+49176********>, 
accepted
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PAP COMPILER: doing semantic analysis 
for address type a phone number
| 2010-06-12 02:09:39 [24026] [14] DEBUG: using defaults instead of anys 
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: http_read_thread: pap control 
entity compiled ok
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: transform_message: push message 
content and headers valid
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: push machine 0 created 
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: store_push_data: push machine 0 
appended to unit push list
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: send_push_response: telling pi
| 2010-06-12 02:09:39 [24026] [14] DEBUG: HTTP: Resetting HTTPClient for 
`127.0.0.1'.
| 2010-06-12 02:09:39 [24026] [14] INFO: PPG: handle_push_message: push message 
accepted for processing
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: OTA request for unit push
| 2010-06-12 02:09:39 [24026] [14] INFO: PPG: unconfirmed push delivered to OTA
| 2010-06-12 02:09:39 [24026] [14] DEBUG: PPG: destroying push machine 0
| 2010-06-12 02:09:39 [24026] [9] DEBUG: OTA: event arrived
| 2010-06-12 02:09:39 [24026] [9] DEBUG: OTA: made connectionless session 
service request
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP (UNIT): event arrived
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP_UNIT: Connectionless push accepted
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP: Mapping 
`application/vnd.wap.sic', WSP 1.2 to 0x002e.
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP: Mapping `Content-Length', WSP 1.3 
to 0x000d.
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 
to 0x0011.
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP: Mapping `Encoding-Version', WSP 
1.3 to 0x0043.
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WDP (wapbox): delivering 1 segments to 
bearerbox
| 2010-06-12 02:09:39 [24026] [2] DEBUG: WSP (UNIT): delivering to wdp
| 2010-06-12 02:09:39 [24026] [0] WARNING: Received other message than 
wdp/admin, ignoring!
| 2010-06-12 02:09:39 [24026] [10] DEBUG: HTTP: Destroying HTTPClient area 
0x272a8e0.
| 2010-06-12 02:09:39 [24026] [10] DEBUG: HTTP: Destroying HTTPClient for 
`127.0.0.1'.
| 
| bearerbox:
| ..........
| 
| 2010-06-12 02:24:53 [23967] [7] DEBUG: sms_router: gwlist_len = 1
| 2010-06-12 02:24:53 [23967] [7] DEBUG: sms_router: handling message 
(0x1598d10 vs 0x1598d10)
| 2010-06-12 02:24:53 [23967] [7] DEBUG: re-queing SMS not-yet-to-be resent
| 2010-06-12 02:24:53 [23967] [7] DEBUG: sms_router: handling message 
(0x1598d10 vs 0x1598d10)
| 2010-06-12 02:24:53 [23967] [7] DEBUG: re-queing SMS not-yet-to-be resent
| 2010-06-12 02:24:53 [23967] [7] DEBUG: sms_router: time to sleep 30.00 secs.
| 2010-06-12 02:25:23 [23967] [7] DEBUG: sms_router: gwlist_len = 1
| 2010-06-12 02:25:23 [23967] [7] DEBUG: sms_router: handling message 
(0x1598d10 vs 0x1598d10)
| 2010-06-12 02:25:23 [23967] [7] DEBUG: Message routed successfully.
| 2010-06-12 02:25:26 [23967] [7] DEBUG: sms_router: handling message 
(0x15978d0 vs 0x15978d0)
| 2010-06-12 02:25:26 [23967] [7] DEBUG: re-queing SMS not-yet-to-be resent
| 2010-06-12 02:25:26 [23967] [7] DEBUG: sms_router: handling message 
(0x15978d0 vs 0x15978d0)
| 2010-06-12 02:25:26 [23967] [7] DEBUG: re-queing SMS not-yet-to-be resent
| 2010-06-12 02:25:26 [23967] [7] DEBUG: sms_router: time to sleep 30.00 secs.
| 2010-06-12 02:25:56 [23967] [7] DEBUG: sms_router: gwlist_len = 1
| 2010-06-12 02:25:56 [23967] [7] DEBUG: sms_router: handling message 
(0x15978d0 vs 0x15978d0)
| 2010-06-12 02:25:56 [23967] [7] DEBUG: re-queing SMS not-yet-to-be resent
| 2010-06-12 02:25:56 [23967] [7] DEBUG: sms_router: handling message 
(0x15978d0 vs 0x15978d0)
| 
| 
| CONFIG:
| .......
| #kannel.conf
| 
| group = core
| admin-port = 13000
| admin-password = genap
| status-password = genap
| admin-deny-ip = "*.*.*.*"
| admin-allow-ip = "127.0.0.1"
| log-file = "/var/log/kannel/bearerbox.log"
| log-level = 0
| access-log = "/var/log/kannel/access.log"
| smsbox-port = 13001
| wapbox-port = 13002
| wdp-interface-name = "*"
| store-type = spool
| store-location = /var/spool/kannel
| 
| group = smsc
| smsc-id = SMSC_01
| smsc = at
| modemtype = nokiaphone
| speed = 9600
| device = /dev/ttyUSB0
| sms-center = +491770610000
| my-number = +49157********
| log-file = "/var/log/kannel/smsc.log"
| log-level = 0
| keepalive = 20
| 
| group = modems
| id = nokiaphone
| name = "Nokia Phone"
| detect-string = "Nokia Mobile Phone"
| need-sleep = true
| init-string = "AT+CNMI=1,2,0,1,0;+CMEE=2"
| keepalive-cmd = "AT+CBC;+CSQ"
| enable-mms = true
| 
| group = wapbox
| bearerbox-host = localhost
| log-file = "/var/log/kannel/wapbox.log"
| log-level = 0
| access-log = "/var/log/kannel/access.log"
| syslog-level = none
| 
| group = smsbox
| smsbox-id = sms_box
| bearerbox-host = localhost
| sendsms-port = 13013
| sendsms-chars = "0123456789+"
| global-sender = +49157********
| log-file = "/var/log/kannel/smsbox.log"
| log-level = 0
| access-log = "/var/log/kannel/access.log"
| sendsms-url = /cgi-bin/sendsms
| 
| group = sendsms-user
| username = tester
| password = foobar
| user-allow-ip = "*.*.*.*"
| max-messages = 2
| concatenation = true
| 
| group = sms-service
| keyword = default
| max-messages = 0
| get-url = http://127.0.0.1/receive_sms?from=%q&date=%t&text=%b
| accepted-smsc = SMSC_01
| 
| group = smsbox-route
| smsc-id = SMSC_01
| smsbox-id = sms_box
| 
| group = ppg
| ppg-url = /wappush
| ppg-port = 8080
| concurrent-pushes = 100
| users = 1024
| trusted-pi = true
| ppg-allow-ip = "*.*.*.*"
| ppg-smsbox-id = sms_box
| default-smsc = SMSC_01
| 
| group = wap-push-user
| ppg-username = tester
| ppg-password = foobar
| allow-ip = "*.*.*.*"
| default-smsc = SMSC_01

Attachment: signature.asc
Description: Digital signature

Reply via email to