New Call
This webhook is sent when a new call is created on the platform, it is configured at the appplication level
Payload
The payload of this webhook request is an object.
call_sid
a unique identifier for the call.
application_sid
a unique identifier for the jambonz application controlling this call
account_sid
a unique identifier for the jambonz account associated with the application
direction
the direction of the call:
inbound
- The call was originated outside jambonzoutbound
- The call was originated by jambonz
Allowed values:
from
the calling party number
to
the called party number
caller_id
the caller name, if known
sip_status
the most recent sip status code received or generated for the call
call_status
current status of the call:
trying
- a new incoming call has arrived or an outbound call has just been sentringing
- a 180 Ringing response has been sent or receivedearly-media
- an early media connection has been established prior to answering the call (183 Session Progress)in-progress
- call has been answeredcompleted
- an answered call has endedfailed
- a call attempt failedbusy
- a call attempt failed because the called party returned a busy statusno-answer
- a call attempt failed because it was not answered in time
Response
200
any
Return a 200 status to indicate that the data was received successfully.