Well i found a bug on the mmsc emulator and corrected it,
but now I'm facing another 'issue'. It seems that mbuni is expecting for
some 'msgid'.
The log that i get is:
(... After sending the mms ...)
2007-05-11 18:12:56 [7103] [13] INFO: XML sent is: <?xml version='1.0'
?><env:En
velope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><mm7:Tr
ansactionID
xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/sc
hema/REL-5-MM7-1-2">Mbuni-2-r6-qf3576.1.x103.50</mm7:TransactionID></env:Header>
<env:Body><DeliverRsp
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.
140/schema/REL-5-MM7-1-2"><MM7Version>5.3.0</MM7Version><Status><StatusText>got
it!</StatusText><StatusCode>1000</StatusCode></Status><ServiceCode>sample-servic
e-code</ServiceCode></DeliverRsp></env:Body></env:Envelope>!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=TransactionID,
v=Mbuni-2-r6-
qf3576.1.x103.50!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=MessageType,
v=DeliverRsp!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=MM7Version, v=5.3.0!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=Status, v=!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=StatusText, v=got it!!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=StatusCode, v=1000!
2007-05-11 18:12:56 [7103] [13] INFO: parse.soap, h=ServiceCode,
v=sample-service-code!
*2007-05-11 18:12:56 [7103] [13] INFO: Sent to MMC[local],
code=[1000=>Success], msgid=[(none)]*
2007-05-11 18:12:56 [7103] [13] INFO: Retry later MMSBox Outgoing Queue
MMS Send: From +100/TYPE=PLMN, to +35191/TYPE=PLMN, msgsize=99: *err=(none)*
2007-05-11 18:17:56 [7103] [7] DEBUG: Queued to thread 1 for
/home/mcarto/develop/skysms/data/mmsbox_outgoing/2/r6/qf3576.1.x103.50,
sendt=1178903876, tnow=1178903876
Can you please help me on this (or should I say these)?
Miguel Cartó wrote:
Hi Vincent (and all),
it didn't work :(
I tried to emulate a MM7 MMSC with an opewave MM7receiver emulator
and i got a little different answer from mmsbox.
2007-05-10 17:56:19 [20796] [16] DEBUG: Failed while reading status
2007-05-10 17:56:19 [20796] [16] ERROR: Couldn't fetch <http://tan:23535>
It seems that mbuni is expecting something back from the mmsc :(
What i don't know is 'what something' is that.
-- Miguel Cartó
Vincent CHAVANIS wrote:
you should use the ip instead of the alias's name
Vincent.
----- Original Message ----- From: "Miguel Cartó"
<[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 11, 2007 1:07 PM
Subject: [Users] Mbuni as VAS
Hi there,
I'm trying to setup mbuni as a vasgw with the nokia mmsceaif
emulator (in order to test mms send/receive).
The problem occurs when i'm sending the mms (cause receiving works
fine)
I'm using the sendmms cgi in this way:
$ lynx --dump
"http://localhost:10001/sendmms?username=tester&password=foobar&to=%2B351965165958&smil=%3Csmil+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FSMIL20%2FLanguage%22+xml%3Alang%3D%22en%22+title%3D%22SMIL+template%22%3E%0A++%3Chead%3E%0A++%3C%2Fhead%3E%0A++%3Cbody%3E%0A%3Cimg+src%3D%22party.jpg%22+alt%3D%22a+picture+of+me+from+my+wild+bachelor+party%22+longdesc%3D%22party.txt%22%2F%3E%0A++%3C%2Fbody%3E%0A%3C%2Fsmil%3E&base-url=http://www.pdmfc.com/~mcarto"
Sent
I get the mms in the mms emulator (mbuni fetches the smil contents
correctly), but the problem (I supose it's a problem) is when the
mmsc emulator returns 'HTTP 204 No content' as the response to my
mms submission. Follows the log:
2007-05-10 16:55:21 [20288] [16] DEBUG: HTTP: Status line: <HTTP/1.1
204 No Content>
2007-05-10 16:55:21 [20288] [16] DEBUG: Failed reading entity
2007-05-10 16:55:21 [20288] [16] ERROR: Couldn't fetch
<http://tan:8189>
2007-05-10 16:55:21 [20288] [14] INFO: Sent to MMC[local],
code=[-1], resp=[(none)] msgid [(none)]
2007-05-10 16:55:21 [20288] [14] INFO: Retry later MMSBox Outgoing
Queue MMS Send: From +100/TYPE=PLMN, to +351965165958/TYPE=PLMN,
msgsize=312: err=Failed to contact MMC[url=http://tan:8189] => HTTP
returned status = -1 !
http://tan:8189 it's where my mmsc emulator is listening (I
confirmed and it's realy there).
What I can't understand is what does it mean '2007-05-10 16:55:21
[20288] [16] DEBUG: Failed reading entity' what does he want to
read... :(
Hope you can help me :)
My Mbuni confs are :
group = core
log-file = /home/mcarto/develop/logs/mbuni-mmsbox.log
access-log = /home/mcarto/develop/logs/mmsbox-access.log
log-level = 0
group = mbuni
name = "GW"
storage-directory = /home/mcarto/develop/data
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 360000
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
#
# MMSC's
group = mmsc
id = local
mmsc-url = http://tan:8189
#incoming-username = mbuni
#incoming-password = mbuni
incoming-port = 12345
allowed-prefix = +35196
suppress-reply = true
type = eaif
#
# MMS Services
group = mms-service
name = me
post-url = http://localhost/mbuni/test-mbuni.php
catch-all = true
http-post-parameters = fx=true&images[]=%i&text[]=%t
accept-x-mbuni-headers = true
#pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
keyword = test
omit-empty = no
suppress-reply = true
service-code = regular
# group = mms-service
# name = fullmessage
# get-url = http://localhost/~bagyenda/images/apache_pb.gif
# http-post-parameters = fx=true&image=%i&text=%t
# accept-x-mbuni-headers = true
# keyword = thixs
group = send-mms-user
username = tester
password = foobar
faked-sender = +100
#deliver-report-url = http://localhost/mbuni/test-mbuni.php
--
PDM&FC - Email: [EMAIL PROTECTED]; Web: http://www.pdmfc.com
Phone: +351-213.572.029; Fax: +351-213.572.031
Address: Av. Conde de Valbom, 30 3º - 1050-068 Lisboa, Portugal
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users
--
PDM&FC - Email: [EMAIL PROTECTED]; Web: http://www.pdmfc.com
Phone: +351-213.572.029; Fax: +351-213.572.031
Address: Av. Conde de Valbom, 30 3º - 1050-068 Lisboa, Portugal
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users