Select MMS Route when sending MMS

Select MMS Route when sending MMS SearchSearch
Author Message
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8287
Registered: 10-2002
Posted on Tuesday, October 16, 2018 - 07:57 pm:   

From support email inbox


quote:

Hello Team,
I am sending SMS and MMS using java code which I got from NowSMS site, I am having more than one modem connected to the NowSMS application,
now for defining modem to my SMS I am using sendsms.sender and sendsms.smscroute.
My question is I am not able to see anything by which I can specify a modem for my MMS. I am configuring NowSMS with my application, in which I want to select the modem to send MMS.
Could you please suggest a way by which I can do it.

Thanks




Hi,

If you are submitting via HTTP (https://www.nowsms.com/doc/submitting-mms-messages/now-smsmms-proprietary-url-su bmission), you can specify an MMSCRoute=xxxx parameter, where xxxx is the name of the "MMSC Routing" definition. This will force the MMS message to go out the named route.

If you are using our PHP example at https://www.nowsms.com/doc/submitting-mms-messages/send-mms-message-with-php

When building the MMS message add:

$mmsMessage = MmsAddField ($mmsMessage, "MMSCRoute", "routename");

If you are using our Java example at https://www.nowsms.com/doc/submitting-mms-messages/send-mms-message-with-java

When building the MMS message add:

mms.addparameter ("MMSCRoute", "routename");

If you are using our command line example at https://www.nowsms.com/doc/submitting-mms-messages/send-mms-message-from-command - line

Include MMSCRoute=routename as a command line parameter.

If you are using our VB.Net example at https://www.nowsms.com/doc/submitting-mms-messages/send-mms-message-with-vb-net

When building the MMS message add:

form("MMSCRoute") = "routename"

If you are using our C#.Net example at https://www.nowsms.com/doc/submitting-mms-messages/send-mms-message-with-c-net

When building the MMS message add:

form("MMSCRoute") = "routename";


-bn

Bryce Norwood
Now SMS/MMS Support

Add Your Message Here, or click here to start a new topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Options: Automatically activate URLs in message
Action: