Re: [Devel] Local delivery problem

2007-06-11 Thread James Caradoc-Davies

Thank you for your response - I managed to get it working with
local-prefixes. The problem was that I was using a single .conf for
both mmsbox and the mmsc components. I took the mmsbox.conf and
mmsc.conf from the /examples directory of the source and tweaked them
for the local loop. I am using the following:

mmsbox /etc/mbuni/mmsbox.conf
mmsrelay /etc/mbuni/mmsc.conf
mmsproxy /etc/mbuni/mmsc.conf

Local routing now works correctly with the HTTP-GET routing all to the
local MMSC which then uses local-prefixes to initiate local delivery -
it seems that the HTTP-GET requires a configured mmsc and I had none
(I was assuming delivery into the local mmsbox).

--
Regards,

caractacus
___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel


Re: [Devel] Local delivery problem

2007-06-10 Thread P. A. Bagyenda
What you need to do is use the resolver library plugin mechanism to  
implement your own script that decides which recipients are local or  
not. The script is invoked for each recipient. In your case it should  
simply return the current mmsc hostname and that should do the trick.  
(Look at config param resolver-library.)

On Jun 10, 2007, at 01:02, James Caradoc-Davies wrote:


I am attempting to use the Send MMS service to submit a message for
local delivery. However I am unable to get the gateway to accept the
message instead it says "Don't know how to route!"

The config is shown:

group=core
...

group = mbuni
name = "blux"
hostname = "mymmsc.com"
local-prefixes = 27
sendsms-url = http://192.168.1.10/sendsms
sendsms-username = xxx
sendsms-password = xxx
sendmms-port = 

group = send-mms-user
username = mms
password = mms

The idea is that Mbuni accepts the MMS via the HTTP-GET on port 
and stores the message, then originates a wap push to the sendsms-url
to initiate the delivery sequence.

The messages are NOT accepted for local delivery - I want ALL messages
to be for local delivery. I have tried unified-prefix with no
improvement. Still "Don't know how to route!"

[I have noticed about 10 test messages came through but cannot isolate
the config that worked - that was six hours ago]

Thx
--
caractacus
___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel


___
Devel mailing list
Devel@mbuni.org
http://lists.mbuni.org/mailman/listinfo/devel