Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "type": "0",
  "id": "NqeyDRqo4FtabmFj8gNWq3hsiGNYyq",
  "method": "0",
  "note": "My extension event is awesome",
  "url": "http://mynEvent.com/SaveMyPhoneCallDetails",
  "status": "1",
  "modified": "2012-07-10T18:16:12+03:00",
  "links": {"self":"https://x.x.x.x/uapi/extensions/@me/0003*210/phoneCallEvents/0/NqeyDRqo4FtabmFj8gNWq3hsiGNYyq"}
 }

PhoneCallEvent fields

NameTypeDescription
typeNumber

Type of the Phone Call Event.
0 for Dial-In
1 for Dial-Out
2 for Hangup
3 for Answer incoming call
4 for Answer outgoing call 
 

idStringId of the Phone Call Event.
Must be alpha-numeric and 1 to 255 characters long.
urlStringThe URL that is accessed when the extension receives, makes or terminates a phone call.
Must be encoded using the RFC 3986.
methodNumber

The HTTP method used by the server to access the URL when an event occurs.
0 for GET
1 for POST

statusNumber

The status of the event.
0 for disabled
1 for enabled

noteStringNotes about the event.
modifiedDateDate when the event was last modified.



4psarelated
NameRelated Topics

Create PhoneCallEvents

Update PhoneCallEvents

List PhoneCallEvents

Delete PhoneCallEvents



Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.