Re: more m-notification-ind
What are your http headers ? And our udh ? Aarno On Wednesday, December 4, 2002, at 05:16 PM, Matias Lahti wrote: Hello! I'm trying to send a m-notification-ind, which has been the source of plenty of headaches for plenty of people too.. Hopefully Alex releases the FAQ soon :) Anyway - this is what I'm sending, without getting any reply from my nokia 7650: 01 transaction id 06 pushtype 20 headerlen 6170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500 a p p l i c a t i o n / v n d . w a p . m m s - m e s s a g e 8C 82 m-notification 98 41 00 transid: A 8D 90 mmsver 1.0 89 16 from, length 22 802B3132333435363738392F545950453D504C4D4E00 + 1 2 3 4 5 6 7 8 9 / T Y P E = P L M N 96 subject 7465737400 t e s t 8A 80 msgclass personal 8E 02 0B 05 msgsize 2 bytes, 0b 05 = 2821 88 05 81 03 01 51 80 expiry, relative 86400 83 location 687474703A2F2F772F74657374692E6D6D7300 h t t p : / / w w w / t e s t i . m m s Any ideas what might be wrong? - Matias Lahti
Re: MMS m-notification-ind and test_ppg
On Tuesday, December 3, 2002, at 07:07 PM, Alex Judd wrote: Yep agreed. We can either force all carriage returns to use the CRLF standard on parsing of the page (recommended route) or have a system/carriage return character switch on the command line. I would go for standard confirming There's a few other minor modifications I'd like to make to test_ppg etc. so I'd be happy to implement the changes necessary. BTW does the content look right? Yes, all mandatory headers were there. Aarno Alex - Original Message - From: Aarno Syvänen [EMAIL PROTECTED] To: Alex Judd [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 3:41 PM Subject: Re: MMS m-notification-ind and test_ppg This indeed causes problems, though CRLF line break is one defined by MIME standard. Perhaps command line option for line break would be usefull - i mean one translating input break to standard ones. Aarno On Friday, November 29, 2002, at 05:13 PM, Alex Judd wrote: I was using binary as wappush returns a syntax error if I wasn't encoding the data. test_ppg seems to use windows (oa,od) carriage returns for it's joined lines, whereas my system is using xnix(oa) carriage returns. Don't know if this would cause the problem I enclosed the dumps below. 2002-11-29 17:11:42 [1] DEBUG: data: 3c 62 61 64 6d 65 73 73 badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 20 63 6f 64 onse cod 2002-11-29 17:11:42 [1] DEBUG: data: 65 3d 22 32 30 30 30 22 e=2000 2002-11-29 17:11:42 [1] DEBUG: data: 20 64 65 73 63 3d 22 4e desc=N 2002-11-29 17:11:42 [1] DEBUG: data: 6f 74 20 75 6e 64 65 72 ot under 2002-11-29 17:11:42 [1] DEBUG: data: 73 74 6f 6f 64 20 64 75 stood du 2002-11-29 17:11:42 [1] DEBUG: data: 65 20 74 6f 20 6d 61 6c e to mal 2002-11-29 17:11:42 [1] DEBUG: data: 66 6f 72 6d 65 64 20 73 formed s 2002-11-29 17:11:42 [1] DEBUG: data: 79 6e 74 61 78 22 3e 3c yntax 2002-11-29 17:11:42 [1] DEBUG: data: 2f 62 61 64 6d 65 73 73 /badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 3e 3c 2f 70 onse/p 2002-11-29 17:11:42 [1] DEBUG: data: 61 70 3e ap From debugging the message the total wappush is POST /wappush?username=password= HTTP/1.1 (0a,0d)Host: localhost:8080 (0a,0d)Content-Type:multipart/related; boundary=asdlfkjiurwghasf; type=application/xml (0a,0d)X-WAP-Application-Id: mms.ua (0a,0d)Content-Length: 779 (0a,0d) (0a,0d) (0a,0d)--asdlfkjiurwghasf (0a,0d)Content-Type: application/xml (0a,0d)?xml version=1.0? (0a)!DOCTYPEpap PUBLIC -//WAPFORUM//DTD PAP//EN http://www.wapforum.org/DTD/pap_1.0.dtd; (0a)pap (0a) push-message push-id=[EMAIL PROTECTED] progress-notes-requested=false (0a) address address-value=[EMAIL PROTECTED] (0a) /address (0a) /push-message (0a)/pap (0a,0d) (0a)--asdlfkjiurwghasf (0a,0d)Content-Type: application/vnd.wap.mms-message (0a,0d)Content-Type:application/vnd.wap.mms-message (0a)X-Mms-Message-Type:m-notification-ind (0a)X-Mms-Transaction-Id:125 (0a)X-Mms-Version:1.0 (0a)X-Mms-Message-Class:Personal (0a)X-Mms-Message-Size:4910 (0a)X-Mms-Expiry:256;type=relative (0a)X-Mms-Content-Location:http://212.118.244.25/mmstest/m4.mms (0a)X-WAP-Application-Id:x-wap-application:mms.ua\ (0a,0d) (0a)--asdlfkjiurwghasf--
more m-notification-ind
Hello! I'm trying to send a m-notification-ind, which has been the source of plenty of headaches for plenty of people too.. Hopefully Alex releases the FAQ soon :) Anyway - this is what I'm sending, without getting any reply from my nokia 7650: 01 transaction id06 pushtype20 headerlen6170706C69636174696F6E2F766E642E7761702E6D6D732D6D65737361676500a p p l i c a t i o n / v n d . w a p . m m s - m e s s a g e 8C 82 m-notification98 41 00 transid: A8D 90 mmsver 1.0 89 16 from, length 22802B3132333435363738392F545950453D504C4D4E00 + 1 2 3 4 5 6 7 8 9 / T Y P E = P L M N 96 subject 7465737400test8A 80 msgclass personal8E 02 0B 05 msgsize 2 bytes, 0b 05 = 282188 05 81 03 01 51 80 expiry, relative 8640083 location687474703A2F2F772F74657374692E6D6D7300h t t p : / / w w w / t e s t i . m m s Any ideas what might be wrong? - Matias Lahti
Re: MMS m-notification-ind and test_ppg
I was using binary as wappush returns a syntax error if I wasn't encoding the data. test_ppg seems to use windows (oa,od) carriage returns for it's joined lines, whereas my system is using xnix(oa) carriage returns. Don't know if this would cause the problem I enclosed the dumps below. 2002-11-29 17:11:42 [1] DEBUG: data: 3c 62 61 64 6d 65 73 73 badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 20 63 6f 64 onse cod 2002-11-29 17:11:42 [1] DEBUG: data: 65 3d 22 32 30 30 30 22 e=2000 2002-11-29 17:11:42 [1] DEBUG: data: 20 64 65 73 63 3d 22 4edesc=N 2002-11-29 17:11:42 [1] DEBUG: data: 6f 74 20 75 6e 64 65 72 ot under 2002-11-29 17:11:42 [1] DEBUG: data: 73 74 6f 6f 64 20 64 75 stood du 2002-11-29 17:11:42 [1] DEBUG: data: 65 20 74 6f 20 6d 61 6c e to mal 2002-11-29 17:11:42 [1] DEBUG: data: 66 6f 72 6d 65 64 20 73 formed s 2002-11-29 17:11:42 [1] DEBUG: data: 79 6e 74 61 78 22 3e 3c yntax 2002-11-29 17:11:42 [1] DEBUG: data: 2f 62 61 64 6d 65 73 73 /badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 3e 3c 2f 70 onse/p 2002-11-29 17:11:42 [1] DEBUG: data: 61 70 3e ap From debugging the message the total wappush is POST /wappush?username=password= HTTP/1.1 (0a,0d)Host: localhost:8080 (0a,0d)Content-Type:multipart/related; boundary=asdlfkjiurwghasf; type=application/xml (0a,0d)X-WAP-Application-Id: mms.ua (0a,0d)Content-Length: 779 (0a,0d) (0a,0d) (0a,0d)--asdlfkjiurwghasf (0a,0d)Content-Type: application/xml (0a,0d)?xml version=1.0? (0a)!DOCTYPEpap PUBLIC -//WAPFORUM//DTD PAP//EN http://www.wapforum.org/DTD/pap_1.0.dtd; (0a)pap (0a) push-message push-id=[EMAIL PROTECTED] progress-notes-requested=false (0a) address address-value=[EMAIL PROTECTED] (0a) /address (0a) /push-message (0a)/pap (0a,0d) (0a)--asdlfkjiurwghasf (0a,0d)Content-Type: application/vnd.wap.mms-message (0a,0d)Content-Type:application/vnd.wap.mms-message (0a)X-Mms-Message-Type:m-notification-ind (0a)X-Mms-Transaction-Id:125 (0a)X-Mms-Version:1.0 (0a)X-Mms-Message-Class:Personal (0a)X-Mms-Message-Size:4910 (0a)X-Mms-Expiry:256;type=relative (0a)X-Mms-Content-Location:http://212.118.244.25/mmstest/m4.mms (0a)X-WAP-Application-Id:x-wap-application:mms.ua\ (0a,0d) (0a)--asdlfkjiurwghasf--
Re: MMS m-notification-ind and test_ppg
This indeed causes problems, though CRLF line break is one defined by MIME standard. Perhaps command line option for line break would be usefull - i mean one translating input break to standard ones. Aarno On Friday, November 29, 2002, at 05:13 PM, Alex Judd wrote: I was using binary as wappush returns a syntax error if I wasn't encoding the data. test_ppg seems to use windows (oa,od) carriage returns for it's joined lines, whereas my system is using xnix(oa) carriage returns. Don't know if this would cause the problem I enclosed the dumps below. 2002-11-29 17:11:42 [1] DEBUG: data: 3c 62 61 64 6d 65 73 73 badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 20 63 6f 64 onse cod 2002-11-29 17:11:42 [1] DEBUG: data: 65 3d 22 32 30 30 30 22 e=2000 2002-11-29 17:11:42 [1] DEBUG: data: 20 64 65 73 63 3d 22 4e desc=N 2002-11-29 17:11:42 [1] DEBUG: data: 6f 74 20 75 6e 64 65 72 ot under 2002-11-29 17:11:42 [1] DEBUG: data: 73 74 6f 6f 64 20 64 75 stood du 2002-11-29 17:11:42 [1] DEBUG: data: 65 20 74 6f 20 6d 61 6c e to mal 2002-11-29 17:11:42 [1] DEBUG: data: 66 6f 72 6d 65 64 20 73 formed s 2002-11-29 17:11:42 [1] DEBUG: data: 79 6e 74 61 78 22 3e 3c yntax 2002-11-29 17:11:42 [1] DEBUG: data: 2f 62 61 64 6d 65 73 73 /badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 3e 3c 2f 70 onse/p 2002-11-29 17:11:42 [1] DEBUG: data: 61 70 3e ap From debugging the message the total wappush is POST /wappush?username=password= HTTP/1.1 (0a,0d)Host: localhost:8080 (0a,0d)Content-Type:multipart/related; boundary=asdlfkjiurwghasf; type=application/xml (0a,0d)X-WAP-Application-Id: mms.ua (0a,0d)Content-Length: 779 (0a,0d) (0a,0d) (0a,0d)--asdlfkjiurwghasf (0a,0d)Content-Type: application/xml (0a,0d)?xml version=1.0? (0a)!DOCTYPEpap PUBLIC -//WAPFORUM//DTD PAP//EN http://www.wapforum.org/DTD/pap_1.0.dtd; (0a)pap (0a) push-message push-id=[EMAIL PROTECTED] progress-notes-requested=false (0a) address address-value=[EMAIL PROTECTED] (0a) /address (0a) /push-message (0a)/pap (0a,0d) (0a)--asdlfkjiurwghasf (0a,0d)Content-Type: application/vnd.wap.mms-message (0a,0d)Content-Type:application/vnd.wap.mms-message (0a)X-Mms-Message-Type:m-notification-ind (0a)X-Mms-Transaction-Id:125 (0a)X-Mms-Version:1.0 (0a)X-Mms-Message-Class:Personal (0a)X-Mms-Message-Size:4910 (0a)X-Mms-Expiry:256;type=relative (0a)X-Mms-Content-Location:http://212.118.244.25/mmstest/m4.mms (0a)X-WAP-Application-Id:x-wap-application:mms.ua\ (0a,0d) (0a)--asdlfkjiurwghasf--
Re: MMS m-notification-ind and test_ppg
Yep agreed. We can either force all carriage returns to use the CRLF standard on parsing of the page (recommended route) or have a system/carriage return character switch on the command line. There's a few other minor modifications I'd like to make to test_ppg etc. so I'd be happy to implement the changes necessary. BTW does the content look right? Alex - Original Message - From: Aarno Syvänen [EMAIL PROTECTED] To: Alex Judd [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 3:41 PM Subject: Re: MMS m-notification-ind and test_ppg This indeed causes problems, though CRLF line break is one defined by MIME standard. Perhaps command line option for line break would be usefull - i mean one translating input break to standard ones. Aarno On Friday, November 29, 2002, at 05:13 PM, Alex Judd wrote: I was using binary as wappush returns a syntax error if I wasn't encoding the data. test_ppg seems to use windows (oa,od) carriage returns for it's joined lines, whereas my system is using xnix(oa) carriage returns. Don't know if this would cause the problem I enclosed the dumps below. 2002-11-29 17:11:42 [1] DEBUG: data: 3c 62 61 64 6d 65 73 73 badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 20 63 6f 64 onse cod 2002-11-29 17:11:42 [1] DEBUG: data: 65 3d 22 32 30 30 30 22 e=2000 2002-11-29 17:11:42 [1] DEBUG: data: 20 64 65 73 63 3d 22 4e desc=N 2002-11-29 17:11:42 [1] DEBUG: data: 6f 74 20 75 6e 64 65 72 ot under 2002-11-29 17:11:42 [1] DEBUG: data: 73 74 6f 6f 64 20 64 75 stood du 2002-11-29 17:11:42 [1] DEBUG: data: 65 20 74 6f 20 6d 61 6c e to mal 2002-11-29 17:11:42 [1] DEBUG: data: 66 6f 72 6d 65 64 20 73 formed s 2002-11-29 17:11:42 [1] DEBUG: data: 79 6e 74 61 78 22 3e 3c yntax 2002-11-29 17:11:42 [1] DEBUG: data: 2f 62 61 64 6d 65 73 73 /badmess 2002-11-29 17:11:42 [1] DEBUG: data: 61 67 65 2d 72 65 73 70 age-resp 2002-11-29 17:11:42 [1] DEBUG: data: 6f 6e 73 65 3e 3c 2f 70 onse/p 2002-11-29 17:11:42 [1] DEBUG: data: 61 70 3e ap From debugging the message the total wappush is POST /wappush?username=password= HTTP/1.1 (0a,0d)Host: localhost:8080 (0a,0d)Content-Type:multipart/related; boundary=asdlfkjiurwghasf; type=application/xml (0a,0d)X-WAP-Application-Id: mms.ua (0a,0d)Content-Length: 779 (0a,0d) (0a,0d) (0a,0d)--asdlfkjiurwghasf (0a,0d)Content-Type: application/xml (0a,0d)?xml version=1.0? (0a)!DOCTYPEpap PUBLIC -//WAPFORUM//DTD PAP//EN http://www.wapforum.org/DTD/pap_1.0.dtd; (0a)pap (0a) push-message push-id=[EMAIL PROTECTED] progress-notes-requested=false (0a) address address-value=[EMAIL PROTECTED] (0a) /address (0a) /push-message (0a)/pap (0a,0d) (0a)--asdlfkjiurwghasf (0a,0d)Content-Type: application/vnd.wap.mms-message (0a,0d)Content-Type:application/vnd.wap.mms-message (0a)X-Mms-Message-Type:m-notification-ind (0a)X-Mms-Transaction-Id:125 (0a)X-Mms-Version:1.0 (0a)X-Mms-Message-Class:Personal (0a)X-Mms-Message-Size:4910 (0a)X-Mms-Expiry:256;type=relative (0a)X-Mms-Content-Location:http://212.118.244.25/mmstest/m4.mms (0a)X-WAP-Application-Id:x-wap-application:mms.ua\ (0a,0d) (0a)--asdlfkjiurwghasf--
Re: MMS m-notification-ind and test_ppg
Alex Judd wrote: Update from myself is that you can actually use Apache to serve binary mms files quite successfully and send alerts with the m-notification code from Aarno (thanks to Igor for the test image) If anyone else is interested on this part, I'm putting together a faq document covering this so I'll publish it when done. Any ideas on the wap_ppg generation question? Alex 2. Serving MMS content I've configured Apache to serve .mms files with the content type application/vnd.wap.mms-message (thanks Ivor) however the phone complains of a formatting error when it recieves the message. I'm using Nokia encoded binary messages here which should in theory work. Again, open for suggestions as how to verify these messages are correct. Thoughts are that I may need to use Kannel as a proxy to fetch the content from the Apache server and serve it itself. Guessing that might be the SAR issue that has been resolved that stopped this happening before however now works. Thanks for the help so far :) Alex Skywire Hi Alex I really interested from MMS m-notification-ind and I try to find example with Arno m-notification code an Igor test image on faq docs and documentation but I didn't find anything aabout it. Can you give me an example. Many Thanks Ignat
Re: MMS m-notification-ind and test_ppg
Update from myself is that you can actually use Apache to serve binary mms files quite successfully and send alerts with the m-notification code from Aarno (thanks to Igor for the test image) If anyone else is interested on this part, I'm putting together a faq document covering this so I'll publish it when done. Any ideas on the wap_ppg generation question? Alex 2. Serving MMS content I've configured Apache to serve .mms files with the content type application/vnd.wap.mms-message (thanks Ivor) however the phone complains of a formatting error when it recieves the message. I'm using Nokia encoded binary messages here which should in theory work. Again, open for suggestions as how to verify these messages are correct. Thoughts are that I may need to use Kannel as a proxy to fetch the content from the Apache server and serve it itself. Guessing that might be the SAR issue that has been resolved that stopped this happening before however now works. Thanks for the help so far :) Alex Skywire
Re: MMS m-notification-ind and test_ppg
Why base64 ? Why not binary (without -e flag)? Aarno On Wednesday, November 27, 2002, at 06:20 PM, Alex Judd wrote: Aarno/Paul/Ivor/Andreas/Marco I've been reading everyones post and problems on the Kannel mailing list in depth with MMS notification sending and so far are still having problems which I can't resolve - therefore wondering if you anyone can shed any light with a couple of problems that I'm having with it. 1. Tokenisation of the m-notification txt file I'm currently doing this using test_ppg and the output I'm getting is very different from your 'humanised' tokenizing. Using ../test/test_ppg -e base64 -a mms -c mms http://localhost:8080/wappush?username=yyypassword=xxx; m-notification-ind.txt pap.txt' I get 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:06063ABE966C6F63616C686F73743A3830383000AF84436F6E74656E742D54 72616 E736665722D456E636F64696E670062696E617279008D020146B480436F6E74656E742D 54797 0653A206170706C69636174696F6E2F766E642E7761702E6D6D732D6D6573736167650A 582D4 D6D732D4D6573736167652D547970653A206D] [udh:12:0B05040B8423F3060301] 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:72793A203235363B20747970653D72656C61746976650A582D4D6D732D436F 6E746 56E742D4C6F636174696F6E3A20687474703A2F2F3231322E3131382E3234342E32352F 6D6D7 3746573742F6D312E6D6D730A582D5741502D4170706C69636174696F6E2D49643A2078 2D776 1702D6170706C69636174696F6E3A6D6D732E] [udh:12:0B05040B8423F3060303] 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:2D6E6F74696669636174696F6E2D696E640A582D4D6D732D5472616E736163 74696 F6E2D49643A203132350A582D4D6D732D56657273696F6E3A20312E300A582D4D6D732D 4D657 3736167652D436C6173733A20506572736F6E616C0A582D4D6D732D4D6573736167652D 53697 A653A20343931300A582D4D6D732D45787069] [udh:12:0B05040B8423F3060302] from (m-notification-ind.txt) 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://212.118.244.25/mmstest/m1.mms X-WAP-Application-Id: x-wap-application:mms.ua and (pap.txt) ?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=[EMAIL PROTECTED] /address /push-message /pap whereas my understanding is that I should get 8c8298 etc. The working m-notification-ind message I've been using to test is http://212.118.244.25:13013/cgi-bin/ sendsms?username=xxxpassword=yyyto=+44 7740305115from=testudh=%06%05%04%0b%84%23%f0text=%0f%06%03%be%af%84% 8c%82 %98%39%39%39%35%40%66%6c%79%65%72%6f%6e%65%2e%63%6f%6d%00%8d%90%8a%80%8 e%01% 64%88%06%80%04%3d%64%8d%80%83http://212.118.244.25/mmstest/mms.wml%00 which at least initiates a call to my wap server to receive the content. The 3 part message I can 'hear' receiving the message but can't see any call to the webserver. Also interestingly, my external server looks as though it receives the multipart message in order of 0,2,1 however I'm guessing the message will still be arranged correctly by Kannel. 2. Serving MMS content I've configured Apache to serve .mms files with the content type application/vnd.wap.mms-message (thanks Ivor) however the phone complains of a formatting error when it recieves the message. I'm using Nokia encoded binary messages here which should in theory work. Again, open for suggestions as how to verify these messages are correct. Thoughts are that I may need to use Kannel as a proxy to fetch the content from the Apache server and serve it itself. Guessing that might be the SAR issue that has been resolved that stopped this happening before however now works. Thanks for the help so far :) Alex Skywire
MMS m-notification-ind and test_ppg
Aarno/Paul/Ivor/Andreas/Marco I've been reading everyones post and problems on the Kannel mailing list in depth with MMS notification sending and so far are still having problems which I can't resolve - therefore wondering if you anyone can shed any light with a couple of problems that I'm having with it. 1. Tokenisation of the m-notification txt file I'm currently doing this using test_ppg and the output I'm getting is very different from your 'humanised' tokenizing. Using ../test/test_ppg -e base64 -a mms -c mms http://localhost:8080/wappush?username=yyypassword=xxx; m-notification-ind.txt pap.txt' I get 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:06063ABE966C6F63616C686F73743A3830383000AF84436F6E74656E742D5472616 E736665722D456E636F64696E670062696E617279008D020146B480436F6E74656E742D54797 0653A206170706C69636174696F6E2F766E642E7761702E6D6D732D6D6573736167650A582D4 D6D732D4D6573736167652D547970653A206D] [udh:12:0B05040B8423F3060301] 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:72793A203235363B20747970653D72656C61746976650A582D4D6D732D436F6E746 56E742D4C6F636174696F6E3A20687474703A2F2F3231322E3131382E3234342E32352F6D6D7 3746573742F6D312E6D6D730A582D5741502D4170706C69636174696F6E2D49643A20782D776 1702D6170706C69636174696F6E3A6D6D732E] [udh:12:0B05040B8423F3060303] 2002-11-27 16:42:05 Sent SMS [SMSC:889567] [SVC:test] [ACT:] [from:2199] [to:+447740305115] [flags:0:2:0:0:0] [msg:128:2D6E6F74696669636174696F6E2D696E640A582D4D6D732D5472616E73616374696 F6E2D49643A203132350A582D4D6D732D56657273696F6E3A20312E300A582D4D6D732D4D657 3736167652D436C6173733A20506572736F6E616C0A582D4D6D732D4D6573736167652D53697 A653A20343931300A582D4D6D732D45787069] [udh:12:0B05040B8423F3060302] from (m-notification-ind.txt) 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://212.118.244.25/mmstest/m1.mms X-WAP-Application-Id: x-wap-application:mms.ua and (pap.txt) ?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=[EMAIL PROTECTED] /address /push-message /pap whereas my understanding is that I should get 8c8298 etc. The working m-notification-ind message I've been using to test is http://212.118.244.25:13013/cgi-bin/sendsms?username=xxxpassword=yyyto=+44 7740305115from=testudh=%06%05%04%0b%84%23%f0text=%0f%06%03%be%af%84%8c%82 %98%39%39%39%35%40%66%6c%79%65%72%6f%6e%65%2e%63%6f%6d%00%8d%90%8a%80%8e%01% 64%88%06%80%04%3d%64%8d%80%83http://212.118.244.25/mmstest/mms.wml%00 which at least initiates a call to my wap server to receive the content. The 3 part message I can 'hear' receiving the message but can't see any call to the webserver. Also interestingly, my external server looks as though it receives the multipart message in order of 0,2,1 however I'm guessing the message will still be arranged correctly by Kannel. 2. Serving MMS content I've configured Apache to serve .mms files with the content type application/vnd.wap.mms-message (thanks Ivor) however the phone complains of a formatting error when it recieves the message. I'm using Nokia encoded binary messages here which should in theory work. Again, open for suggestions as how to verify these messages are correct. Thoughts are that I may need to use Kannel as a proxy to fetch the content from the Apache server and serve it itself. Guessing that might be the SAR issue that has been resolved that stopped this happening before however now works. Thanks for the help so far :) Alex Skywire
Re: m-notification-ind question
What phone are you working with ? Aarno On Monday, November 25, 2002, at 04:47 PM, Alex Judd wrote: I'm seem to be getting very different udh's generated from test_ppg than those from the text m-notification-ind that works. 1. Working udh udh=%06%05%04%0b%84%23%f0 2. Nonworking test_ppg generated UDH(s) [multi-part-message] [udh:12:0B05040B8423F3000301] [udh:12:0B05040B8423F3000302] [udh:12:0B05040B8423F3000303] My SMSC is returning FAILED at trying to deliver the test_ppg generated ones. However, sending a manual created message works fine. Any ideas? Regards Alex
Re: m-notification-ind question
Ericsson T68i The problem was to do with my http smsc setup not supplying a from field to my remote Kannel SMSC, and the remote Kannel SMSC not having a global sender setup. Fixed that now thanks Aarno however I am having trouble with the retrieval of the content that the phone tries to get. Alex - Original Message - From: Aarno Syvänen [EMAIL PROTECTED] To: Alex Judd [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:23 AM Subject: Re: m-notification-ind question What phone are you working with ? Aarno On Monday, November 25, 2002, at 04:47 PM, Alex Judd wrote: I'm seem to be getting very different udh's generated from test_ppg than those from the text m-notification-ind that works. 1. Working udh udh=%06%05%04%0b%84%23%f0 2. Nonworking test_ppg generated UDH(s) [multi-part-message] [udh:12:0B05040B8423F3000301] [udh:12:0B05040B8423F3000302] [udh:12:0B05040B8423F3000303] My SMSC is returning FAILED at trying to deliver the test_ppg generated ones. However, sending a manual created message works fine. Any ideas? Regards Alex
m-notification-ind question
I'm seem to be getting very different udh's generated from test_ppg than those from the text m-notification-ind that works. 1. Working udh udh=%06%05%04%0b%84%23%f0 2. Nonworking test_ppg generated UDH(s) [multi-part-message] [udh:12:0B05040B8423F3000301] [udh:12:0B05040B8423F3000302] [udh:12:0B05040B8423F3000303] My SMSC is returning FAILED at trying to deliver the test_ppg generated ones. However, sending a manual created message works fine. Any ideas? Regards Alex
m-notification-ind to t68i
Hi all, Has anybody manage to send m-notification-ind to t68i ? If so can you give me an example to the parameters you use ? (pap and X_MMS headers ) my handset seem to get the information but nothing happens. Best regards, Lior Barne'a, Infrastructures developer, m-Wise mobile solutions. [EMAIL PROTECTED] +972-9-9581711 (120) +972-55-679228
m-notification-ind
Hi list :) I am looking for a spec for m-notification-ind (mms push messages), can anyone tell me where to find it ? Best regards, Lior Barne'a, Infrastructures developer, m-Wise mobile solutions. [EMAIL PROTECTED] +972-9-9581711 (120) +972-55-679228
m-notification-ind again
Hi, Still trying to send m-notification-ing to SonyErcisson T68i using SMPP. It seems like evrything goes well, and phone tries to recieve message, but nothing happens. My files look like that: m-notification-ind.txt: Content-Type: application/vnd.wap.mms-message X-Mms-Message-Type: m-notification-ind X-Mms-Transaction-Id: 125 X-Mms-Version: 2.0 X-Mms-Message-Class: Personal X-Mms-Message-Size: 500 X-Mms-Expiry: 256; type=relative X-Mms-Content-Location: http://localhost/mms.txt X-WAP-Application-Id: x-wap-application:mms.ua pap.txt: ?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=[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=sms /quality-of-service /push-message /pap Please correct me if I'm missing something in my files. -- David Chkhartishvili Tel: 995 99 182418
Re: m-notification-ind again
Is the version indeed 2.0 or is this just a typo ? (Version should of course be 1.0.) On Wednesday, September 4, 2002, at 10:04 AM, David Chkhartishvili wrote: Hi, Still trying to send m-notification-ing to SonyErcisson T68i using SMPP. It seems like evrything goes well, and phone tries to recieve message, but nothing happens. My files look like that: m-notification-ind.txt: Content-Type: application/vnd.wap.mms-message X-Mms-Message-Type: m-notification-ind X-Mms-Transaction-Id: 125 X-Mms-Version: 2.0 X-Mms-Message-Class: Personal X-Mms-Message-Size: 500 X-Mms-Expiry: 256; type=relative X-Mms-Content-Location: http://localhost/mms.txt X-WAP-Application-Id: x-wap-application:mms.ua pap.txt: ?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=[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=sms /quality-of-service /push-message /pap Please correct me if I'm missing something in my files. -- David Chkhartishvili Tel: 995 99 182418
Re: m-notification-ind again
Hi Aarno, Just a typo =). Aarno Syvanen wrote: Is the version indeed 2.0 or is this just a typo ? (Version should of course be 1.0.) On Wednesday, September 4, 2002, at 10:04 AM, David Chkhartishvili wrote: Hi, Still trying to send m-notification-ing to SonyErcisson T68i using SMPP. It seems like evrything goes well, and phone tries to recieve message, but nothing happens. My files look like that: m-notification-ind.txt: Content-Type: application/vnd.wap.mms-message X-Mms-Message-Type: m-notification-ind X-Mms-Transaction-Id: 125 X-Mms-Version: 2.0 X-Mms-Message-Class: Personal X-Mms-Message-Size: 500 X-Mms-Expiry: 256; type=relative X-Mms-Content-Location: http://localhost/mms.txt X-WAP-Application-Id: x-wap-application:mms.ua pap.txt: ?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=[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=sms /quality-of-service /push-message /pap Please correct me if I'm missing something in my files. -- David Chkhartishvili Tel: 995 99 182418 -- David Chkhartishvili Tel: 995 99 182418
RE: m-notification-ind again
Title: RE: m-notification-ind again Kannel wap gw does not support SAR, this is a problem to deliver mms with size bigger than 1400 -Original Message- From: David Chkhartishvili [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 10:04 AM To: [EMAIL PROTECTED] Subject: m-notification-ind again Hi, Still trying to send m-notification-ing to SonyErcisson T68i using SMPP. It seems like evrything goes well, and phone tries to recieve message, but nothing happens. My files look like that: m-notification-ind.txt: Content-Type: application/vnd.wap.mms-message X-Mms-Message-Type: m-notification-ind X-Mms-Transaction-Id: 125 X-Mms-Version: 2.0 X-Mms-Message-Class: Personal X-Mms-Message-Size: 500 X-Mms-Expiry: 256; type=relative X-Mms-Content-Location: http://localhost/mms.txt X-WAP-Application-Id: x-wap-application:mms.ua pap.txt: ?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=[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=sms /quality-of-service /push-message /pap Please correct me if I'm missing something in my files. -- David Chkhartishvili Tel: 995 99 182418
Re: m-notification-ind again
I know, that SAR is not implemented yet, but my smessage is no bigger that 1400. I'm still can't get any reaction from phone, hance phone doesn't try to fetch message. Igor Ivoilov wrote: Kannel wap gw does not support SAR, this is a problem to deliver mms with size bigger than 1400 -Original Message- From: David Chkhartishvili [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 10:04 AM To: [EMAIL PROTECTED] Subject: m-notification-ind again Hi, Still trying to send m-notification-ing to SonyErcisson T68i using SMPP. It seems like evrything goes well, and phone tries to recieve message, but nothing happens. My files look like that: m-notification-ind.txt: Content-Type: application/vnd.wap.mms-message X-Mms-Message-Type: m-notification-ind X-Mms-Transaction-Id: 125 X-Mms-Version: 2.0 X-Mms-Message-Class: Personal X-Mms-Message-Size: 500 X-Mms-Expiry: 256; type=relative X-Mms-Content-Location: http://localhost/mms.txt X-WAP-Application-Id: x-wap-application:mms.ua pap.txt: ?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=[EMAIL PROTECTED] /address quality-of-service priority=low delivery-method=unconfirmed network-required=true network=gsm bearer-required=true bearer=sms /quality-of-service /push-message /pap Please correct me if I'm missing something in my files. -- David Chkhartishvili Tel: 995 99 182418 -- David Chkhartishvili Tel: 995 99 182418
test_ppg (m-notification-ind)
Hi, I'm trying to send m-notification-ind. I have default configuration of ppg (listed in users guide). command line is: ./test_ppg -e base64 -a mms -c mms http://localhost:8080/wappush?username=1password=1; m-notification-ind.txt pap.txt when I run it, i'm getting following line: 2002-09-03 14:52:41 [0] INFO: an input without a configuration file assumed (what it means?) and than as I can see from debug, test_ppg tries to use own content (from test_ppg.c) and combines it with my content file, as result wapbox reports: ERROR: HTTP: Content-Length header wrong: : 1262 and after that ppg_test says: 2002-09-03 14:52:41 [2] ERROR: Couldn't fetch http://localhost:8080/wappush?username=1password=1 2002-09-03 14:52:41 [1] ERROR: push failed, no reason found 2002-09-03 14:52:41 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed 2002-09-03 14:52:41 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates. 2002-09-03 14:52:41 [0] INFO: TEST_PPG: 1 requests in 0.00 seconds, inf requests per second Could you please figure out where i'm wrong? -- David Chkhartishvili
Re: test_ppg (m-notification-ind)
Phew! I'm not alone. I've mentioned this here over the last few weeks, did you see my recent message about it? Can't help you mate but if its any consolation I get it too. Are you on Cygwin by any chance? I did spot your url - did you really want localhost:8080/wappush or should you be using localhost:8080/cgi-bin/wap-push.cgi ? (Sorry if you have deliberatly remapped ppg-url properly, but still worth pointing out..) From: David Chkhartishvili [EMAIL PROTECTED] Date: Tue 03/Sep/2002 10:05 GMT To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: test_ppg (m-notification-ind) Hi, I'm trying to send m-notification-ind. I have default configuration of ppg (listed in users guide). command line is: ./test_ppg -e base64 -a mms -c mms http://localhost:8080/wappush?username=1password=1; m-notification-ind.txt pap.txt when I run it, i'm getting following line: 2002-09-03 14:52:41 [0] INFO: an input without a configuration file assumed (what it means?) and than as I can see from debug, test_ppg tries to use own content (from test_ppg.c) and combines it with my content file, as result wapbox reports: ERROR: HTTP: Content-Length header wrong: : 1262 and after that ppg_test says: 2002-09-03 14:52:41 [2] ERROR: Couldn't fetch http://localhost:8080/wappush?username=1password=1 2002-09-03 14:52:41 [1] ERROR: push failed, no reason found 2002-09-03 14:52:41 [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed 2002-09-03 14:52:41 [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates. 2002-09-03 14:52:41 [0] INFO: TEST_PPG: 1 requests in 0.00 seconds, inf requests per second Could you please figure out where i'm wrong? -- David Chkhartishvili ___ Freeserve AnyTime, only £13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890
Re: MMS m-notification-ind problem
Hi Vjacheslav, d a d a 8c 82 98 31 2d 63 30 63 39 0 8d 90 8a 80 8e 2 2 6c88 80 4 3f 22 6a b6 83 68 74 74 70 3a 2f 2f 31 30 2e 31 302e 32 35 33 2e 34 2f 6d 6d 73 2f 72 65 74 72 69 65 76 65 2e70 6c 3f 69 64 3d 31 32 33 34 35 36 37 38 39 30 31 32 33 3435 36 37 38 39 30 0 d a d a I think "88 80 4 3f 22 6a"should be "88 06 80 04 3f 22 6a". Perhaps, I'm not sure, "35 36 37 38 39 30 00 0d 0a 0d 0a" should be "35 36 37 38 39 30 00 84 be0d 0a 0d 0a". I don't know if this is correct: "8e 02 02 6c".Can you confirm it? Please check these values and let us know if it works. Bye, Enzo
RE: m-notification-ind (cont.)
Thanks for decoding the OTA message, that kinda solved the case. It turned out that my content wasn't really formatted correctly (lesson learned: Java Strings aren't suitable for storing any binary data). I just managed to get a notification through to the phone (it informs that content is being fetched). I still can't se an actual fetch at out web server, but that's a completely other problem. Regards, - Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aarno Syvänen Sent: 10. heinäkuuta 2002 9:39 To: [EMAIL PROTECTED] Cc: 'Stipe Tolj'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: m-notification-ind (cont.) Anders Lindh kirjoittaa tiistaina, 9. heinäkuuta 2002, kello 18:14: I have a couple of questions regarding the tokenization, as I still haven't managed to get this working. --asdlfjiuvwghasf Content-Type: application/vnd.wap.mms-message 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: 100 X-MMS-Expiry: 256; type=relative X-MMS-Content-Location: your URI --asdlfjiuvwghasf-- Should the encoded headers be posted to the PPG as mime encoded or not? In the example I've attached below, stuff isn't submitted as mime encoded, which atleast looks ok. Note that Content-Type is application something, not text something. This means that it indeed must be binary. 84bc This is the content-type, so it should be last (7.0 in MMSEncapsulation). I think this one should be removed. It is MIME part Content-Type, and it is similar in all MMS messages (even in notification having only headers !). Pi should add it. WAP-209, 7 refers, I think, to content type of MMS message itself. 8c82 9831323500 8d90 8a80 8e0164 880481020100 83yout URI00 Anyway, here's my MMSEncapsulated doc: 8c 82 // X-MMS-Message-Type: m-notification-ind 98 39 39 39 39 40 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 00// X-MMS-Transaction-Id: [EMAIL PROTECTED] 8d 90 // X-MMS-Version: 1.0 8a 80 // X-MMS-Message-Class: Personal 8e 01 64 // X-MMS-Size: 100 88 06 80 04 3d 2b 32 4a // X-MMS-Expiry: an Absolute value, in the future 83 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 2f 00 // X-MMS-Content-Location: http://www.flyerone.com/ 84 be // Content-type: application/vnd.wap.mms-message OK, but see comment about Content-Type earlier Text part: Is you got SI and SL right, then WSP headers should be OK (at least for SI and SL, that is). But after that strange things appear. What is your transfer encoding ? Is this the message wapbox is sending to bearerbox. 0f Push Id 06 PDU type: Push 0d Headers part length, in octets (13) be Content-Type: application/vnd.wap.mms-message 96 7f 00 a9 7f 00 Host: localhost af 84 X-WAP-Application-Id: mms.ua 8d c1 b4 80 Content-Length: So following must be notification, Is this really binary encoded ? 3f 3f 3f 39 39 39 39 40 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 00 3f 90 3f 3f 3f 01 64 3f 06 3f 04 3d 2b 2f 4a 3f 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 2f 00 3f be udh: 06 05 04 0b 84 23 f0 I remember that got through SL and SI, so udh is at least right. I haven't yet been able to decode this message, so I'd like some feedback if it even remotely looks like something that could work, or if there's some obious flaw. You can try to send a direct binary to the phone. Only mandatory header in WSP part is Content-Type, but now you must add X-Wap-Application-Id, so that the right application would handle the request. So add before the binary MMS notification: 0f 06 03 ce af 84 Aarno
RE: m-notification-ind (cont.)
Solved the fetch problem. I used my operators (Sonera) default MMS settings, which uses a different wap gateway than their default one. This gateway (surprise, surprise) seems to block requests to other hosts. - Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Anders Lindh Sent: 10. heinäkuuta 2002 17:57 To: 'Aarno Syvänen' Cc: [EMAIL PROTECTED] Subject: RE: m-notification-ind (cont.) Thanks for decoding the OTA message, that kinda solved the case. It turned out that my content wasn't really formatted correctly (lesson learned: Java Strings aren't suitable for storing any binary data). I just managed to get a notification through to the phone (it informs that content is being fetched). I still can't se an actual fetch at out web server, but that's a completely other problem. Regards, - Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aarno Syvänen Sent: 10. heinäkuuta 2002 9:39 To: [EMAIL PROTECTED] Cc: 'Stipe Tolj'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: m-notification-ind (cont.) Anders Lindh kirjoittaa tiistaina, 9. heinäkuuta 2002, kello 18:14: I have a couple of questions regarding the tokenization, as I still haven't managed to get this working. --asdlfjiuvwghasf Content-Type: application/vnd.wap.mms-message 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: 100 X-MMS-Expiry: 256; type=relative X-MMS-Content-Location: your URI --asdlfjiuvwghasf-- Should the encoded headers be posted to the PPG as mime encoded or not? In the example I've attached below, stuff isn't submitted as mime encoded, which atleast looks ok. Note that Content-Type is application something, not text something. This means that it indeed must be binary. 84bc This is the content-type, so it should be last (7.0 in MMSEncapsulation). I think this one should be removed. It is MIME part Content-Type, and it is similar in all MMS messages (even in notification having only headers !). Pi should add it. WAP-209, 7 refers, I think, to content type of MMS message itself. 8c82 9831323500 8d90 8a80 8e0164 880481020100 83yout URI00 Anyway, here's my MMSEncapsulated doc: 8c 82 // X-MMS-Message-Type: m-notification-ind 98 39 39 39 39 40 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 00 // X-MMS-Transaction-Id: [EMAIL PROTECTED] 8d 90 // X-MMS-Version: 1.0 8a 80 // X-MMS-Message-Class: Personal 8e 01 64 // X-MMS-Size: 100 88 06 80 04 3d 2b 32 4a // X-MMS-Expiry: an Absolute value, in the future 83 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 2f 00 // X-MMS-Content-Location: http://www.flyerone.com/ 84 be // Content-type: application/vnd.wap.mms-message OK, but see comment about Content-Type earlier Text part: Is you got SI and SL right, then WSP headers should be OK (at least for SI and SL, that is). But after that strange things appear. What is your transfer encoding ? Is this the message wapbox is sending to bearerbox. 0f Push Id 06 PDU type: Push 0d Headers part length, in octets (13) be Content-Type: application/vnd.wap.mms-message 96 7f 00 a9 7f 00 Host: localhost af 84 X-WAP-Application-Id: mms.ua 8d c1 b4 80 Content-Length: So following must be notification, Is this really binary encoded ? 3f 3f 3f 39 39 39 39 40 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 00 3f 90 3f 3f 3f 01 64 3f 06 3f 04 3d 2b 2f 4a 3f 68 74 74 70 3a 2f 2f 77 77 77 2e 66 6c 79 65 72 6f 6e 65 2e 63 6f 6d 2f 00 3f be udh: 06 05 04 0b 84 23 f0 I remember that got through SL and SI, so udh is at least right. I haven't yet been able to decode this message, so I'd like some feedback if it even remotely looks like something that could work, or if there's some obious flaw. You can try to send a direct binary to the phone. Only mandatory header in WSP part is Content-Type, but now you must add X-Wap-Application-Id, so that the right application would handle the request. So add before the binary MMS notification: 0f 06 03 ce af 84 Aarno
Re: m-notification-ind (cont.)
Anders Lindh wrote: Solved the fetch problem. I used my operators (Sonera) default MMS settings, which uses a different wap gateway than their default one. This gateway (surprise, surprise) seems to block requests to other hosts. yeahhh :)) they are usually sooo convinient :)) Stipe [EMAIL PROTECTED] --- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de --- wapme.net - wherever you are
Re: m-notification-ind (cont.)
Anders Lindh kirjoittaa maanantaina, 8. heinäkuuta 2002, kello 13:52:Hi, I've been struggling with the PPG and m-notification-ind messages, but haven't been able to get the handset to react to the indication. There's probably something I'm missing, so I'd appreciate if someone could lend their eyes and check through the used material. The notification is received by the handset, but apparently silently ignored. No fetch is occuring at http://www.flyerone.com/. I submit this to the PPG: Headers: content-type: multipart/related; boundary=wFwKoCsDInFRxqmburDFMeqxu; type=application/xml x-wap-application-id: x-wap-application:mms.ui This should be x-wap-application:mms.ua connection: keep-alive content-length: 656 content: 2002-07-08 13:28:34 [14] DEBUG: data: 0d 0a 2d 2d 4b 62 66 66 ..--Kbff 2002-07-08 13:28:34 [14] DEBUG: data: 51 73 46 51 69 5a 4f 6f QsFQiZOo 2002-07-08 13:28:34 [14] DEBUG: data: 66 6c 56 43 57 75 4a 46 flVCWuJF 2002-07-08 13:28:34 [14] DEBUG: data: 65 63 46 76 52 0d 0a 43 ecFvR..C 2002-07-08 13:28:34 [14] DEBUG: data: 6f 6e 74 65 6e 74 2d 74 ontent-t 2002-07-08 13:28:34 [14] DEBUG: data: 79 70 65 3a 20 61 70 70 ype: app 2002-07-08 13:28:34 [14] DEBUG: data: 6c 69 63 61 74 69 6f 6e lication 2002-07-08 13:28:34 [14] DEBUG: data: 2f 78 6d 6c 0d 0a 3c 3f /xml..? 2002-07-08 13:28:34 [14] DEBUG: data: 78 6d 6c 20 76 65 72 73 xml vers 2002-07-08 13:28:34 [14] DEBUG: data: 69 6f 6e 3d 22 31 2e 30 ion=1.0 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 65 6e 63 6f 64 69 encodi 2002-07-08 13:28:34 [14] DEBUG: data: 6e 67 3d 22 49 53 4f 2d ng=ISO- 2002-07-08 13:28:34 [14] DEBUG: data: 38 38 35 39 2d 31 22 3f 8859-1? 2002-07-08 13:28:34 [14] DEBUG: data: 3e 0d 0a 3c 70 61 70 3e ..pap 2002-07-08 13:28:34 [14] DEBUG: data: 3c 70 75 73 68 2d 6d 65 push-me 2002-07-08 13:28:34 [14] DEBUG: data: 73 73 61 67 65 20 70 75 ssage pu 2002-07-08 13:28:34 [14] DEBUG: data: 73 68 2d 69 64 3d 22 31 sh-id=1 2002-07-08 13:28:34 [14] DEBUG: data: 32 33 34 40 66 6c 79 65 234@flye 2002-07-08 13:28:34 [14] DEBUG: data: 72 6f 6e 65 2e 63 6f 6d rone.com 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 64 65 6c 69 76 65 delive 2002-07-08 13:28:34 [14] DEBUG: data: 72 2d 62 65 66 6f 72 65 r-before 2002-07-08 13:28:34 [14] DEBUG: data: 2d 74 69 6d 65 73 74 61 -timesta 2002-07-08 13:28:34 [14] DEBUG: data: 6d 70 3d 22 32 30 30 32 mp=2002 2002-07-08 13:28:34 [14] DEBUG: data: 2d 30 37 2d 30 38 54 31 -07-08T1 2002-07-08 13:28:34 [14] DEBUG: data: 30 3a 33 33 3a 33 32 5a 0:33:32Z 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 64 65 6c 69 76 65 delive 2002-07-08 13:28:34 [14] DEBUG: data: 72 2d 61 66 74 65 72 2d r-after- 2002-07-08 13:28:34 [14] DEBUG: data: 74 69 6d 65 73 74 61 6d timestam 2002-07-08 13:28:34 [14] DEBUG: data: 70 3d 22 32 30 30 32 2d p=2002- 2002-07-08 13:28:34 [14] DEBUG: data: 30 37 2d 30 38 54 31 30 07-08T10 2002-07-08 13:28:34 [14] DEBUG: data: 3a 32 38 3a 33 32 5a 22 :28:32Z 2002-07-08 13:28:34 [14] DEBUG: data: 20 73 6f 75 72 63 65 2d source- 2002-07-08 13:28:34 [14] DEBUG: data: 72 65 66 65 72 65 6e 63 referenc 2002-07-08 13:28:34 [14] DEBUG: data: 65 3d 22 46 6c 79 65 72 e=Flyer 2002-07-08 13:28:34 [14] DEBUG: data: 4f 6e 65 20 4c 74 64 22 One Ltd 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 61 64 64 72 65 73 addres 2002-07-08 13:28:34 [14] DEBUG: data: 73 20 61 64 64 72 65 73 s addres 2002-07-08 13:28:34 [14] DEBUG: data: 73 2d 76 61 6c 75 65 3d s-value= 2002-07-08 13:28:34 [14] DEBUG: data: 22 57 41 50 50 55 53 48 WAPPUSH 2002-07-08 13:28:34 [14] DEBUG: data: 3d 2b 33 35 38 34 30 35 =+358405 2002-07-08 13:28:34 [14] DEBUG: data: 31 33 34 32 36 35 2f 54 134265/T 2002-07-08 13:28:34 [14] DEBUG: data: 59 50 45 3d 50 4c 4d 4e YPE=PLMN 2002-07-08 13:28:34 [14] DEBUG: data: 40 66 6c 79 65 72 6f 6e @flyeron 2002-07-08 13:28:34 [14] DEBUG: data: 65 2e 63 6f 6d 22 20 2f e.com / 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 71 75 61 6c 69 74 qualit 2002-07-08 13:28:34 [14] DEBUG: data: 79 2d 6f 66 2d 73 65 72 y-of-ser 2002-07-08 13:28:34 [14] DEBUG: data: 76 69 63 65 20 70 72 69 vice pri 2002-07-08 13:28:34 [14] DEBUG: data: 6f 72 69 74 79 3d 22 6d ority=m 2002-07-08 13:28:34 [14] DEBUG: data: 65 64 69 75 6d 22 20 2f edium / 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 2f 70 75 73 68 2d /push- 2002-07-08 13:28:34 [14] DEBUG: data: 6d 65 73 73 61 67 65 3e message 2002-07-08 13:28:34 [14] DEBUG: data: 3c 2f 70 61 70 3e 0d 0a /pap.. 2002-07-08 13:28:34 [14] DEBUG: data: 0d 0a 2d 2d 4b 62 66 66 ..--Kbff 2002-07-08 13:28:34 [14] DEBUG: data: 51 73 46 51 69 5a 4f 6f QsFQiZOo 2002-07-08 13:28:34 [14] DEBUG: data: 66 6c 56 43 57 75 4a 46 flVCWuJF 2002-07-08 13:28:34 [14] DEBUG: data: 65 63 46 76 52 0d 0a 43 ecFvR..C 2002-07-08 13:28:34 [14] DEBUG: data: 6f 6e 74 65 6e
Re: m-notification-ind (cont.)
Aarno, you seem to be familiar with the MMS encoding, can you write a short text file that contains a PPG request with a M.notification-ind and the corresponding data hex representation, so we others can see how the beasts look like. I have certain immagination, but yet it does not clear up for me in my clouded head ;) Stipe [EMAIL PROTECTED] --- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de --- wapme.net - wherever you are
m-notification-ind (cont.)
Hi, I've been struggling with the PPG and m-notification-ind messages, but haven't been able to get the handset to react to the indication. There's probably something I'm missing, so I'd appreciate if someone could lend their eyes and check through the used material. The notification is received by the handset, but apparently silently ignored. No fetch is occuring at http://www.flyerone.com/. I submit this to the PPG: Headers: content-type: multipart/related; boundary=wFwKoCsDInFRxqmburDFMeqxu; type=application/xml x-wap-application-id: x-wap-application:mms.ui connection: keep-alive content-length: 656 content: 2002-07-08 13:28:34 [14] DEBUG: data: 0d 0a 2d 2d 4b 62 66 66 ..--Kbff 2002-07-08 13:28:34 [14] DEBUG: data: 51 73 46 51 69 5a 4f 6f QsFQiZOo 2002-07-08 13:28:34 [14] DEBUG: data: 66 6c 56 43 57 75 4a 46 flVCWuJF 2002-07-08 13:28:34 [14] DEBUG: data: 65 63 46 76 52 0d 0a 43 ecFvR..C 2002-07-08 13:28:34 [14] DEBUG: data: 6f 6e 74 65 6e 74 2d 74 ontent-t 2002-07-08 13:28:34 [14] DEBUG: data: 79 70 65 3a 20 61 70 70 ype: app 2002-07-08 13:28:34 [14] DEBUG: data: 6c 69 63 61 74 69 6f 6e lication 2002-07-08 13:28:34 [14] DEBUG: data: 2f 78 6d 6c 0d 0a 3c 3f /xml..? 2002-07-08 13:28:34 [14] DEBUG: data: 78 6d 6c 20 76 65 72 73 xml vers 2002-07-08 13:28:34 [14] DEBUG: data: 69 6f 6e 3d 22 31 2e 30 ion=1.0 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 65 6e 63 6f 64 69 encodi 2002-07-08 13:28:34 [14] DEBUG: data: 6e 67 3d 22 49 53 4f 2d ng=ISO- 2002-07-08 13:28:34 [14] DEBUG: data: 38 38 35 39 2d 31 22 3f 8859-1? 2002-07-08 13:28:34 [14] DEBUG: data: 3e 0d 0a 3c 70 61 70 3e ..pap 2002-07-08 13:28:34 [14] DEBUG: data: 3c 70 75 73 68 2d 6d 65 push-me 2002-07-08 13:28:34 [14] DEBUG: data: 73 73 61 67 65 20 70 75 ssage pu 2002-07-08 13:28:34 [14] DEBUG: data: 73 68 2d 69 64 3d 22 31 sh-id=1 2002-07-08 13:28:34 [14] DEBUG: data: 32 33 34 40 66 6c 79 65 234@flye 2002-07-08 13:28:34 [14] DEBUG: data: 72 6f 6e 65 2e 63 6f 6d rone.com 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 64 65 6c 69 76 65 delive 2002-07-08 13:28:34 [14] DEBUG: data: 72 2d 62 65 66 6f 72 65 r-before 2002-07-08 13:28:34 [14] DEBUG: data: 2d 74 69 6d 65 73 74 61 -timesta 2002-07-08 13:28:34 [14] DEBUG: data: 6d 70 3d 22 32 30 30 32 mp=2002 2002-07-08 13:28:34 [14] DEBUG: data: 2d 30 37 2d 30 38 54 31 -07-08T1 2002-07-08 13:28:34 [14] DEBUG: data: 30 3a 33 33 3a 33 32 5a 0:33:32Z 2002-07-08 13:28:34 [14] DEBUG: data: 22 20 64 65 6c 69 76 65 delive 2002-07-08 13:28:34 [14] DEBUG: data: 72 2d 61 66 74 65 72 2d r-after- 2002-07-08 13:28:34 [14] DEBUG: data: 74 69 6d 65 73 74 61 6d timestam 2002-07-08 13:28:34 [14] DEBUG: data: 70 3d 22 32 30 30 32 2d p=2002- 2002-07-08 13:28:34 [14] DEBUG: data: 30 37 2d 30 38 54 31 30 07-08T10 2002-07-08 13:28:34 [14] DEBUG: data: 3a 32 38 3a 33 32 5a 22 :28:32Z 2002-07-08 13:28:34 [14] DEBUG: data: 20 73 6f 75 72 63 65 2d source- 2002-07-08 13:28:34 [14] DEBUG: data: 72 65 66 65 72 65 6e 63 referenc 2002-07-08 13:28:34 [14] DEBUG: data: 65 3d 22 46 6c 79 65 72 e=Flyer 2002-07-08 13:28:34 [14] DEBUG: data: 4f 6e 65 20 4c 74 64 22 One Ltd 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 61 64 64 72 65 73 addres 2002-07-08 13:28:34 [14] DEBUG: data: 73 20 61 64 64 72 65 73 s addres 2002-07-08 13:28:34 [14] DEBUG: data: 73 2d 76 61 6c 75 65 3d s-value= 2002-07-08 13:28:34 [14] DEBUG: data: 22 57 41 50 50 55 53 48 WAPPUSH 2002-07-08 13:28:34 [14] DEBUG: data: 3d 2b 33 35 38 34 30 35 =+358405 2002-07-08 13:28:34 [14] DEBUG: data: 31 33 34 32 36 35 2f 54 134265/T 2002-07-08 13:28:34 [14] DEBUG: data: 59 50 45 3d 50 4c 4d 4e YPE=PLMN 2002-07-08 13:28:34 [14] DEBUG: data: 40 66 6c 79 65 72 6f 6e @flyeron 2002-07-08 13:28:34 [14] DEBUG: data: 65 2e 63 6f 6d 22 20 2f e.com / 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 71 75 61 6c 69 74 qualit 2002-07-08 13:28:34 [14] DEBUG: data: 79 2d 6f 66 2d 73 65 72 y-of-ser 2002-07-08 13:28:34 [14] DEBUG: data: 76 69 63 65 20 70 72 69 vice pri 2002-07-08 13:28:34 [14] DEBUG: data: 6f 72 69 74 79 3d 22 6d ority=m 2002-07-08 13:28:34 [14] DEBUG: data: 65 64 69 75 6d 22 20 2f edium / 2002-07-08 13:28:34 [14] DEBUG: data: 3e 3c 2f 70 75 73 68 2d /push- 2002-07-08 13:28:34 [14] DEBUG: data: 6d 65 73 73 61 67 65 3e message 2002-07-08 13:28:34 [14] DEBUG: data: 3c 2f 70 61 70 3e 0d 0a /pap.. 2002-07-08 13:28:34 [14] DEBUG: data: 0d 0a 2d 2d 4b 62 66 66 ..--Kbff 2002-07-08 13:28:34 [14] DEBUG: data: 51 73 46 51 69 5a 4f 6f QsFQiZOo 2002-07-08 13:28:34 [14] DEBUG: data: 66 6c 56 43 57 75 4a 46 flVCWuJF 2002-07-08 13:28:34 [14] DEBUG: data: 65 63 46 76 52 0d 0a 43 ecFvR..C 2002-07-08 13:28:34 [14] DEBUG: data: 6f 6e 74 65 6e 74 2d 74 ontent-t 2002-07-08 13:28:34 [14] DEBUG: data: 79 70 65 3a 20 61 70 70 ype: app 2002-07-08 13:28:34 [14] DEBUG: data: 6c 69 63 61 74 69 6f 6e lication 2002-07-08 13:28:34 [14] DEBUG: data: 2f 76 6e 64 2e 77 61 70
m-notification-ind
Title: Message Hi si and sl work fine, but can I send a m-notification-ind message to the handset? If so, what is the correct syntax of the content file, and the test_ppg command line?. Thanks, - Anders
Re: m-notification-ind
Anders Lindh kirjoittaa keskiviikkona, 3. heinäkuuta 2002, kello 16:48:Hi si and sl work fine, but can I send a m-notification-ind message to the handset? If so, what is the correct syntax of the content file, and the test_ppg command line?. MMS content should be fully tokenized MMS document. See Wapforum spec WAP-209- MMSEncapsulation-20020105-a.pdf. Aarno