call
for an incoming call, sms
for an incoming message, or http
for an HTTP request.
These variables are set when an incoming call triggers a PHLO.
- call.uuid UUID of the incoming call
- call.to Phone number or SIP endpoint to which the call is made. Generally, it’s the phone number or SIP endpoint that triggered the PHLO.
- call.from Phone number or SIP endpoint from which the call is made
- call.start_time Time when the call started
- call.answer_time UTC time when the call is answered
- call.end_time UTC time when the call ended
- call.direction The direction of the call is set to
inbound
- call.to_iso2 ISO alpha-2 code of the country to which the to phone number belongs
- call.from_iso2 ISO alpha-2 code of the country to which the from phone number belongs
- call.to_country Country to which the to phone number belongs
- call.from_country Country to which the from phone number belongs
- call.leg The leg for the inbound call is set to
ALeg
- call.hangup_cause Code of the hangup cause corresponding to the reason for the hangup
- call.duration Duration (in seconds) of the call since the dial
- call.bill_duration Duration (in seconds) of the call that is billed
- call.bill_rate Unit rate applicable for the call
- call.bill_amount Amount billed for the call
- message.message_uuid UUID of the incoming message
- message.time UTC time when the message is received
- message.direction Direction of the SMS is set to
inbound
- message.status Status is set to
received
- message.to Phone number to which the SMS is sent
- message.from Phone number from which the SMS is sent
- message.to_iso2 ISO alpha-2 code of the country to which the to phone number belongs
- message.from_iso2 ISO alpha-2 code of the country to which the from phone number belongs
- message.to_country Country to which the to phone number belongs
- message.from_country Country to which the from phone number belongs
- message.msg The content of the received SMS
- message.units The number of SMS units required to send the message
- message.total_rate Unit rate applicable for the SMS
- message.total_amount Amount billed for the SMS
- request.uuid Unique identifier for the API request
- request.params Payload sent in the API Request. The keys present in the payload can be configured in the child nodes.