Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Dial Plan help.
Author Message
achooi
Brekeke Member


Joined: 17 Aug 2009
Posts: 21

PostPosted: Fri Aug 21, 2009 2:48 pm    Post subject: Dial Plan help. Reply with quote

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/networkpatterns.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.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Aug 24, 2009 9:54 am    Post subject: Reply with quote


Matching Patterns
$request = ^REGISTER
To = sip:(.+)@x.x.com
Deploy Patterns
$auth = false
$action = register
Back to top
View user's profile
kyawthu
Brekeke Junior Member


Joined: 18 Aug 2009
Posts: 6

PostPosted: Tue Sep 01, 2009 4:58 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Sep 02, 2009 5:03 pm    Post subject: Reply with quote

it works when fxo support one stage dialing.
and with the dialplan, dialing number sent to host(gateway) will be 65xxxxxx.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1