Hi

I'm trying to send a MMS notification to my Sony Ericsson P800 using the Kannel 
gateway software 1.3.1 and an ericsson R520M as a "SMSC".
I use the program test_ppg to send the notification:

        test_ppg -a mms -c mms 
http://localhost:8280/wappush?username=mario'&'password=goorden m-notification-ind.txt 
pap.txt 

Instead of receiving an MMS indication I get 3 seperate SMS messages on my phone (Sony 
Ericsson P800).
Is there a bug in the software or is this a phone compatibility issue ?

I tried to decompile the first SMS message send. Is the interpretation correct and can 
you help me with the PDU header ?

00     = SMSC stored in phone should be used
51     = rp=0, reply path is not set
         udhi=1, The beginning of the UD field contains a header in... 
         srr=0, a status report is not requested
         vpf=10, vp field present an integer represented 
         rd=0, instruct the SMSC to accept an SMS-SUBMIT ...
         mti=01, sms submit ms to smsc
00       mr=00, message reference
0B     = Length of desintation address DA = 11 
91     = International number (81 = national number)
13     = 31 62 46 29 63 6 (phonenumber BCD)
26
64
92
36
F6
00     = Protocol Identifier
04     = DCS, Data Coding Scheme, 04 = 8bit data coding 
A7     = 167 -> 12 + (167 -143) * 30 minutes = 19h
8C     = Length of data to follow = 140
0B     = 11 is length of user data header
05     = IEI = Application port adressing scheme, 16 bit address
04     = Length of data belonging to above
0B84   = Destination port
23F0   = Orriginator port
00     = IEI = Concatenated short message
03     = Length of data belonging to above
00     = reference number
03     = maximum number of concatenated messages
01     = sequence number

WSP (PDU)
00     = Transaction Id 
06     = PDU type = 6 = push
3E     = HeadersLen = 62
BE     = Content-Type = 0x3E = application/vnd.wap.mms-message
96     = MMS Field 0x16 = Subject
6C6F63616C686F73743A3832383000          = localhost:8080
582D4D6D732D4D6573736167652D5479706500  = X-Mms-Message-Type
6D2D6E6F74696669636174696F6E2D696E6400  = m-notification-ind
AF84   = X-Wap-Application-Id 0x04
8D01   = MMS version = 1.0

FAB480 = ??????????? (What does this mean)

+ end of PDU header

582D4D6D732D5472616E73616374696F6E2D49643A203132350D0A
582D4D6D732D56657273696F6E3A20312E300D0A
582D4D6D732D4D6573736167652D436C



Best regards,
Mario Goorden


m-notification-ind.txt contains:
X-Mms-Message-Type: m-notification-ind
X-Mms-Transaction-Id: 125
X-Mms-Version: 1.0
X-Mms-Message-Class: Personal
X-Mms-Message-Size: 4910
X-Mms-Expiry: 256; type=relative
X-Mms-Content-Location: http://195.169.102.68/mmstest/m1.mms
X-WAP-Application-Id: x-wap-application:mms.ua

pap.txt contains
<?xml version="1.0"?>
<!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN" 
"http://www.wapforum.org/DTD/pap_1.0.dtd";>
<pap>
<push-message push-id="[EMAIL PROTECTED]" progress-notes-requested="false">
<address address-value="WAPPUSH=+31653549738/[EMAIL PROTECTED]"/>
</push-message>
</pap>

The following data is logged in my kannel.log file (it sends 3 SMS messages)

2004-01-08 06:26:52 [0] INFO: Added logfile `/var/log/kannel.log' with level `0'.
2004-01-08 06:26:52 [0] INFO: Started access logfile `/var/log/access.log'.
2004-01-08 06:26:52 [0] DEBUG: HTTP: Opening server at port 13000.
2004-01-08 06:26:52 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2004-01-08 06:26:52 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2004-01-08 06:26:52 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2004-01-08 06:26:52 [0] DEBUG: starting smsbox connection module
2004-01-08 06:26:52 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2004-01-08 06:26:52 [0] INFO: AT2[/dev/ttyS0]: configuration shows modemtype <ericsson>
2004-01-08 06:26:52 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem definitions from 
<kannel.conf>
2004-01-08 06:26:52 [0] DEBUG: AT2[/dev/ttyS0]: Found <2> modems in config
2004-01-08 06:26:52 [0] INFO: AT2[/dev/ttyS0]: read modem definition for <ericsson>
2004-01-08 06:26:52 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread)
2004-01-08 06:26:52 [5] INFO: AT2[/dev/ttyS0]: opening device
2004-01-08 06:26:52 [5] DEBUG: AT2[/dev/ttyS0]: device opened
2004-01-08 06:26:52 [5] DEBUG: AT2[/dev/ttyS0]: device opened
2004-01-08 06:26:52 [5] INFO: AT2[/dev/ttyS0]: init device
2004-01-08 06:26:52 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600
2004-01-08 06:26:52 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M
2004-01-08 06:26:52 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2004-01-08 06:26:52 [0] DEBUG: starting wapbox connection module
2004-01-08 06:26:52 [0] DEBUG: Started thread 7 (gw/bb_boxc.c:wdp_to_wapboxes)
2004-01-08 06:26:52 [6] DEBUG: sms_router: time to sleep
2004-01-08 06:26:52 [0] DEBUG: Started thread 8 (gw/bb_boxc.c:wapboxc_run)
2004-01-08 06:26:52 [0] DEBUG: starting WDP router
2004-01-08 06:26:52 [0] DEBUG: Started thread 9 (gw/bearerbox.c:wdp_router)
2004-01-08 06:26:52 [0] INFO: ----------------------------------------
2004-01-08 06:26:52 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2004-01-08 06:26:52 [0] INFO: MAIN: Start-up done, entering mainloop
2004-01-08 06:26:52 [0] DEBUG: AT2[/dev/ttyS0]: start called
2004-01-08 06:26:52 [6] DEBUG: sms_router: list_len = 0
2004-01-08 06:26:52 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT
2004-01-08 06:26:52 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- AT&F
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- ATE0
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+IFC=2,2^M
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CPIN?^M
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CPIN: READY
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:53 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGF=0^M
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CSMS=?^M
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CSMS: (0)
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CNMI=3,3,0,0,0^M
2004-01-08 06:26:54 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:26:54 [5] INFO: AT2[/dev/ttyS0]: AT SMSC successfully opened.
2004-01-08 06:26:59 [8] DEBUG: Started thread 10 (gw/bb_boxc.c:function)
2004-01-08 06:26:59 [10] INFO: Client connected from <127.0.0.1>
2004-01-08 06:26:59 [10] DEBUG: setting up systems for new wapbox
2004-01-08 06:26:59 [10] DEBUG: Started thread 11 (gw/bb_boxc.c:boxc_sender)
2004-01-08 06:27:10 [10] DEBUG: boxc_receiver: got sms from wapbox
2004-01-08 06:27:10 [10] DEBUG: boxc_receiver: got sms from wapbox
2004-01-08 06:27:10 [10] DEBUG: boxc_receiver: got sms from wapbox
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=154^M
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: <-- >
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: --> 
0051000B911356539437F80004A78C0B05040B8423F0000300030100063EBE966C6F63616C686F73743A3832383000582D4D6D732D4D6573736167652D54797065006D2D6E6F74696669636174696F6E2D696E6400AF848D01F8B480582D4D6D732D5472616E73616374696F6E2D49643A203132350D0A582D4D6D732D56657273696F6E3A20312E300D0A582D4D6D732D4D6573736167652D436C
2004-01-08 06:27:12 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: <-- >  
0051000B911356539437F80004A78C0B05040B8423F0000300030100063EBE966C6F63616C686F73743A3832383000582D4D6D732D4D6573736167652D54797065006D2D6E6F74696669636174696F6E2D696E6400AF848D01F8B480582D4D6D732D5472616E73616374696F6E2D49643A203132350D0A582D4D6D732D56657273696F6E3A20312E300D0A582D4D6D732D4D6573736167652D436C
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS: 165
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 0
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
2004-01-08 06:27:17 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=154^M
2004-01-08 06:27:18 [5] DEBUG: AT2[/dev/ttyS0]: <-- >
2004-01-08 06:27:18 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2004-01-08 06:27:18 [5] DEBUG: AT2[/dev/ttyS0]: --> 
0051000B911356539437F80004A78C0B05040B8423F000030003026173733A20506572736F6E616C0D0A582D4D6D732D4D6573736167652D53697A653A20343931300D0A582D4D6D732D4578706972793A203235363B20747970653D72656C61746976650D0A582D4D6D732D436F6E74656E742D4C6F636174696F6E3A20687474703A2F2F3139352E3136392E3130322E36382F6D6D7374657374
2004-01-08 06:27:18 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: <-- >  
0051000B911356539437F80004A78C0B05040B8423F000030003026173733A20506572736F6E616C0D0A582D4D6D732D4D6573736167652D53697A653A20343931300D0A582D4D6D732D4578706972793A203235363B20747970653D72656C61746976650D0A582D4D6D732D436F6E74656E742D4C6F636174696F6E3A20687474703A2F2F3139352E3136392E3130322E36382F6D6D7374657374
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS: 166
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 0
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours
2004-01-08 06:27:23 [5] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=83^M
2004-01-08 06:27:24 [5] DEBUG: AT2[/dev/ttyS0]: <-- >
2004-01-08 06:27:24 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 1
2004-01-08 06:27:24 [5] DEBUG: AT2[/dev/ttyS0]: --> 
0051000B911356539437F80004A7450B05040B8423F000030003032F6D312E6D6D730D0A582D5741502D4170706C69636174696F6E2D49643A20782D7761702D6170706C69636174696F6E3A6D6D732E75610D0A
2004-01-08 06:27:24 [5] DEBUG: AT2[/dev/ttyS0]: --> ^Z
2004-01-08 06:27:28 [5] DEBUG: AT2[/dev/ttyS0]: <-- >  
0051000B911356539437F80004A7450B05040B8423F000030003032F6D312E6D6D730D0A582D5741502D4170706C69636174696F6E2D49643A20782D7761702D6170706C69636174696F6E3A6D6D732E75610D0A
2004-01-08 06:27:28 [5] DEBUG: AT2[/dev/ttyS0]: <-- +CMGS: 167
2004-01-08 06:27:28 [5] DEBUG: AT2[/dev/ttyS0]: <-- OK
2004-01-08 06:27:28 [5] DEBUG: AT2[/dev/ttyS0]: send command status: 0

Reply via email to