Loading...

Follow NowSMS – Support Blog on Feedspot

Continue with Google
Continue with Facebook
or

Valid

When submitting an MMS message, it is frequently desirable to direct the message to a specific connection. The method for doing this varies depending on the protocol being used to submit the MMS message.

HTTP URL or POST Submission

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.

PHP

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”);

Java

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”);

Command Line Interface

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.

VB.Net

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”

C#.Net

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”;

Other Protocols

Sender address based routing is also available, where the outbound MMSC Route is selected based upon a match between the From address in the MMS message and the phone number of the modem.

Note that the modem phone number is not automatically configured by NowSMS (it is not readily available on some operator networks). For modems, this is the phone number configured for the modem in the SMSC list.

For other types of connections, this is the default sender address in the MMSC Routing definition.

Note that this phone number does not need to be the actual phone number, it can be an internal number that is only used for coordinating modem selection. In this way, if multiple modems are configured with the same phone number, a matching sender address can be routed via any matching modem.

Multiple Routes

It is also possible to specify that any of several routes can be used.

Instead of specifying only one routename in any of the above examples, use the following syntax in place of the route name:

route1:route2:route3

(i.e., separate route names with : character)

  • Show original
  • .
  • Share
  • .
  • Favorite
  • .
  • Email
  • .
  • Add Tags 

NowSMS 2018 supports a priority queue for SMS messages. A user account attribute (under “SMS Users”) is use to indicate that all SMS messages submitted by this account should be processed before messages submitted by non-priority accounts.

  • Show original
  • .
  • Share
  • .
  • Favorite
  • .
  • Email
  • .
  • Add Tags 

Especially useful for modem connections, NowSMS 2018 supports restrictions that can be used to limit the number of SMS messages sent over any individual SMS connection.

These restrictions can be accessed from the “SMSC” page in the NowSMS configuration. Highlight an SMSC connection and press the “Restrictions” button.

These settings are also available in the NowSMS Cloud Edition under Admin/Modem/Properties.

Daily Message Limit sets a limit on the number of SMS messages sent over this connection during any single day. If this limit is reached, the connection will stop being used for sending SMS until the next day. Messages will continue to be sent using other connections.

Monthly Message Limit sets a limit on the number of SMS messages sent over this connection during any individual month. If this limit is reached, the connection will stop being used for sending SMS until the next month. Messages will continue to be sent using other connections. By default, it is assumed that new months begin on the 1st day of the calendar month, however, a setting is available to define the first day of a new billing month to be used instead.

Quiet Hours define a time period during which no messages should be sent over this connection. Time is configured using a 24 hour clock. For example, to prevent sending messages between 8pm and 8am, define the time period as between 20:00 and 07:59.

Per Minute or Per Second Message Limit is defined using an expression of X messages per Y seconds. For example, to limit an SMPP connection to 5 messages per second, define a limit of 5 messages per 1 seconds. To limit a modem to 10 messages per minute, define a limit of 10 messages per 60 seconds or 1 messages per 6 seconds.

  • Show original
  • .
  • Share
  • .
  • Favorite
  • .
  • Email
  • .
  • Add Tags 

Separate tags by commas
To access this feature, please upgrade your account.
Start your free month
Free Preview