Let the PBX initiate a call.
This requests let the PBX initiate a call. The call is processed as follows:
-
the client app use this request to specify the phone number to call.
-
the PBX calls the client phone.
-
when the client answers the call: the dails the requested phone number and bridges the two calls.
The app must register the phone before making a call (see Device Registration).
The PBX-Call-Initiation capabilty must be configured (see Capabilities).
Resource
POST /me/device/pbx_call
Parameters
None
Payload
The phone number the client requests to call.
Response
None
Context
Authorization |
User |
Device Registration |
Device with a phone number |
Capabilities |
PBX-Call-Initiation |
Errors
HTTP code | Xelion code | Description |
---|---|---|
400 |
10200 |
no phone number is specified. |
10202 |
failed to decode the phone number. |
|
10050 |
No device is registered with the session. |
|
10052 |
No phone number is registered with the device. |
Example
Request
POST https://xelion.nl/api/v1/master/me/device/pbx_call
Payload
"0650005000"