NewExten
Parameter
gateway
encoded
Event
Channel
Context
Extension
Priority
Application
AppData
Uniqueid
event_time
Description
(string, required) – API KEY identifying the gateway
(int, required) – set to 1 if sending encoding data, 0 otherwise
(string, required) – type of event (“Newexten”)
(string, required) – Dialed destination in the format of Protocol/Channel (i.e SIP/101-0000)
(string, required) – Context of the call (i.e "outbound")
(string, required) – Destination of the call
(string, optional) – Priority of the call
(string, required) – Application (i.e Dial/AGI etc)
(string,required) – Application Data (i.e ZAP/G1/17070)
(string, required) – custom unique ID which matches the uniqueID later sent in the CDR event
(DateTime, optional) – Local time of your PBX
Sample NewExten POST Request:
gateway=YOUR_APIKEY&encoded=0&Event=NewExten&Channel=SIP/101-3f3f&Context=outbound&Extension=917070&Priority=1&Application=Dial&AppData=SIP/trunk_name/15551231233&UniqueID=123456789.001&event_time=2011-01-25 13:41:48
Reload/Shutdown
Parameter
gateway
encoded
Event
Message
event_time
Description
(string, required) – API KEY identifying the gateway
(int, required) – set to 1 if sending encoding data, 0 otherwise
(string, required) – type of event (“Reload”, "Shutdown")
(string, required) – Custom message
(DateTime, optional) – Local time of your PBX
Sample Reload/Shutdown POST Request:
gateway=YOUR_APIKEY&encoded=0&Event=Reload&Message=Config%20Reloaded&event_time=2011-01-25 13:41:48
  • When in doubt, leave required fields with "0" or blank, or contact us for help