OpenVox Document Center OpenVox Document Center
  • Home 
  • Products 
  • Solutions 
  • Resources 
    • Document Center 
    • Datasheets 
    • Firmwares 
    • Videos 
  • Partners 
  • Blog 
  • Company 
OpenVox Document Center OpenVox Document Center
OpenVox Document Center
  • Home 
  • Products 
  • Solutions 
  • Resources 
    • Document Center 
    • Datasheets 
    • Firmwares 
    • Videos 
  • Partners 
  • Blog 
  • Company 

Wireless Gateway

  • folder icon closed folder iconUser Manual
    • SWG-2016/32 User Manual
    • VoxStack Series Wireless Gateway
    • SWG-3008/3016/32 User Manual
    • SWG-3016/32-4S User Manual
    • SWG-M20X User Manual
  • folder icon closed folder iconFunctions Guide
    • Interaction docking Guide
      • Wireless Gateway connects with 3CX
      • Wireless Gateway connects with asterisk16.15.1
      • Wireless Gateway FAQ connect with UC
      • Wireless Gateway connects with Freepbx15
      • Wireless Gateway connects with FreeSwitch1.10.5
  • folder icon closed folder iconApplication Notes
    • GSM Gateways APP Note
      • Expand Callback Function
      • APP Note_AMI
      • How to Bind the GSM Gateway Ports with PBX Sip Extension
      • OpenVox GSM Gateway HTTP Interface
      • How to Integrate the Analog Gateway and the GSM Gateway in One OpenVox Box
      • OpenVox GSM Gateway Function User Manual
      • Openvox HTTP SMS API Demo
      • OpenVox Wireless Gateway Connect with playSMS Manual
      • Remote Server Get CDR from GSM Gateway by AMI
      • VoxStack GSM Gateway API 1.0.0
      • VoxStack GSM Gateway Connect with iCallDrid Manual
      • VoxStack GSM Module Upgrading Guide
  • folder icon closed folder iconFAQ
    • The difference between the GWP Series gateway and the old version VS-GW1600/2120 Series gateway
    • Default IP and login information of various Gateways
    • SWG30XX-4S card position switching
    • How to update firmware when there is a file over limit pop-up
    • how to use smpp via diafaan ?
    • Product Comparison
  • folder icon closed folder iconfunction
    • Cloud Management – How to Connect to Cloud Management
    • Balance Inquiry – How to check the balance of your card on your device
    • Modify secondary dialing voice prompts
    • USSD API Sending – How to send USSD via API
    • Secondary Dialing – How to set up secondary dialing for outbound routing
    • Card switching strategy – how to make the sim card switch according to your expectations
    • Number lookup – How to look up the number of the card on the device and display it
    • Inbound routing, outbound routing
    • Call Forwarding – How to set up call forwarding
    • Call Waiting – How to set up call waiting
    • How to upgrade the system of the gateway
    • How to translate the language of a web page into the language you want
    • How to upload and download gateway configurations
    • How to restore factory settings via web or RST button
    • Turn on call logging and AT logging – How to turn on call logging and AT logging
    • Module Upgrade – How to Upgrade Module System
    • SMS API Delivery – How to send SMS through API and set up SMS server to receive it
    • SMS Restrictions – How to set SMS restrictions
    • Gateway connection vpn – if connecting to vpn

Wireless Gateway

  • folder icon closed folder iconUser Manual
    • SWG-2016/32 User Manual
    • VoxStack Series Wireless Gateway
    • SWG-3008/3016/32 User Manual
    • SWG-3016/32-4S User Manual
    • SWG-M20X User Manual
  • folder icon closed folder iconFunctions Guide
    • Interaction docking Guide
      • Wireless Gateway connects with 3CX
      • Wireless Gateway connects with asterisk16.15.1
      • Wireless Gateway FAQ connect with UC
      • Wireless Gateway connects with Freepbx15
      • Wireless Gateway connects with FreeSwitch1.10.5
  • folder icon closed folder iconApplication Notes
    • GSM Gateways APP Note
      • Expand Callback Function
      • APP Note_AMI
      • How to Bind the GSM Gateway Ports with PBX Sip Extension
      • OpenVox GSM Gateway HTTP Interface
      • How to Integrate the Analog Gateway and the GSM Gateway in One OpenVox Box
      • OpenVox GSM Gateway Function User Manual
      • Openvox HTTP SMS API Demo
      • OpenVox Wireless Gateway Connect with playSMS Manual
      • Remote Server Get CDR from GSM Gateway by AMI
      • VoxStack GSM Gateway API 1.0.0
      • VoxStack GSM Gateway Connect with iCallDrid Manual
      • VoxStack GSM Module Upgrading Guide
  • folder icon closed folder iconFAQ
    • The difference between the GWP Series gateway and the old version VS-GW1600/2120 Series gateway
    • Default IP and login information of various Gateways
    • SWG30XX-4S card position switching
    • How to update firmware when there is a file over limit pop-up
    • how to use smpp via diafaan ?
    • Product Comparison
  • folder icon closed folder iconfunction
    • Cloud Management – How to Connect to Cloud Management
    • Balance Inquiry – How to check the balance of your card on your device
    • Modify secondary dialing voice prompts
    • USSD API Sending – How to send USSD via API
    • Secondary Dialing – How to set up secondary dialing for outbound routing
    • Card switching strategy – how to make the sim card switch according to your expectations
    • Number lookup – How to look up the number of the card on the device and display it
    • Inbound routing, outbound routing
    • Call Forwarding – How to set up call forwarding
    • Call Waiting – How to set up call waiting
    • How to upgrade the system of the gateway
    • How to translate the language of a web page into the language you want
    • How to upload and download gateway configurations
    • How to restore factory settings via web or RST button
    • Turn on call logging and AT logging – How to turn on call logging and AT logging
    • Module Upgrade – How to Upgrade Module System
    • SMS API Delivery – How to send SMS through API and set up SMS server to receive it
    • SMS Restrictions – How to set SMS restrictions
    • Gateway connection vpn – if connecting to vpn

SMS API Delivery – How to send SMS through API and set up SMS server to receive it

Estimated reading: 2 minutes 177 views

Go to the SMS ——>SMS settings page
Follow the open button as shown in the picture

Pasted 61
Copy the URL link to your browser
Modify username, password, phone number, message parameters
Enter to send SMS
eg: use the card of port 1 to send hello to 10000

Pasted 62

 

Interface parameters detailed explanation
http://IP/sendsms? The link provides a detailed explanation of each parameter in the API, modify the IP to the IP of your own device, enter it into the browser to view.

 

Authentication Failed: Need valid username and password
HTTP to SMS
-------------------------
Usage: http://ip:port/sendsms?username=xxx&password=xxx&phonenumber=xxx&message=xxx&port=xxx&&report=xxx&timeout=xxx
	
1. Parameter Description
	
1.1 username
        Description:	The login username. Set in SMS settings page
        Default Value:	None
	Necessity:	Required
	
1.2 password
	Description:	The login password. Set in SMS settings page
	Default Value:	None
	Necessity:	Required
	
1.3 phonenumber
	Description:	Destination phonenumber to which the message is to be sent.
	Default Value:	None
	Necessity:	Required
	Example:	10086,10087,10088
	
1.4 message
	Description:	Message to be sent.
	Default Value:	None
	Necessity:	Required
	
1.5 port
	Description:	Gsm port from which the message will be sent. 
	Default Value:	By default, the message will be send from any ready gsm port of the gateway.
	Necessity:	Optional
	Example:	xxx-1, xxx-2, xxx-3 ...; eg: 1 or 2,3
			xxx-1.1, ..., xxx-2.5, xxx-2.6,... ; eg: 1, 2, ..., 5, 6,....
	
1.6 report
	Description:	Result of sending. You can choose JSON or String or NO. It can be Set in SMS settings page
	Default Value:	JSON
	Necessity:	Optional
	
1.7 timeout
	Description:	The report return timeout. Unit: second.
	Default Value:	0
	Necessity:	Optional
	
1.8 id
	Description:	The identity of SMS 
	Default Value:  null 
	Necessity:   	Optional
	
2. Report Format (charset: UTF-8)
	
2.1 JSON
	{
		"message":"xxx",
		"report":[{
			"0":[{
				"port":"1",
				"phonenumber":"10086",
				"time":"2014-04-29 11:11:11",
				"id":"1122",
				"result":"sending"
			}],
			"1":[{
				"port":"2",
				"phonenumber":"10087",
				"time":"2014-04-29 11:11:12",
				"id":"1123",
				"result":"fail"
			}],
		}]
	}
	
2.2 STRING
	
	message:xxx
	
	--record 1 start--
	port: 1
	phonenumber: 10086
	time: 2014-04-29 11:11:11
	id: 1122
	result: sending
	--record 1 end--
	
	--record 2 start--
	port: 2
	phonenumber: 10087
	time: 2014-04-29 11:11:12
	id: 1123
	result: fail
	--record 2 end--
-------------------------

 

Still stuck? How can we help?

Was this page helpful? Yes No

How can we help?

A premium WordPress theme with integrated Knowledge Base,
providing 24/7 community based support.

Leave a Comment Cancel reply

CONTENTS

Copyright © 2002-2022 OpenVox all rights reserved.