Bridge a new channel to the existing one.Generally used to route an incoming call to one or more endpoints. Multiple endpoints can be dialed simultaneously or sequentially.
{ "bridge": { "strategy": "multiple", "pickup": "mygroup", "parameters": ["a=1", "instant_ringback=true"], "endpoints": [{ "name": "gw_name1", "type": "sipGateway", "dialString": "®0.$1", "parameters": ["absolute_codec_string='PCMA,G729'"] }, { "name": "1000", "type": "device" }, { "name": "1001", "type": "user", "domainName": "10.10.10.144", "parameters": ["d=3"] }] } }
Value | Description |
---|---|
strategy |
|
pickup | pickup group name. The pickup endpoint is a dummy channel that never answers to which you can originate from anywhere you can place calls. |
parameters | Set variables to all endpoints. Some useful variables:
|
Endpoints
sipGateway
Value | Description |
---|---|
name | SIP gateway name. |
dialString | Dialed number to this endpoint. ®0.$1 = destination number |
parameters | Set variables to this endpoint. |
user
Value | Description |
---|---|
name | User name. |
domainName | User domain name. |
parameters | Set variables to this endpoint. |
device
Value | Description |
---|---|
name | Device name in current domain. |
parameters | Set variables to this endpoint. |