Outbound Ringing

Our PIOPIY platform will notify the following sample JSON live event to your web server POST method URL, when an outbound call is ringing.

Sample event response

This is the sample JSON live event, where the PIOPIY platform will notify your web server POST method URL.

  • Leg A
  • Leg B
"type": "event",
"leg": "a",
"conversation_uuid": "f1151c8f-db36-4818-b5b1-436beec52bfd",
"time": 1571044224000,
"to": 9100000000,
"from": 4471000000,
"cmiuuid": "f1151c8f-db36-4818-b5b1-436beec52bfd",
"direction": "outbound",
"appid": 2222226,
"callerid": 04471000000,
"vn": 4471000000,
"status": "ringing"

The above sample JSON live event consists of several properties. Each property has a description and take a look at it.


These are the list of properties and its description

typestringType of notification from PIOPIY platform it may be cdr or event
legstringDefine the leg of the call either a or b
conversation_uuidstringA unique identifier of this conversation
timenumberTimestamp of this call
tonumberThe number the call was made to
fromnumberYour default DID Number
cmiuuidstringA unique identifier of this call
directionstringDirection of this call
app_idnumberYour app id
calleridnumberThe incoming DID number
vnnumberYour default DID Number
statusstringStatus of this call