Dear All,
We have setup a test mbuni server to use as an MMS gateway.
Using the
sendmms command we have formulated the below URL to send to
the mbuni
mmsbox. The MMS is sent succesfully and it is then
transmitted to mobile
phone where it can be viewed. We have tested with Nokia,
Samsung and
Sony Ericsson handsets and only in SonyEricsson the message
is displayed
as corrupted. Are we missing something optional in the SMIL
that is
required by SonyEricsson MMS viewers to accept the SMIL as
correct?
http://10.22.0.132:10001/sendmms
?sername=tester&password=foobar&vasid=we
bserver&from=96222524/TYPE=PLMN&to=96222521/TYPE=PLM
N&smil=<smil><head><
layout><region id='Image' width='114' height='160'
left='0' top='0'
/><region id='Text' width='160' height='50' left='0'
top='120'
/></layout></head><body><par
dur='5s'><text
src='h
ttp://myserver:8888/mms_content/happy_birthday.txt'
region='Text'/><img
src='h
ttp://myserver:8888/mms_content/happy_birthday.jpg'
region='Image'/></par></body></smil>
In addition when we add <audio
src='h
ttp://myserver:8888/mms_content/happy_birthday.amr'/>
the message
appears as corrupted to all phones. Tracing on the 10001
port shows that
the encoding for the audio file shows as
Content-Type:text/plain. See
below the trace.
Thank you very much in advance!
Regards,
Marios Fotiou
VAS Engineer
Areeba Cyprus
*****************************
POST /mmsc/mm7 HTTP/1.1
Host: areebammsc:3128
Connection: keep-alive
SOAPAction: ""
Content-Type: multipart/related; type="text/xml";
start="<s1180513372.897860030.Kq.msg>";
boundary=_boundary_1431855693_1180513372_I_a_bd1677038100
MIME-Version: 1.0
Content-Length: 75467
--_boundary_1431855693_1180513372_I_a_bd1677038100
Content-Type: text/xml
Content-ID: <s1180513372.897860030.Kq.msg>
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="h
ttp://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<mm7:TransactionID
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.
140/schema
/REL-5-MM7-1-2"
SOAP-ENV:mustUnderstand="1">Mbuni i-qf3371.26.x723.73</mm7:TransactionID
>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<mm7:SubmitReq
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.
140/schema
/REL-5-MM7-1-2">
<mm7:MM7Version>5.3.0</mm7:MM7Version>
<mm7:SenderIdentification>
<mm7:VASPID>webserver</mm7:VASPID>
<mm7:VASID>webserver</mm7:VASID>
<mm7:SenderAddress><mm7:Number>96222524</mm7:
Number>
</mm7:SenderAddress>
</mm7:SenderIdentification>
<mm7:Recipients>
<mm7:To>
<mm7:Number>96222521</mm7:Number>
</mm7:To>
</mm7:Recipients>
<mm7:TimeStamp>2007-05-30T08:22:51Z</mm7:TimeStamp&
gt;
<mm7:Content
href="cid:c1180513372.1132963618.Rw.msg"/>
</mm7:SubmitReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--_boundary_1431855693_1180513372_I_a_bd1677038100
X-Mms-MMS-Version: 1.0
X-Mms-Expiry: Wed, 06 Jun 2007 08:22:50 GMT
Date: Wed, 30 May 2007 08:22:51 GMT
Message-ID: Mbuni i-qf3371.26.x723.73
MIME-Version: 1.0
Content-Type: multipart/related;
type="application/smil";
start="<presentation>";
boundary=_boundary_1908694232_1180513372_L_h_bd1536088165
Content-ID: <c1180513372.1132963618.Rw.msg>
--_boundary_1908694232_1180513372_L_h_bd1536088165
Content-ID: <000055>
Content-Type: text/plain
Content-Transfer-Encoding: base64
IyFBTVIKNMu3CEEP/PNWQ16H/v/1PAP+7VwAANE+ZeAANFITCi222nG+WBD/
/c4+jsQzqP5n
PU0S
AoygNKoZii023a/uR9L/vIqlLKYhayDTzz.....<not included due
to size>
--_boundary_1908694232_1180513372_L_h_bd1536088165
Content-ID: <000056>
Content-Type: text/plain
Dear Antonis, areeba wishes you happy birthday!
--_boundary_1908694232_1180513372_L_h_bd1536088165
Content-ID: <000057>
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAATwAA/+4ADkFk
b2JlAGTAAAAA
Af/b
AIQAAwICAgICAwICAwQCAgI.....<not included due to
size>
--_boundary_1908694232_1180513372_L_h_bd1536088165
Content-ID: <presentation>
Content-Type: application/smil
<?xml version="1.0"?>
<smil>
<head>
<layout>
<region id="Image" width="114"
height="160" left="0"
top="0"/>
<region id="Text" width="160"
height="50" left="0"
top="120"/>
</layout>
</head>
<body>
<par dur="5s">
<audio src="cid:000055"/>
<text src="cid:000056"
region="Text"/>
<img src="cid:000057"
region="Image"/>
</par>
</body>
</smil>
--_boundary_1908694232_1180513372_L_h_bd1536088165--
--_boundary_1431855693_1180513372_I_a_bd1677038100--
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: Keep-Alive
Content-Length: 658
Soapaction: ""
>>>>>>>>>>>RESPONSE FROM
MMSC
<?xml version="1.0"
encoding="utf-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/&quo
t;><SOAP-ENV:Hea
der><mm7:TransactionID
SOAP-ENV:mustUnderstand="1"
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.
140/schema
/REL-5-MM7-1-0">Mbuni i-qf3371.26.x723.73</mm7:TransactionID></SOA
P-ENV:
Header><SOAP-ENV:Body><SubmitRsp
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series
/23.140/schema/REL
-5-MM7-1-0"><MM7Version>5.3.0</MM7Version&g
t;<Status><StatusCode>1000</Stat
usCode><StatusText>Message
sent</StatusText></Status><MessageID>1FD09
E22960695DA3ABED8EA54EB577F</M
essageID></SubmitRsp></SOAP-ENV:Body></SOA
P-ENV:Envelope>
_______________________________________________
Users mailing list
Users mbuni.org
http://
lists.mbuni.org/mailman/listinfo/users
|