Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"
info@ozekisms.com
Tel.: +36 1 371 0150
SMS Gateway to send SMS via GSM modem or IP SMS connection Overview SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Quick start SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Download SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Manual SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection How to buy SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection FAQ SMS Gateway to send SMS via GSM modem or IP SMS connection SMS Gateway to send SMS via GSM modem or IP SMS connection Contact Us SMS Gateway to send SMS via GSM modem or IP SMS connection
OZEKI NG SMS Gateway - Product Guide

Urlencode Contents | SearchOperate with single message

Home > Product Manual > Developers Guide > HTTP SMS API > Select operator

SMS Gateway SMS Gateway Home

  Product Manual
  Introduction
  SMS technology
  Installation Guide
  User Guide
  Developers Guide
  Tutorials
  ASP SMS API
  PHP SMS API
  HTTP SMS API
  Send message
  Receive message
  Billing methods
  Urlencode
  Select operator
  Operate with single message
  Query the addressbook
  Operations with message folders
  Examples
  User handling
  Service Provider Connection Handling
  Reporting API
  Dynamic SMPP parameters
  SQL SMS API
  C Sharp SMS API
  AJAX SMS API
  Delphi SMS API
  Cpp SMS API
  Java SMS API
  VB.NET SMS API
  Python SMS API
  Perl SMS API
  TCL/TK SMS API
  Coldfusion SMS API
  VB 6 SMS API
  Examples and Solutions
  Appendix
  FAQ
  Feature list
  Commercial Information
  Search
  Cookie policy
 


Automated phone calls?
Ozeki Phone System XE VoIP PBX software is an advanced PBX built for automated voice calls and 2 way SMS messaging. It has outstanding APIs for software developers. It can be used for:

Phone calls from SQL
Phone calls from HTTP
Voice and SMS applications

Callcenter developers
If you are working on telephone solutions, please check out the Ozeki VoIP SIP SDK.
It can be used to create VoIP client and server software.

Contact Us!
If you wish to get further information, do not hesitate to contact us!

E-mail: info@ozekisms.com

If you have a technical question, please submit a support request on-line.

HTTP SMS API - service provider connection selection

This guide gives information on how you can select an attached GSM Modem or IP SMS service provider connection when you send a message using the HTTP API.

Static routing

In most cases you would use the outgoing routing table to control which connection should be used for an outgoing message. The outgoing routing table can be configured to make the decision based on sending user account, message content, sender and recipient phone number. When a message is being sent, it is matched against the (regular expression) pattern stored in the outgoing routing table. The pattern can match the sending user account, message content, sender and recipient phone number. If the pattern matches the outgoing message, the appropriate rule is applied to decide which GSM modem or IP SMS connection should be used to send the message.

Dynamic routing

If you do not want to use static routes defined in the outgoing routing table, you have to enable the "Allow routing table override." feature on the "Advanced" tab of the user "Configuration form" (Figure 1).


Figure 1 - Enable SMS routing override for a user

After this option is enabled you can define the serviceprovider name in the HTTP request to specify which GSM modem or IP SMS service provider connection should be used to send the message. (The service provider name is configured in the configuration form of the GSM Modem or IP SMS Service provider connection.) To send a message through a specific modem or IP SMS connection you have to include the "serviceProvider" optional parameter in your request (Figure 2).




Figure 2 - Send SMS through a specific connection

Example HTTP request for sending an SMS using GSMModem1:

http://127.0.0.1:9501/httpapi?action=sendMessage&username=admin&password=abc123& recipient=06203105366&messageData=hello&serviceProvider=GSMModem1



Next page: Operate with single message
Copyright © 2000 - 2017 Ozeki Informatics Ltd.
All rights reserved

Software PBX for Windows | VoIP SDK   |   Legal information   |   Privacy policy   |   Terms of use
Please, address your inquiries to info@ozekisms.com