Callcenter developers
If you are working on telephone solutions, please check
out the Ozeki VoIP SIP SDK.
It can be used to create: |
Webphone solutions:
- Adobe Flash video phone
- Silverlight video phone
- Web to web calls
- Web to VoIP calls
Custom SIP clients:
- Silverlight SIP VoIP client
- Flash SIP VoIP client
- C# .net SIP VoIP client
- ASP .net SIP VoIP client
- Web based SIP VoIP client
Custom VoIP solutions:
- VoIP SIP softphones
- VoIP call center clients
- VoIP IVR systems
- VoIP predictive dialer systems
- VoIP auto dialer systems
- VoIP call assistant
- VoIP call recording systems
- VoIP intercom solutions
|
HTTP SMS API - Example #2 - Html response
This example shows you the HTML response format when you post two
SMS messages and you specify the continue url. The html response format
is invoked by adding the "responseformat" parameter to the URL. Note that
the recipient parameter contains two telephone numbers separated by a colon. The
first telephone numbers is written using the international telephone
number format, which means it starts with a plus sign and a country code.
The URL also contains a parameter called "continueurl". This parameter carries
the urlencoded URL of www.yahoo.com.
Example request:
http://127.0.0.1:9501/api?action=sendmessage&username=admin&password=abc123&
recipient=%2B4412345678,06203105366&messagetype=SMS:TEXT&messagedata=Hello+World&
responseformat=html&continueurl=http%3A%2F%2Fwww.yahoo.com
Example response:
HTTP/1.1 200 OK
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 370
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 13 Feb 2008 23:32:56 GMT
Server: OzekiNG/3.0.1 Microsoft-HTTPAPI/1.0
Date: Wed, 13 Feb 2008 22:32:56 GMT
<HTML>
<HEAD>
<TITLE>SMS</TITLE>
<BODY>
Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: ZLBTLETB<br>
Recipient: +4412345678<br>
<br>
Status code: 0<br>
Status message: Message accepted for delivery<br>
Message ID: WSDFIRZI<br>
Recipient: 06203105366<br>
<br>
<a href='http://www.yahoo.com'>Click here to continue</a>
</BODY>
</HTML>
Next page:
Validity period
|