List Info

Thread: Local delivery problem




Local delivery problem
user name
2007-06-09 17:02:16
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/sends
ms
sendsms-username = xxx
sendsms-password = xxx
sendmms-port = 8888

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

The idea is that Mbuni accepts the MMS via the HTTP-GET on
port 8888
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
Develmbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel

Re: Local delivery problem
country flaguser name
Uganda
2007-06-10 23:32:45
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/sends
ms
> sendsms-username = xxx
> sendsms-password = xxx
> sendmms-port = 8888
>
> group = send-mms-user
> username = mms
> password = mms
>
> The idea is that Mbuni accepts the MMS via the HTTP-GET
on port 8888
> 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
> Develmbuni.org
> http://
lists.mbuni.org/mailman/listinfo/devel

_______________________________________________
Devel mailing list
Develmbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel

Re: Local delivery problem
user name
2007-06-11 02:50:35
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
Develmbuni.org
http://
lists.mbuni.org/mailman/listinfo/devel

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )