Kannel GW and MMS

Kannel GW and MMS SearchSearch
Author Message
Marty
Posted on Wednesday, October 08, 2003 - 11:35 am:   

I think there are more people sending Application Originated MMS messages from a modem attached to a pc or embedded device with Linux running on it. I am in the state of developing an application to send the MMS message to a recepient's mobile phone via the provider's WAP Gateway. Can I use Kannel or a part of it to send the MMS over WAP? Does anyone use Kannel for sending MMS messages?
Which protocols do I need to implement, WDP, WTP or WSP or are they all a part of it at a certain layer of the connection to the WAP GW?
Bryce Norwood - NowSMS Support
Posted on Tuesday, October 14, 2003 - 08:14 pm:   

You could certainly use it for testing.

At a high level, this is the process of sending an MMS message:

-> WSP Connect
<- WSP ConnectReply
-> WSP POST (to URL of MMSC)
<- WSP Reply
-> WSP Disconnect

The WSP commands that your client sends are WTP Invoke messages. WTP Invoke messages are sent over WDP, and longer invoke messages (like the one for the WSP POST) might use WTP layer Segmentation-and-Reassembly (SAR) for transmission).

The WSP responses that your client recieves are WTP Result messages, also sent over WDP.

(WDP mapping over IP is very simple, as the packets are sent over UDP directly.)

You might find this thread helpful:

http://support.nowsms.com/discus/messages/12/825.html
Marty
Posted on Wednesday, October 15, 2003 - 07:59 am:   

This is indeed very useful information. These few details make a lot brighter. Thanks a lot. Isn't there any document or webpage in which this explained in steps for this situation?
Bryce Norwood - NowSMS Support
Posted on Wednesday, October 15, 2003 - 07:50 pm:   

There's always the specifications ...

The WAP specifications published by the Open Mobile Alliance (http://www.openmobilealliance.org/wapdownload.html) cover the MMS and WAP protocols.
Jonee Ryan Ty
Unregistered guest
Posted on Wednesday, November 10, 2004 - 03:13 am:   

Hello Marty =)
I am currently looking for an application that can send and receive mms in Linux. Can you help?
thanks =)
Anonymous
 
Posted on Wednesday, February 09, 2005 - 09:06 am:   

Take a look at http://www.mbuni.org -- it might be just what you need.
Anonymous
 
Posted on Friday, February 11, 2005 - 08:31 am:   

I am trying to use kannel to send WAP push , i can do it by test_ppg utility provided by Kannel but i dont know to encode the content to send it through URL,kannel documentation shows this sample url

http://matrix:8080/phplib/kannelgw.php?user=*deleted*&pass=*deleted*=to=%2B35840 8676001&text=3D%02%06%17%AE%96localhost%3A8080%00%AF%80%8D%CF%B4%80%02%05j%00E%C 6%0C%03wap.iobox.fi%00%11%031%40wiral.com%00%07%0A%C3%07%19%99%06%25%15%23%15%10 %C3%04+%02%060%01%03Want+to+test+a+fetch%3F%00%01%01&udh=%06%05%04%0B%84%23%F0

and i have these contol file

<?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="XXX@pi.com"
deliver-before-timestamp="2005-12-28T06:45:00Z"
deliver-after-timestamp="2004-11-28T06:45:00Z"
progress-notes-requested="false">
<address address-value="WAPPUSH=+919871369093/TYPE=PLMN@ppg.carrier.com"/>
<quality-of-service priority="high"
delivery-method="unconfirmed"
network-required="true"
network="GSM"
bearer-required="true"
bearer="SMS"/>
</push-message>
</pap>

and this content file

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sl PUBLIC "-//WAPFORUM//DTD SL 1.0//EN" "http://www.wapforum.org/DTD/sl.dtd">
<sl
href="http://mobile.one97.net"
action="execute-high">Try this Cool website
</sl>

as i realize the url is sending some binary stuff over 0B84 sender port and 23F0 reciever port, i just want to know how can i encode this content and control file to send it through the url.,
bryce i am eagerly looking for you kind help over this matter,,
my mail id is
deepkamal@gmail.com


naveen
New member
Username: Naveen

Post Number: 2
Registered: 06-2005
Posted on Wednesday, June 15, 2005 - 07:20 am:   

Hi Bryce,

Can i use nowsms gateway from .NET application
Anonymous
 
Posted on Wednesday, June 22, 2005 - 06:33 am:   

Hi ,
I am linking Mbuni and Kannel.I got my bearerbox and wap box working properly.But when I do mmssend in Mbuni I am getting the error telling that "Unsupported type".The error is shown below..I am getting the information formatted...but not sending it to the destination.Kindly how I could be successfull in doing a "wap push"

thanking in advance
Sachin Mahishi
Sachin L.Mahishi
Unregistered guest
Posted on Wednesday, June 22, 2005 - 06:35 am:   

The error I got in doing mmssend is below..kindly tell me how to do a "Wap Push"

2005-06-22 10:30:37 [10650] [7] DEBUG: Octet string dump ends.
2005-06-22 10:30:37 [10650] [7] DEBUG: WSP: decoded headers:
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-Type: text/plain
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-ID: <txt04.txt>
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-Location: txt04.txt
2005-06-22 10:30:37 [10650] [7] DEBUG: WSP: End of decoded headers.
2005-06-22 10:30:37 [10650] [7] DEBUG: WSP: decoding headers:
2005-06-22 10:30:37 [10650] [7] DEBUG: Octet string at 0x90d9d70:
2005-06-22 10:30:37 [10650] [7] DEBUG: len: 34
2005-06-22 10:30:37 [10650] [7] DEBUG: size: 35
2005-06-22 10:30:37 [10650] [7] DEBUG: immutable: 0
2005-06-22 10:30:37 [10650] [7] DEBUG: data: 61 75 64 69 6f 2f 61 6d 72 00 c0 3c 61 75 64 30 audio/amr..<aud0
2005-06-22 10:30:37 [10650] [7] DEBUG: data: 34 2e 61 6d 72 3e 00 8e 61 75 64 30 34 2e 61 6d 4.amr>..aud04.am
2005-06-22 10:30:37 [10650] [7] DEBUG: data: 72 00 r.
2005-06-22 10:30:37 [10650] [7] DEBUG: Octet string dump ends.
2005-06-22 10:30:37 [10650] [7] DEBUG: WSP: decoded headers:
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-Type: audio/amr
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-ID: <aud04.amr>
2005-06-22 10:30:37 [10650] [7] DEBUG: Content-Location: aud04.amr
2005-06-22 10:30:37 [10650] [7] DEBUG: WSP: End of decoded headers.
2005-06-22 10:30:37 [10650] [7] INFO: Failed Global Queue MMS Send: From 11234567890, to 123456, msgsize=43563: err=MMSC error: Unsupported recipient type 123456
SunRise
New member
Username: Sunrise

Post Number: 1
Registered: 12-2006
Posted on Monday, December 25, 2006 - 12:20 pm:   

Hi !!
I already used mbuni as VAS gateway to sent the MMS as request to NOW SMS/MMS Gateway.
BUT I faced a problem. I got an error in parsing soap that said:

Entity: line 1: parser error : Start tag expected, '<' not found
Content-Length: 611
^
2006-12-18 11:55:42 [8372] [11] INFO: Retry later MMSBox Outgoing Queue MMS Send: From PHONE_No/TYPE=PLMN, to PHONE_No/TYPE=PLMN, msgsize=2017: err=Failed to parse MMSC[url=http://mms.XXXXXXX.com/mm7/mm7tomms.sh, id=LITMMS] response!




ps: the "SOAP XML" is 100% correct !!!!!!!!!!!
}}