Hi Franco,
If you are using mmssend to send MMS, you should format the message
as a m-send-req message. m-retrieve-conf was only supported as an
after-thought, hence has had dodgy handling in the part of mmsrelay
that handles notifications. I've updated CVS to take care of that, in
the meantime, please format messages passed to mmssend as m-send-req.
That should work.
P.
On Aug 03, 2005, at 15:42, Franco wrote:
Hi all,
I'm having a few teething problems with mbuni (gateway-1.4.0 +
mbuni-0.9.9). The push SMS notification is working fine, but when
the handset hits the mmsrelay webserver it cannot find the message
- returning "Message not found" on the handset.
It seems as if mbuni is deleting the "m-retrieve-conf" and binary
MMS from the spool directory before the handset has had the time to
retrieve it!
Heres what I'm doing, sending a binary MMS (that I know is compiled
correctly):
bin/mmssend -f 61455555555/TYPE=PLMN -t 61420000000/TYPE=PLMN -
m binarymms.mms conf/mmsc.conf
and also using the MIME -> Binary MMS interface:
bin/mmssend -v 1 -f 61455555555/TYPE=PLMN -t 61420000000/
TYPE=PLMN -m msg.mime conf/mmsc.conf
Looks like the MMS notification is sent out correctly:
2005-08-03 22:13:08 [12510] [7] INFO: mmsc for "61420000000"
resolved to: "foobar.com"
2005-08-03 22:13:08 [12510] [7] INFO: Sent Global Queue MMS Send:
From 61455555555/TYPE=PLMN, to 61420000000/TYPE=PLMN, msgsize=3829:
err=(null)
2005-08-03 22:13:28 [12510] [13] INFO: mms2mobile.startpush:
notification to 61420000000
2005-08-03 22:13:28 [12510] [13] INFO: Sent Mobile Queue MMS Send
Notify: From=61455555555/TYPE=PLMN, to=61420000000/TYPE=PLMN,
msgsize=3829, reason=
2005-08-03 22:13:28 [12510] [3] INFO: send2mobile.push_reply[m-
qf1123071188.2.x1251072]: From 61455555555/TYPE=PLMN, to
61420000000/TYPE=PLMN => 202
But then, once the handset has received the MMS notification, mbuni
throws the error:
2005-08-03 22:08:26 [12437] [4] ERROR: MMS Fetch interface: failed
to find envelope/data 4-qf1123070776.1.x1244189 for request url (/4-
[EMAIL PROTECTED]/wx37) from 203.xxx.xxx.xxx (e=not found)!
. and again ..
2005-08-03 22:14:18 [12506] [4] ERROR: MMS Fetch interface: failed
to find envelope/data m-qf1123071188.2.x1251072 for request url (/m-
[EMAIL PROTECTED]/wx23) from 203.xxx.xxx.xxx (e=not found)!
Spooled files that go missing, ie;
qf1123071188.2.x1251072
df1123071188.2.x1251072
I've tried to copy and then replace the missing files on the fly,
but this is of no help.
Any Ideas??
My conf conf/mbuni.conf:
---------------------------------
group = core
log-file = /app/mbuni/log/mmsgw.log
log-level = 0
access-log = /app/mbuni/log/access.log
group = mmsbox
name = "foobar MMSC"
hostname = foobar.com
host-alias = foobar.com
local-mmsc-domains = foobar.com
local-prefixes = 614;
storage-directory = /app/mbuni/spool
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
sendsms-url = http://127.0.0.1:13013/cgi-bin/sendsms
sendsms-username = xxxxxx
sendsms-password = xxxxxx
sendsms-global-sender = 61455555555
mms-port = 80
email2mms-relay-prefixes = 614;
maximum-send-attempts = 2
default-message-expiry = 36000
queue-run-interval = 20
send-attempt-back-off = 3600
_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org
_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org