Dear list. I'm trying to send mms notification message using kannel's ppg interface. I'm able to send mms notifications generated by mbuni:
lynx -dump 'http://localhost:13013/cgi-bin/sendsms?user=test&password=test&from=111&'_dummy=x&text=%01%06%03%BE%AF%84%8C%82%98-qf2017.1.x860.83%00%8D%90%89%19%80%2B380503116172%2FTYPE%3DPLMN%00%96Amg%00%8A%80%8E%02%02%A4%88%05%81%03%09%3A%1C%83http%3A%2F%2Flocalhost%3A8191%2Fqf2017.1.x860.83%402%2Fwx66%00&to=%2B380504408462&udh=%06%05%04%0B%84%23%F0' I'm able to send wap push over ppg as well. #cat wap_push.xml --multipart-boundary Content-type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd" > <pap> <push-message push-id="+380504010945" source-reference="GAPP NAME" progress-notes-requested="false" ppg-notify-requested-to="http://myserver.com/listen"> <address address-value="WAPPUSH=+380504408462/[EMAIL PROTECTED]"/> <quality-of-service delivery-method="unconfirmed" network="GSM" bearer="SMS"/></push-message> </pap> --multipart-boundary Content-type: text/vnd.wap.si <?xml version="1.0"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> <si> <indication action="signal-high" si-id="+380504010945" href="" created="2008-03-03T13:38:11Z">You have received MMS</indication> </si> --multipart-boundary-- Send it: #curl --data-binary '@wap_push.xml' -H 'Content-Type: multipart/related; boundary=multipart-boundary; type="application/xml"' http://localhost:13014/wappush How can I send mms notification though the ppg interface? I've been trying this file but without success: --multipart-boundary Content-type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd" > <pap> <push-message push-id="+380504010945" source-reference="GAPP NAME" progress-notes-requested="false" ppg-notify-requested-to="http://myserver.com/listen"> <address address-value="WAPPUSH=+380504408462/[EMAIL PROTECTED]"/> <quality-of-service delivery-method="unconfirmed" network="GSM" bearer="SMS"/></push-message> </pap> --multipart-boundary Content-type: text/vnd.wap.si <?xml version="1.0"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/si.dtd"> <si> <indication action="signal-high" si-id="+380504010945" href="http://test" created="2008-03-03T13:38:11Z">You have received MMS</indication> </si> --multipart-boundary Content-type: application/vnd.wap.mms-message <8c><80><98>617764631^@<8d><90><89>^A<81><97>^Yê+380503116172/TYPE=PLMN^@<96>^EêAmg^@<86><81><90><81><84>^_^_³<89>application/smil^@<8a><SMIL.TXT>[EMAIL PROTECTED]:^F^T<83><81>ê<85>[EMAIL PROTECTED]"<Txt73F20488.txt>^@<8e>[EMAIL PROTECTED]<82>Y^[application/smil^@<85>[EMAIL PROTECTED]"<SMIL.TXT>^@<8e>SMIL.TXT^@<smil><head><layout><root-layout height="160px" width="128px"/><region id="Top" top="0" left="0" height="50%" width="100%" fit="hidden"/><region id="Bottom" top="50%" left="0" height="50%" width="100%" fit="hidden"/></layout></head><body><par dur="5s"><text src="cid:Txt73F20488.txt" region="Top" begin="0s" end="5s"></text></par></body></smil> --multipart-boundary-- I'm getting <?xml version="1.0"?><!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"><pap><badmessage-response code="2000" desc="Not understood due to malformed syntax" bad-message-fragment=" "></badmessage-response></pap> Please could some body tell me if it is possible to send MMS notifications though ppg kannel's interface and what is the correct syntax to do this. Kannel's version is 1.4.1-2 (Ubuntu x64). -- Best regards. Gleb Pakharenko. http://gpaharenko.livejournal.com
