New Call
This webhook is sent when a new call is created on the platform, it is configured at the appplication level
Authentication
AuthorizationBasic
Basic authentication of the form Basic <username:password>.
Request
Information about a new call
call_sid
a unique identifier for the call.
call_id
the call id in our server.
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 jambonz
* `outbound` - The call was originated by jambonz
Allowed values:
from
the calling party number
to
the called party number
caller_name
the caller name, if known
sip_status
the most recent sip status code received or generated for the call
sip_reason
descripton of the last SIP status
call_status
current status of the call:
* `trying` - a new incoming call has arrived or an outbound call has just been sent
* `ringing` - a 180 Ringing response has been sent or received
* `early-media` - an early media connection has been established prior to answering the call (183 Session Progress)
* `in-progress` - call has been answered
* `completed` - an answered call has ended
* `failed` - a call attempt failed
* `busy` - a call attempt failed because the called party returned a busy status
* `no-answer` - a call attempt failed because it was not answered in time
sbc_callid
the orignal call ID of the call when it arrived at jambonz
originating_sip_ip
The IP address that send the call to jambonz
originating_sip_trunk_name
The name of the carrier in Jambonz that recieved the call
local_sip_address
Internal Address of the Feature Server handling the call
service_provider_sid
The ID of the service provider the account handling the call belongs to
sip
The SIP request for the call
env_vars
Application Environment Variables configured for the applicaiton
Response
Return a 200 containing a JSON payload consisting of an array of verbs