Brekeke SIP Server Wiki

Connect to Gateways with Brekeke SIP Server

Dial plans are needed for receiving and sending calls from and to gateways.

Add the following dial plan rules in Brekeke SIP Server admintool > [Dial Plan]

Rule 1: Accept calls from a gateway
-------------------------------
[Matching Patterns]
$request = ^INVITE
$addr = gateway_IP_address

[Deploy Patterns]
$auth = false
$continue = true
-------------------------------

with this rule, the calls from “gateway_IP_address” will be accepted by Brekeke SIP Server.

 

Rule 2: Send calls to a gateway
-----------------------------------
[Matching Patterns]
$request = ^INVITE
To = sip:0(.+)@

[Deploy Patterns]
To = sip:%1@gateway_IP_address
-----------------------------------

With this rule, the calls with prefix 0 in dialing numbers will be sent to “gateway_IP_address” without prefix 0.
For example, if you dial 01113333, the call will be sent to gateway as 1113333 with Rule 2.

Replace “gateway_IP_address” in above rules with the real IP address of gateway.

 

Related links:
Yes No
Suggest Edit