Ozeki NG SMS Gateway logo OZEKI NG SMS Gateway
"The World's most reliable SMS gateway software!"

OZEKI NG SMS Gateway - Product Guide

Multiple SMS Contents | SearchCharacter sets

Home > Product Manual > Developers Guide > HTTP SMS API > Send message > Browser redirect

 


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 - Example #1 - Redirect browser

This example posts an SMS message to the SMS gateway, then redirects the browser to an url. The url in the example is http://www.yahoo.com

Example request:

http://127.0.0.1:9501/api?action=sendmessage&username=admin&password=abc123&
recipient=06203105366&messagetype=SMS:TEXT&messagedata=Hello+World&redirecturl=http%3A%2F%2Fwww.yahoo.com

Example response:

HTTP/1.1 302 Found
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 440
Content-Type: text/xml
Last-Modified: Wed, 13 Feb 2008 23:19:47 GMT
Location: http://www.yahoo.com
Server: OzekiNG/3.0.1 Microsoft-HTTPAPI/1.0
Date: Wed, 13 Feb 2008 22:19:46 GMT

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE response PUBLIC "-//OZEKI//DTD XML 1.0//EN" "http://192.168.91.10:9501/DTD/response.xml">
<response>
  <action>sendmessage</action>
  <data>
    <acceptreport>
      <statuscode>0</statuscode>
      <statusmessage>Message accepted for delivery</statusmessage>
      <messageid>ROTTTZFS</messageid>
      <recipient>06203105366</recipient>
    </acceptreport>
  </data>
</response>




Next page: Character sets
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Product Manual > Developers Guide > HTTP SMS API > Send message > Browser redirect
Legal | Privacy | Terms of use | 2429
3.235.107.209 | 92.118.27.157 | Login