WAP-Push with Nokia 6210 as SMSC
Hi @all, I have got a Nokia 6210 as SMSC. When I send a WAP Push message to the PPG I get a unforseeable number of Generic Errors - up to 30 - and then it will send the message successfully. What could be the Problem? I have tryed already to change sleep-times and other modem options without success. BR, Thomas The error messages: ... 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- ERROR 2010-05-23 20:18:32 [11694] [6] ERROR: AT2[SMSC_01]: Generic error: ERROR 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: -1 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: TP-Validity-Period: 24.0 hours 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: -- AT+CMGS=94^M 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: -- 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- ERROR 2010-05-23 20:19:35 [11694] [6] ERROR: AT2[SMSC_01]: Generic error: ERROR 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: -1 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: TP-Validity-Period: 24.0 hours 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- AT+CMGS=94^M 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 2010-05-23 20:20:38 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 2010-05-23 20:20:38 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: -- +CMGS: 36 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: -- OK 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 0 My Configuration: group = smsc smsc-id = SMSC_01 smsc = at modemtype = nokiaphone speed = 19200 device = /dev/ttyUSB0 sms-center = +49177061 my-number = +491577xx log-file = /var/log/kannel/smsc.log log-level = 0 keepalive = true group = modems id = nokiaphone name = Nokia Phone detect-string = Nokia Mobile Phone #need-sleep = true #sendline-sleep = 1000 init-string = AT+CNMI=1,2,0,1,0 keepalive-cmd = AT+CBC;+CSQ enable-mms = true 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 signature.asc Description: Digital signature
Re: WAP-Push with Nokia 6210 as SMSC
Hi @all again, I found the mistake by myself... keepalive = true is not a valid value. After changing to 5 it works fine. How stupid :) Thanks Thomas On Sun, May 23, 2010 at 08:41:15PM +0200, Thomas Sieh wrote: | Hi @all, | | I have got a Nokia 6210 as SMSC. When I send a WAP Push message to the | PPG I get a unforseeable number of Generic Errors - up to 30 - and then | it will send the message successfully. What could be the Problem? | I have tryed already to change sleep-times and other modem options | without success. | | BR, | Thomas | | The error messages: | ... | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 | 2010-05-23 20:18:31 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 | 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 | 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 | 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- | 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: -- ERROR | 2010-05-23 20:18:32 [11694] [6] ERROR: AT2[SMSC_01]: Generic error: ERROR | 2010-05-23 20:18:32 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: -1 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: TP-Validity-Period: 24.0 hours | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: -- AT+CMGS=94^M | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: -- | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 | 2010-05-23 20:19:34 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 | 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 | 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 | 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- | 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: -- ERROR | 2010-05-23 20:19:35 [11694] [6] ERROR: AT2[SMSC_01]: Generic error: ERROR | 2010-05-23 20:19:35 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: -1 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: TP-Validity-Period: 24.0 hours | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- AT+CMGS=94^M | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: -- | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 1 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --0051000D9194714669 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --4494F60004A74F0605 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --040B8423F605AE | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --8DC0C39302056A0045 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --C60811033132373436 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --3337333837000C0377 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --61702E676F6F676C65 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --2E636F6D0001035468 | 2010-05-23 20:20:37 [11694] [6] DEBUG: AT2[SMSC_01]: --697320697320612066 | 2010-05-23 20:20:38 [11694] [6] DEBUG: AT2[SMSC_01]: --75636B696E67207465 | 2010-05-23 20:20:38 [11694] [6] DEBUG: AT2[SMSC_01]: -- 7374000101 | 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: -- +CMGS: 36 | 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: -- OK | 2010-05-23 20:20:43 [11694] [6] DEBUG: AT2[SMSC_01]: send command status: 0 | | | My Configuration: | | group = smsc | smsc-id = SMSC_01 | smsc = at | modemtype = nokiaphone | speed = 19200 | device = /dev/ttyUSB0 | sms-center = +49177061 | my-number = +491577xx | log-file = /var/log/kannel/smsc.log | log-level = 0 | keepalive = true | | group = modems | id = nokiaphone | name = Nokia Phone | detect-string = Nokia Mobile Phone | #need-sleep = true | #sendline-sleep = 1000 | init-string =