Hi
I think Mbuni expects a 202
You are returning a 204
Vincent
----- Original Message -----
From: "Miguel Cartó" <[EMAIL PROTECTED]>
To: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
Cc: "Mbuni MMS Gateway Users List" <[email protected]>
Sent: Friday, May 11, 2007 1:57 PM
Subject: Re: [Users] Mbuni as VAS
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