You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With IncomingPhoneNumber **statusCallback**, you can subscribe to receive webhooks for different events on the incoming phone number.
107
+
108
+
The statusCallback events are:
109
+
110
+
* RINGING
111
+
* IN_PROGRESS
112
+
* COMPLETED
113
+
114
+
==== statusCallbackMethod
115
+
116
+
The *statusCallbackMethod* attribute allows you to specify which HTTP method Restcomm should use when requesting the URL in the statusCallback attribute. The default is POST.
117
+
118
+
==== Status Callback HTTP Parameters
119
+
120
+
The parameters Restcomm passes to your application in its asynchronous request to the StatusCallback URL include all parameters passed in a synchronous request to retrieve RCML when Restcomm receives a call to one of your Restcomm numbers. The full list of parameters and descriptions of each are in the RCML Voice Request documentation.
121
+
122
+
When the call progress events are fired, the Status Callback request also passes these additional parameters:
|CallSid |A unique identifier for this call, generated by Restcomm. You can use the `CallSid` to modify the child call by POSTing to Calls/\{CallSid} with a new RCML URL.
128
+
|InstanceId |A unique identifier for this Restcomm-Connect instance.
129
+
|OutboundCallSid | **optional** - A unique identifier for the outbound leg of this call
130
+
|AccountSid | A unique identifier of the account that this number belongs
131
+
|From | A string that describes the From address
132
+
|To | A string that describes the To address
133
+
|CallStatus |A descriptive status for the call. The value is one of **`ringing`**, **`in-progress`**, **`completed`**.
134
+
|ApiVersion | A string that describes the Restcomm-Connect REST API version
135
+
|Direction | A string that describes the direction of the call
136
+
|CallerName | **optional** A string that represents the callers name, if available
137
+
|ForwardedFrom | **optiona** A string that represents the number that the call was forwarded from
138
+
|CallTimestamp | A string the describe the timestamp of the call
139
+
|ReferTarget | **optional** A string that describes the transfer target, if this call started by a transfer
140
+
|Transferor | **optional** A string that describes the transferor, if this call started by a transfer
141
+
|Transferee | **optional** A string that describes the transferee, if this call started by a transfer
142
+
|DialSipCallId | **optional** The SIP Call-ID header value for final SIP Responses to the call
143
+
|DialSipResponseCode | **optional** The SIP response code for final SIP Responses to the call
144
+
|DialSipHeader_ | **optional** The SIP custome headers (if any) for final SIP Responses to the call
0 commit comments