Skip to main content
Version: Next

Enroll this PBXware with a switch

PUT

/system/v2/channelbridge/switch

Platform support: MT and CC

Token Cost: 2 tokens (low)

Saves the switch address and the key, turns the switch sync on and starts the initial sync in the background. The initial sync sends every tenant, extension and DID to the switch. After it, the PBXware sends each change to the switch and sends the full lists again at a fixed interval. When sbc_address is set, the initial sync also creates the Channel Bridge trunk (CBTrunk).

The request returns when the initial sync starts, not when it ends. A second call saves the values again and starts a new initial sync.

If the initial sync cannot start, the PBXware keeps the switch settings it had before, or has no switch settings when there were none, and the request returns 500. If the PBXware cannot put the previous settings back, the new settings stay, the switch sync stays on, and the error detail says so.

If the PBXware cannot tell whether the initial sync started, the new settings stay and the request returns 500. Send the request again.

Request​

Responses​

The switch settings are saved and the initial sync started