Dial Plan help.

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
achooi
Posts: 21
Joined: Mon Aug 17, 2009 2:48 pm

Dial Plan help.

Post by achooi »

1. Brekeke Product Name and version: Brekeke SIP Server , Version 2.3.7.4 Standard

2. Java version: 1.5.0 (build 1.5.0_07-b03)

3. OS type and the version: Windows Server 2003 Ent. Edition. SP2

4. UA (phone), gateway or other hardware/software involved: pap2

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : Pattern 4

6. Your problem: My BSS is just set as a relay server. I basicly have my own SerProxy & Asterisk servers behind the Brekeke SIP server that does the SIP messaging & authentication. I want to know, how can I set up a dial plan to only allow devices that are trying to register to my sip domains only. Because the server is wideopen and set up to relay, pap2's using other services other than mine as using my server as a relay as well. My brekeke sip server address is used as an "Outbound Proxy" in the pap2 devices. so whoever has the IP address of my BSS, can use it as an outbound proxy to their provider.

When I entered the dial plan, it would not allow any devices to register. Here is the dial plan i added. I had each one for each of my sip domain:

$request=^REGISTER
To=sip:(.+)@x.x.com

$auth=false

In the "SIP Configuration" i set "Register" to "On"

Am I doing this correctly?
Any help you can provide would be great.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

matching pattern
$request=^REGISTER
To=sip:(.+)@x.x.com

deploy pattern
$auth=false
$action = register
kyawthu
Posts: 6
Joined: Tue Aug 18, 2009 7:20 pm

Post by kyawthu »

I have no idea why i cannot create a new thread. So..let me hijack this thread for a while. Let say I have one port FXO SIP gateway and get them to registered with BSS. Assume the gateway is sip id is 85555. What i want to do is if the user call 65xxxxxxxx, the call should go out from 85555.

Matching Patterns

$request = ^INVITE
To = sip:(65.+)@

Deploy Patterns

To = sip:%1@host

will this work?
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

it works when fxo support one stage dialing.
and with the dialplan, dialing number sent to host(gateway) will be 65xxxxxx.
Post Reply