Hi,

 

I'm trying to use Kannel as a PPG with a samba-75 MODEM as SMSC. The whole
process seems to be OK, but when the message gets to the modem I get an
error indicating incorrect PDU length.

 

Does anybody seen this behaviour before?. I'm sending my configuration and
relevant logs

 

Thanks in advance

Javier

 

 

====== Kannel initializacion =====

avisg:~#  bearerbox -v 0 /etc/kannel/kannel.conf &

[1] 16873

avisg:~# 2007-09-07 11:53:38 [16873] [0] INFO: Debug_lvl = 0, log_file =
<none>, log_lvl = 0

2007-09-07 11:53:38 [16873] [0] WARNING: DLR: using default 'internal' for
storage type.

2007-09-07 11:53:38 [16873] [0] INFO: DLR using storage type: internal

2007-09-07 11:53:38 [16873] [0] DEBUG: Kannel bearerbox version
`cvs-20070903'.

Build `Sep  7 2007 11:26:46', compiler `4.1.2 20061115 (prerelease) (Debian
4.1.1-21)'.

System Linux, release 2.6.18-4-686, version #1 SMP Mon Mar 26 17:17:36 UTC
2007, machine i686.

Hostname avisg, IP 192.168.0.9.

Libxml version 2.6.27.

Using native malloc.

 

2007-09-07 11:53:38 [16873] [0] INFO: Added logfile `/var/log/bearerbox.log'
with level `0'.

2007-09-07 11:53:38 [16873] [0] INFO: SSL not supported, no SSL
initialization done.

2007-09-07 11:53:38 [16873] [0] INFO: HTTP: Opening server at port 13000.

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

2007-09-07 11:53:38 [16873] [0] DEBUG: starting smsbox connection module

2007-09-07 11:53:38 [16873] [0] ERROR: Missing smsbox-port variable, cannot
start smsboxes

2007-09-07 11:53:38 [16873] [0] INFO: Set SMS resend frequency to 60
seconds.

2007-09-07 11:53:38 [16873] [0] INFO: SMS resend retry set to unlimited.

2007-09-07 11:53:38 [16873] [0] DEBUG: smsbox MO concatenated message
handling enabled

2007-09-07 11:53:38 [16873] [0] INFO: DLR rerouting for smsc id <gsm-smsc>
disabled.

2007-09-07 11:53:38 [16873] [0] INFO: Added logfile
`/var/log/kannel/gsm-smsc.log' with level `0'.

2007-09-07 11:53:38 [16873] [0] INFO: AT2[gsm-smsc]: configuration shows
modemtype <samba_75>

2007-09-07 11:53:38 [16873] [0] DEBUG: AT2[gsm-smsc]: Reading modem
definitions from </etc/kannel/kannel.conf>

2007-09-07 11:53:38 [16873] [0] DEBUG: AT2[gsm-smsc]: Found <1> modems in
config

2007-09-07 11:53:38 [16873] [0] INFO: AT2[gsm-smsc]: read modem definition
for <Samba 75>

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 4
(gw/smsc/smsc_at.c:at2_device_thread)

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 5
(gw/bb_smscconn.c:sms_router)

2007-09-07 11:53:38 [16873] [0] DEBUG: starting wapbox connection module

2007-09-07 11:53:38 [16873] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 16873.

2007-09-07 11:53:38 [16873] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 16873.

2007-09-07 11:53:38 [16873] [4] DEBUG: Thread 4
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 16873.

2007-09-07 11:53:38 [16873] [5] DEBUG: Thread 5
(gw/bb_smscconn.c:sms_router) maps to pid 16873.

2007-09-07 11:53:38 [16873] [6] DEBUG: Thread 6
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 16873.

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 6
(gw/bb_boxc.c:wdp_to_wapboxes)

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 7
(gw/bb_boxc.c:wapboxc_run)

2007-09-07 11:53:38 [16873] [0] DEBUG: starting WDP router

2007-09-07 11:53:38 [16873] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 16873.

2007-09-07 11:53:38 [16873] [4] INFO: Logging thread `4' to logfile
`/var/log/kannel/gsm-smsc.log' with level `0'.

2007-09-07 11:53:38 [16873] [0] DEBUG: Started thread 8
(gw/bearerbox.c:wdp_router)

2007-09-07 11:53:38 [16873] [0] INFO:
----------------------------------------

2007-09-07 11:53:38 [16873] [0] INFO: Kannel bearerbox II version
cvs-20070903 starting

2007-09-07 11:53:38 [16873] [0] INFO: MAIN: Start-up done, entering mainloop

2007-09-07 11:53:38 [16873] [0] DEBUG: AT2[gsm-smsc]: start called

2007-09-07 11:53:38 [16873] [7] DEBUG: Thread 7 (gw/bb_boxc.c:wapboxc_run)
maps to pid 16873.

2007-09-07 11:53:38 [16873] [8] DEBUG: Thread 8 (gw/bearerbox.c:wdp_router)
maps to pid 16873.

2007-09-07 11:53:38 [16873] [6] DEBUG: wdp_to_wapboxes: destroying lists

2007-09-07 11:53:38 [16873] [6] DEBUG: Thread 6
(gw/bb_boxc.c:wdp_to_wapboxes) terminates.

 

avisg:~#

avisg:~#

avisg:~#

avisg:~#

avisg:~#  wapbox -v 0 /etc/kannel/kannel.conf &

[2] 16882

avisg:~# 2007-09-07 11:53:43 [16882] [0] INFO: Debug_lvl = 0, log_file =
<none>, log_lvl = 0

2007-09-07 11:53:43 [16882] [0] DEBUG: Kannel wapbox version `1.4.1'.

Build `Oct 17 2006 02:55:06', compiler `4.1.2 20061007 (prerelease) (Debian
4.1.1-16)'.

System Linux, release 2.6.18-4-686, version #1 SMP Mon Mar 26 17:17:36 UTC
2007, machine i686.

Hostname avisg, IP 192.168.0.9.

Libxml version 2.6.26.

Using OpenSSL 0.9.8c 05 Sep 2006.

Compiled with MySQL 5.0.24a, using MySQL 5.0.32.

Using native malloc.

 

2007-09-07 11:53:43 [16882] [0] DEBUG: Dumping Cfg 0x8186ef8

2007-09-07 11:53:43 [16882] [0] DEBUG:   filename =
</etc/kannel/kannel.conf>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (wapbox):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-level> = <0>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-file> =
</var/log/kannel/wapbox.log>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <bearerbox-host> = <127.0.0.1>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <wapbox>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <access-log> =
</var/log/kannel/wapbox-access.log>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (core):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <wapbox-port> = <13002>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-level> = <0>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-file> =
</var/log/bearerbox.log>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <box-allow-ip> = <127.0.0.1>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <admin-password> = <s01a1emes>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <box-deny-ip> = <127.0.0.1>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <core>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <admin-port> = <13000>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (ppg):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <concurrent-pushes> = <100>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <trusted-pi> = <false>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <ppg-allow-ip> = <*.*.*.*>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <ppg>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <users> = <1024>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <ppg-port> = <13080>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <ppg-url> = </wappush>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (modems):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <speed> = <921600>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <name> = <Samba 75>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <modems>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <detect-string> = <SIEMENS>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <id> = <samba_75>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <reset-string> = <ATZ>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <init-string> =
<AT+CMEE=2;+CNMI=2,1,0,1,1>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (wap-push-user):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <wap-push-user> = <solaiemes>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <allow-ip> = <*.*.*.*>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <wap-push-user>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <ppg-username> = <solaiemes>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <ppg-password> = <s01a1emes>

2007-09-07 11:53:43 [16882] [0] DEBUG:   dumping group (smsc):

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-level> = <0>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <log-file> =
</var/log/kannel/gsm-smsc.log>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <speed> = <921600>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <group> = <smsc>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <smsc-id> = <gsm-smsc>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <smsc> = <at>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <pin> = <1111>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <modemtype> = <samba_75>

2007-09-07 11:53:43 [16882] [0] DEBUG:     <device> = </dev/ttyACM0>

2007-09-07 11:53:43 [16882] [0] DEBUG: Dump ends.

2007-09-07 11:53:43 [16882] [0] DEBUG: map_url_max = -1

2007-09-07 11:53:43 [16882] [0] INFO: Added logfile
`/var/log/kannel/wapbox.log' with level `0'.

2007-09-07 11:53:43 [16882] [0] INFO: Starting to log to file
/var/log/kannel/wapbox.log level 0

2007-09-07 11:53:43 [16882] [0] DEBUG: no syslog parameter

2007-09-07 11:53:43 [16882] [0] INFO: Logging accesses to
'/var/log/kannel/wapbox-access.log'.

2007-09-07 11:53:43 [16882] [0] INFO: Started access logfile
`/var/log/kannel/wapbox-access.log'.

2007-09-07 11:53:43 [16882] [0] INFO:
------------------------------------------------------------

2007-09-07 11:53:43 [16882] [0] INFO: Kannel wapbox version 1.4.1 starting
up.

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 1
(wap/wsp_session.c:main_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 2
(wap/wsp_unit.c:main_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 3
(wap/wsp_push_client.c:main_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 4
(wap/timers.c:watch_timers)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 5
(wap/wtp_init.c:main_thread)

2007-09-07 11:53:43 [16882] [3] DEBUG: Thread 3
(wap/wsp_push_client.c:main_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [4] DEBUG: Thread 4 (wap/timers.c:watch_timers)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [5] DEBUG: Thread 5 (wap/wtp_init.c:main_thread)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [6] DEBUG: Thread 6 (wap/wtp_resp.c:main_thread)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [2] DEBUG: Thread 2 (wap/wsp_unit.c:main_thread)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 6
(wap/wtp_resp.c:main_thread)

2007-09-07 11:53:43 [16882] [1] DEBUG: Thread 1
(wap/wsp_session.c:main_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 7
(gw/wap-appl.c:main_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 8
(gw/wap-appl.c:return_replies_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 9
(gw/wap_push_ota.c:main_thread)

2007-09-07 11:53:43 [16882] [0] INFO: HTTP: Opening server at port 13080.

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 10
(gwlib/fdset.c:poller)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 11
(gwlib/http.c:server_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 12
(gw/wap_push_ppg.c:ota_read_thread)

2007-09-07 11:53:43 [16882] [7] DEBUG: Thread 7 (gw/wap-appl.c:main_thread)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [8] DEBUG: Thread 8
(gw/wap-appl.c:return_replies_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [9] DEBUG: Thread 9
(gw/wap_push_ota.c:main_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [10] DEBUG: Thread 10 (gwlib/fdset.c:poller)
maps to pid 16882.

2007-09-07 11:53:43 [16882] [11] DEBUG: Thread 11
(gwlib/http.c:server_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 13
(gw/wap_push_ppg.c:http_read_thread)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 14
(gw/wap_push_ppg.c:pap_request_thread)

2007-09-07 11:53:43 [16873] [7] INFO: Client connected from <127.0.0.1>

2007-09-07 11:53:43 [16873] [7] DEBUG: Started thread 9
(gw/bb_boxc.c:function)

2007-09-07 11:53:43 [16873] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps
to pid 16873.

2007-09-07 11:53:43 [16873] [9] DEBUG: setting up systems for new wapbox

2007-09-07 11:53:43 [16882] [0] INFO: Connected to bearerbox at 127.0.0.1
port 13002.

2007-09-07 11:53:43 [16873] [9] DEBUG: Started thread 10
(gw/bb_boxc.c:boxc_sender)

2007-09-07 11:53:43 [16882] [0] DEBUG: Started thread 15
(gw/heartbeat.c:heartbeat_thread)

2007-09-07 11:53:43 [16873] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender)
maps to pid 16873.

2007-09-07 11:53:43 [16882] [15] DEBUG: Thread 15
(gw/heartbeat.c:heartbeat_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [13] DEBUG: Thread 13
(gw/wap_push_ppg.c:http_read_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [12] DEBUG: Thread 12
(gw/wap_push_ppg.c:ota_read_thread) maps to pid 16882.

2007-09-07 11:53:43 [16882] [14] DEBUG: Thread 14
(gw/wap_push_ppg.c:pap_request_thread) maps to pid 16882.

 

avisg:~#

avisg:~#

avisg:~#

avisg:~# cat /var/log/kannel/gsm-smsc.log

2007-09-07 11:53:38 [16873] [4] INFO: AT2[gsm-smsc]: opening device

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: device opened

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: device opened

2007-09-07 11:53:38 [16873] [4] INFO: AT2[gsm-smsc]: init device

2007-09-07 11:53:38 [16873] [4] INFO: AT2[gsm-smsc]: speed set to 921600

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: --> ATZ^M

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT^M

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- AT

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT&F^M

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- AT&F

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:38 [16873] [4] DEBUG: AT2[gsm-smsc]: --> ATE0^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- ATE0

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT+IFC=2,2^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT+CPIN?^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- +CPIN: READY

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT+CMGF=0^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT+CSMS=?^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- +CSMS: (0,1)

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] INFO: AT2[gsm-smsc]: Phase 2+ is supported

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: --> AT+CSMS=1^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- +CSMS: 1,1,1

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: -->
AT+CMEE=2;+CNMI=2,1,0,1,1^M

2007-09-07 11:53:39 [16873] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:53:39 [16873] [4] INFO: AT2[gsm-smsc]: AT SMSC successfully
opened.

avisg:~#

 

 

======= WAP PUSH =============

 

2007-09-07 11:40:16 [16810] [11] DEBUG: HTTP: Creating HTTPClient for
`192.168.0.10'.

2007-09-07 11:40:16 [16810] [11] DEBUG: HTTP: Created HTTPClient area
0x81a6390.

2007-09-07 11:40:16 [16810] [14] WARNING: Your ppg core configuration allow
all ips

2007-09-07 11:40:16 [16810] [14] DEBUG: we have an username and a password
in authorization header

2007-09-07 11:40:16 [16810] [14] INFO: PPG: Accept request </wappush> from
<192.168.0.10>

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: http_read_thread: pap multipart
accepted

2007-09-07 11:40:16 [16810] [14] INFO: client address was <+34696540369>,
accepted

2007-09-07 11:40:16 [16810] [14] DEBUG: PAP COMPILER: doing semantic
analysis for address type a phone number

2007-09-07 11:40:16 [16810] [14] DEBUG: using defaults instead of anys

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: http_read_thread: pap control
entity compiled ok

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: transform_message: push message
content and headers valid

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: push machine 1 created

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: store_push_data: push machine 1
appended to unit push list

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: send_push_response: telling pi

2007-09-07 11:40:16 [16810] [14] DEBUG: HTTP: Resetting HTTPClient for
`192.168.0.10'.

2007-09-07 11:40:16 [16810] [14] INFO: PPG: handle_push_message: push
message accepted for processing

2007-09-07 11:40:16 [16810] [9] DEBUG: OTA: event arrived

2007-09-07 11:40:16 [16810] [9] DEBUG: OTA: made connectionless session
service request

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP (UNIT): event arrived

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP_UNIT: Connectionless push
accepted

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping
`application/vnd.wap.sic', WSP 1.2 to 0x002e.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Authorization', WSP 1.3
to 0x0007.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Cache-Control', WSP 1.3
to 0x003d.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Pragma', WSP 1.3 to
0x001f.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `User-Agent', WSP 1.3 to
0x0029.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Accept', WSP 1.3 to
0x0000.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `text/html', WSP 1.2 to
0x0002.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `image/gif', WSP 1.2 to
0x001d.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `image/jpeg', WSP 1.2 to
0x001e.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `*', WSP 1.2 to
0xffffffff.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `q', WSP 1.2 to 0x0000.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `*/*', WSP 1.2 to
0x0000.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `q', WSP 1.2 to 0x0000.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Content-Length', WSP
1.3 to 0x000d.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Content-Type', WSP 1.3
to 0x0011.

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP: Mapping `Encoding-Version', WSP
1.3 to 0x0043.

2007-09-07 11:40:16 [16810] [2] DEBUG: WDP (wapbox): delivering 2 segments
to bearerbox

2007-09-07 11:40:16 [16810] [2] DEBUG: WSP (UNIT): delivering to wdp

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: OTA request for unit push

2007-09-07 11:40:16 [16810] [14] INFO: PPG: unconfirmed push delivered to
OTA

2007-09-07 11:40:16 [16810] [14] DEBUG: PPG: destroying push machine 1

2007-09-07 11:40:16 [16786] [9] DEBUG: boxc_receiver: got sms from wapbox

2007-09-07 11:40:16 [16786] [9] DEBUG: send_msg: sending msg to box:
<127.0.0.1>

2007-09-07 11:40:16 [16810] [0] WARNING: Received other message than
wdp/admin, ignoring!

2007-09-07 11:40:16 [16786] [9] DEBUG: boxc_receiver: got sms from wapbox

2007-09-07 11:40:16 [16786] [9] DEBUG: send_msg: sending msg to box:
<127.0.0.1>

2007-09-07 11:40:16 [16810] [0] WARNING: Received other message than
wdp/admin, ignoring!

2007-09-07 11:40:16 [16810] [10] DEBUG: HTTP: Destroying HTTPClient area
0x81a6390.

2007-09-07 11:40:16 [16810] [10] DEBUG: HTTP: Destroying HTTPClient for
`192.168.0.10'.

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: TP-Validity-Period:
24.0 hours

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: --> AT+CMGS=60^M

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: -->
0051000B914396560463F90004A72E0B05040B8423F0000301020273742066726F6D204A6176
61207468726F7567682053414D424120534D5343000101

2007-09-07 11:40:17 [16786] [4] DEBUG: AT2[gsm-smsc]: --> ^Z

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- +CMGS: 25

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- OK

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 0

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: TP-Validity-Period:
24.0 hours

2007-09-07 11:40:19 [16786] [4] DEBUG: AT2[gsm-smsc]: --> AT+CMGS=154^M

2007-09-07 11:40:20 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:20 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:20 [16786] [4] DEBUG: AT2[gsm-smsc]: -->
0051000B914396560463F90004A78C0B05040B8423F00003010201010641AE871580736F6C61
69656D6573007330316131656D657300BD809F80A94A6176612F312E362E30008082809D809E
80062A00802E3200800580802E32008DDEC39302056A0045C611037468655F73616D655F616C
6C5F7468655F74696D65000D03736F6C6169656D65732E636F6D000801035741502D50555348
207465

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: --> ^Z

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:22 [16786] [4] ERROR: AT2[gsm-smsc]: CMS ERROR: +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: --> AT+CMGS=154^M

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:22 [16786] [4] DEBUG: AT2[gsm-smsc]: -->
0051000B914396560463F90004A78C0B05040B8423F00003010201010641AE871580736F6C61
69656D6573007330316131656D657300BD809F80A94A6176612F312E362E30008082809D809E
80062A00802E3200800580802E32008DDEC39302056A0045C611037468655F73616D655F616C
6C5F7468655F74696D65000D03736F6C6169656D65732E636F6D000801035741502D50555348
207465

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: --> ^Z

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:24 [16786] [4] ERROR: AT2[gsm-smsc]: CMS ERROR: +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: --> AT+CMGS=154^M

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

2007-09-07 11:40:24 [16786] [4] DEBUG: AT2[gsm-smsc]: -->
0051000B914396560463F90004A78C0B05040B8423F00003010201010641AE871580736F6C61
69656D6573007330316131656D657300BD809F80A94A6176612F312E362E30008082809D809E
80062A00802E3200800580802E32008DDEC39302056A0045C611037468655F73616D655F616C
6C5F7468655F74696D65000D03736F6C6169656D65732E636F6D000801035741502D50555348
207465

2007-09-07 11:40:27 [16786] [4] DEBUG: AT2[gsm-smsc]: --> ^Z

2007-09-07 11:40:27 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- >

2007-09-07 11:40:27 [16786] [4] DEBUG: AT2[gsm-smsc]: <-- +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:27 [16786] [4] ERROR: AT2[gsm-smsc]: CMS ERROR: +CMS ERROR:
incorrect PDU length

2007-09-07 11:40:27 [16786] [4] DEBUG: AT2[gsm-smsc]: send command status: 1

 

 

======== Configuration ========

 

 

group = core

admin-port = 13000

#smsbox-port = 13001

wapbox-port = 13002

box-deny-ip = 127.0.0.1

box-allow-ip = "127.0.0.1"

admin-password = bar

log-file = "/var/log/bearerbox.log"

log-level = 0

 

group = wapbox

bearerbox-host = 127.0.0.1

log-file = /var/log/kannel/wapbox.log

log-level = 0

access-log = /var/log/kannel/wapbox-access.log

 

group = ppg

ppg-url = /wappush

ppg-port = 13080

concurrent-pushes = 100

users = 1024

ppg-allow-ip = *.*.*.*

trusted-pi = false

 

group = wap-push-user

wap-push-user = solaiemes

ppg-username = foo

ppg-password = bar

allow-ip = *.*.*.*

 

group = smsc

smsc = at

smsc-id = gsm-smsc

device = /dev/ttyACM0

modemtype = samba_75

speed = 921600

pin = 1111

log-file = "/var/log/kannel/gsm-smsc.log"

log-level = 0

 

group = modems

id = samba_75

name = "Samba 75"

detect-string = SIEMENS

speed = 921600

#no-smsc = true

init-string = AT+CNMI=2,1,0,1,1

reset-string = ATZ



Reply via email to