MMS routing

MMS routing SearchSearch
Author Message
Neil Stamps
New member
Username: Neil

Post Number: 44
Registered: 12-2009
Posted on Monday, March 15, 2010 - 04:17 pm:   

I know I've raised this before, and been told that the lite does not support it - but is there any possibility of being able to set up routing rules for MMS so that certain numbers are not sent. for our testing we want to use a complete stack, and so we do really want to pass to the MMSC. The problem is that we are racking up some massive bills in testing. Is there any way to address this?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1937
Registered: 08-2008
Posted on Monday, March 15, 2010 - 04:53 pm:   

Hi Neil,

I need more specific clarification of what you are asking for.

If you want to block some MMS sending, that may be possible.

However, from your description, it is not clear to me exactly what functionality you are requesting.

It may be that I'm just thick. Do you want to not send any MMS messages at all?

Are you routing received MMS messages to an MM7 connection?

I think it is possible to configure the outbound MMS messages to also get routed to that MM7 connection instead of going out via the modem. (Then you would have to use your logic to filter them.) Would that work for you?

We might also be able to manually configure a block, but that causes an error to be returned when the message is submitted.

Explain more, and maybe we can enable some manual INI settings to accomplish it.

--
Des
NowSMS Support
Neil Stamps
New member
Username: Neil

Post Number: 45
Registered: 12-2009
Posted on Monday, March 15, 2010 - 04:57 pm:   

Ideally we would want to route to an MM7 account, based upon the recipient number.

But if that is not possible, stopping sending MMS messages for a range of numbers would work for us in terms of automated testing.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1938
Registered: 08-2008
Posted on Monday, March 15, 2010 - 05:35 pm:   

Edit MMSC.INI.

Create an [Outbound MMS Routing] section.

[Outbound MMS Routing]
nowsmslitemm7=*


Or

[Outbound MMS Routing]
nowsmslitemm7=+9*,9*,+8*,8*


There are only two MMS routes in NowSMS Lite. nowsmslite is the modem. nowsmslitemm7 is the MM7 connection for received MMS messages.

The configuration program will always configure DefaultOutboundRoute=nowsmslite

However, you can override this routing with entries in the [Outbound MMS Routing] section.
Neil Stamps
New member
Username: Neil

Post Number: 46
Registered: 12-2009
Posted on Tuesday, March 16, 2010 - 05:16 pm:   

I have set the rule
[Outbound MMS Routing]
nowsmslitemm7=+9*,+8*,+7*,+6*,+5*,+3*,+2*,+1*

and I am still getting MMS being processed. I can see the MMS processed count being incremented quickly, but the messages are still left in the queue - and they are then sent to the modem. Please advise
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1941
Registered: 08-2008
Posted on Tuesday, March 16, 2010 - 08:08 pm:   

In retrospect, it would probably be a lot easier if I just said that it wasn't possible.

You're doing something that NowSMS Lite was not designed to do.

That said, I think there is enough of the full NowSMS routing logic implemented that this can probably be accomplished with manual configuration edits. But it can be difficult to get them right.

Make sure that this setting is applied in MMSC.INI (not SMSGW.INI).

With the setting that you describe above, what recipients are still being routed via the modem. (I would expect any recipients that start with +4, or any recipients where the message was not submitted with a country code would still go to the modem.)

Can you post the full content of MMSC.INI ... it should be a rather simple file for a NowSMS Lite installation.

--
Des
NowSMS Support
Neil Stamps
New member
Username: Neil

Post Number: 47
Registered: 12-2009
Posted on Wednesday, March 17, 2010 - 09:50 am:   

application/octet-streamSMSGW
SMSGW.INI (0.6 k)


Here is the full settings file
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1945
Registered: 08-2008
Posted on Wednesday, March 17, 2010 - 07:29 pm:   

Looks like I made the correct guess in my previous reply.

This setting needs to be applied in MMSC.INI, not SMSGW.INI.

--
Des
NowSMS Support