i attempt to make wap push, smsbox it seems ok but on bearerbox it looks
error with error messages invalid pdu mode parameter. anyone can help me?
here from bearerbox log :

2007-11-20 04:13:42 [5483] [0] INFO: Added logfile `/tmp/bearerbox.log' with
level `0'.
2007-11-20 04:13:42 [5483] [0] INFO: Started access logfile
`/tmp/access.log'.
2007-11-20 04:13:42 [5483] [0] INFO: SSL not supported, no SSL
initialization done.
2007-11-20 04:13:42 [5483] [0] INFO: HTTP: Opening server at port 13000.
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2007-11-20 04:13:42 [5483] [0] DEBUG: starting smsbox connection module
2007-11-20 04:13:42 [5483] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2007-11-20 04:13:42 [5483] [0] INFO: Set SMS resend frequency to 60 seconds.
2007-11-20 04:13:42 [5483] [0] INFO: SMS resend retry set to unlimited.
2007-11-20 04:13:42 [5483] [0] INFO: DLR rerouting for smsc id <l7>
disabled.
2007-11-20 04:13:42 [5483] [0] INFO: AT2[l7]: configuration shows modemtype
<Motorola>
2007-11-20 04:13:42 [5483] [0] DEBUG: AT2[l7]: Reading modem definitions
from <smskannel.conf>
2007-11-20 04:13:42 [5483] [0] DEBUG: AT2[l7]: Found <1> modems in config
2007-11-20 04:13:42 [5483] [0] INFO: AT2[l7]: read modem definition for
<Motorola>
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2007-11-20 04:13:42 [5483] [0] DEBUG: starting UDP sender/receiver module
2007-11-20 04:13:42 [5483] [0] INFO: Adding interface *
2007-11-20 04:13:42 [5483] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)
2007-11-20 04:13:42 [5483] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2007-11-20 04:13:42 [5483] [0] DEBUG: starting wapbox connection module
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 12
(gw/bb_boxc.c:wdp_to_wapboxes)
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 13
(gw/bb_boxc.c:wapboxc_run)
2007-11-20 04:13:42 [5483] [0] DEBUG: starting WDP router
2007-11-20 04:13:42 [5483] [0] DEBUG: Started thread 14
(gw/bearerbox.c:wdp_router)
2007-11-20 04:13:42 [5483] [0] INFO:
----------------------------------------
2007-11-20 04:13:42 [5483] [0] INFO: Kannel bearerbox II version  starting
2007-11-20 04:13:42 [5483] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 5483.
2007-11-20 04:13:42 [5483] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 5483.
2007-11-20 04:13:42 [5483] [0] INFO: MAIN: Start-up done, entering mainloop
2007-11-20 04:13:42 [5483] [0] DEBUG: AT2[l7]: start called
2007-11-20 04:13:42 [5483] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 5483.
2007-11-20 04:13:42 [5483] [6] INFO: AT2[l7]: opening device
2007-11-20 04:13:42 [5483] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2007-11-20 04:13:42 [5483] [7] DEBUG: sms_router: gwlist_len = 0
2007-11-20 04:13:42 [5483] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps
to pid 5483.
2007-11-20 04:13:42 [5483] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [12] DEBUG: Thread 12
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 5483.
2007-11-20 04:13:42 [5483] [13] DEBUG: Thread 13 (gw/bb_boxc.c:wapboxc_run)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [14] DEBUG: Thread 14 (gw/bearerbox.c:wdp_router)
maps to pid 5483.
2007-11-20 04:13:42 [5483] [6] DEBUG: AT2[l7]: device opened
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: device opened
2007-11-20 04:13:43 [5483] [6] INFO: AT2[l7]: init device
2007-11-20 04:13:43 [5483] [6] INFO: AT2[l7]: speed set to 115200
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> ATZ^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- ATZ
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- AT
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT&F^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- AT&F
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> ATE0^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- ATE0
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT+IFC=2,2^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT+CPIN?^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- +CPIN: READY
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT+CSCA="+62855000000"^M
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:43 [5483] [6] DEBUG: AT2[l7]: --> AT+CMGF=0^M
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: --> AT+CSMS=?^M
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: <-- +CSMS: (128)
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: --> AT+CMGF=0; +CMEE=2^M
2007-11-20 04:13:44 [5483] [6] DEBUG: AT2[l7]: <-- OK
2007-11-20 04:13:44 [5483] [6] INFO: AT2[l7]: AT SMSC successfully opened.
2007-11-20 04:14:04 [5483] [5] INFO: Client connected from <127.0.0.1> 
2007-11-20 04:14:04 [5483] [5] DEBUG: Started thread 15
(gw/bb_boxc.c:function)
2007-11-20 04:14:04 [5483] [15] DEBUG: Thread 15 (gw/bb_boxc.c:function)
maps to pid 5483.
2007-11-20 04:14:04 [5483] [15] DEBUG: Started thread 16
(gw/bb_boxc.c:boxc_sender)
2007-11-20 04:14:04 [5483] [16] DEBUG: Thread 16 (gw/bb_boxc.c:boxc_sender)
maps to pid 5483.
2007-11-20 04:14:04 [5483] [15] DEBUG: boxc_receiver: got boxc_id <smsbox1>
from <127.0.0.1>
2007-11-20 04:15:01 [5483] [15] DEBUG: boxc_receiver: sms received
2007-11-20 04:15:01 [5483] [15] DEBUG: send_msg: sending msg to boxc:
<smsbox1>
2007-11-20 04:15:02 [5483] [6] DEBUG: AT2[l7]: TP-Validity-Period: 24.0
hours
2007-11-20 04:15:02 [5483] [6] DEBUG: AT2[l7]: --> AT+CMGS=69^M
2007-11-20 04:15:02 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:02 [5483] [6] DEBUG: AT2[l7]: send command status: 1
2007-11-20 04:15:02 [5483] [6] DEBUG: AT2[l7]: -->
0051000C818065344833530004A73705040B8423F001060403AE81EA02056A0045C60C03416C6F777720436861742100037777772E63686174326B6F6E636F2E636F6D000101
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: --> ^Z
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: <-- +CMS ERROR: invalid PDU
mode parameter
2007-11-20 04:15:04 [5483] [6] ERROR: AT2[l7]: CMS ERROR: +CMS ERROR:
invalid PDU mode parameter
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: send command status: 1
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: --> AT+CMGS=69^M
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: send command status: 1
2007-11-20 04:15:04 [5483] [6] DEBUG: AT2[l7]: -->
0051000C818065344833530004A73705040B8423F001060403AE81EA02056A0045C60C03416C6F777720436861742100037777772E63686174326B6F6E636F2E636F6D000101
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: --> ^Z
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: <-- +CMS ERROR: invalid PDU
mode parameter
2007-11-20 04:15:06 [5483] [6] ERROR: AT2[l7]: CMS ERROR: +CMS ERROR:
invalid PDU mode parameter
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: send command status: 1
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: --> AT+CMGS=69^M
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: send command status: 1
2007-11-20 04:15:06 [5483] [6] DEBUG: AT2[l7]: -->
0051000C818065344833530004A73705040B8423F001060403AE81EA02056A0045C60C03416C6F777720436861742100037777772E63686174326B6F6E636F2E636F6D000101
2007-11-20 04:15:08 [5483] [6] DEBUG: AT2[l7]: --> ^Z
2007-11-20 04:15:08 [5483] [6] DEBUG: AT2[l7]: <-- >
2007-11-20 04:15:08 [5483] [6] DEBUG: AT2[l7]: <-- +CMS ERROR: invalid PDU
mode parameter
2007-11-20 04:15:08 [5483] [6] ERROR: AT2[l7]: CMS ERROR: +CMS ERROR:
invalid PDU mode parameter
2007-11-20 04:15:08 [5483] [6] DEBUG: AT2[l7]: send command status: 1

here from access log :

2007-11-20 04:13:42 Log begins
2007-11-20 04:14:04 Log begins
2007-11-20 04:15:01 send-SMS request added - sender:foo:123 127.0.0.1
target:085643843335 request: '<< UDH >>'
2007-11-20 04:15:08 FAILED Send SMS [SMSC:l7] [SVC:foo] [ACT:] [BINF:]
[from:123] [to:085643843335] [flags:-1:1:-1:-1:-1]
[msg:49:01060403AE81EA02056A0045C60C03416C6F777720436861742100037777772E63686174326B6F6E636F2E636F6D000101]
[udh:6:05040B8423F0]

-- 
View this message in context: 
http://www.nabble.com/wap-push-tf4855221.html#a13893421
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to