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

USSD API Sending – How to send USSD via API

Estimated reading: 2 minutes 303 views

Open the interface as shown in the figure.

 

Pasted

Pass http://IP:80/sendussd?link for a detailed explanation of the specific parameters.
Authentication failed: Valid user name and password required

HTTP to USSD
————————-
Usage: http://ip:port/sendussd?username=xxx&password=xxx&message=xxx&port=xxx&timeout=xxx

1. Parameter parsinga

1.1 User name
Description: Login user name, can be set in USSD page
Default value: None
Required field: Yes

1.2 password
Description: The password for login, which can be set in the USSD page
Default value: None
Mandatory field: Yes

1.3 message
Description: Text message content.
Default value: None
Mandatory field: Yes

1.4 port
Description: The port to which the SMS will be sent.
Default: The default SMS will be sent from a randomly selected port among all ready ports.
Mandatory: Optional
Example: 1 or 1,2

1.5 timeout
Description: Timeout for sending USSD
Default value: 0
Mandatory: Optional

1.6 id
Description: The id number of the sent USSD
Default value: null
Mandatory field: optional

2. SMS report format (charset: UTF-8)

2.1 JSON
{
“message”: “xxx”,
“report”:[{
“0”:[{
“port”: “1”,
“time”: “2014-04-29 11:11:11”,
“id”: “1122”,
“result”: “sending”
}],
“1”:[{
“port”: “2”,
“time”: “2014-04-29 11:11:12”,
“id”: “1123”,
“result”: “fail”
}],
}]
}

2.2 STRING

message:xxx

–record 1 start–
port: 1
time: 2014-04-29 11:11:11
id: 1122
result: sending
–record 1 end–

–record 2 start–
port: 2
time: 2014-04-29 11:11:12
id: 1123
result: fail
–record 2 end–

 

Example: Sending *#301# using a mobile card

Pasted 1

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.