Inbound Hangup

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

Sample event response

This is the sample JSON call detail record(CDR), where the PIOPIY platform will notify your web server POST method URL.

{
"type": "event",
"leg": "a",
"conversation_uuid": "f3abcdb7-276e-4219-9358-7a03da88690a",
"time": 1571041441000,
"to": 4461000000,
"from": 9100000000,
"cmiuuid": "f3abcdb7-276e-4219-9358-7a03da88690a",
"direction": "inbound",
"appid": 2222226,
"status": "hangup"
}

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

Properties

These are the list of properties and its description

PropertyTypeDescription
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
tonumberYour incoming DID number
fromnumberThe number who made a call
cmiuuidstringA unique identifier of this call
directionstringDirection of this call
app_idnumberYour app id
statusstringStatus of this call