You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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",
        "parameters": ["a=1", "b=2"],
        "endpoints": [{
            "name": "gw_name1",
            "type": "sipGateway",
            "dialString": "&reg0.$1"
          },
          {
            "name": "1000",
            "type": "device",
            "parameters": ["c=3"]
          },
          {
            "name": "1001",
            "type": "user",
            "domainName": "10.10.10.144",
            "parameters": ["d=3"]
          }]
	}
}
ValueDescription
strategy
  • multiple - no limit to concurrency, first one to answer wins.
  • failover -  no limit to failover number.
parameters
Set variables to all endpoints.

Endpoints

sipGateway

ValueDescription
name

SIP gateway name.

dialString

Dialed number to this endpoint. &reg0.$1 = destination number

parameters
Set variables to this endpoint.

user

ValueDescription
name

User name.

domainName
User domain name.
parameters
Set variables to this endpoint.

device

ValueDescription
name

Device name in current domain.

parameters
Set variables to this endpoint.
  • No labels