How to make especial rules

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
sunnytan
Posts: 9
Joined: Tue Mar 03, 2009 12:22 am

How to make especial rules

Post by sunnytan »

1. Brekeke Product Name and version:
Version 2.2.6.2 Standard
2. Java version:
1.5
3. OS type and the version:
Windows2003 Standard SP2
4. UA (phone), gateway or other hardware/software involved:
gateway
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :
Pattern 9
6. Your problem:
I have a Server that install Brekeke is in the public(X.X.X.41).
My SIP provider(X.X.X.200).
I have three gateway(A/B/C) at diffrent country.
GatewayA&B: Through Server(X.X.X.41) Upper Registration to SIP provider(X.X.X.200).
Like: A/B--->Server(X.X.X.41)--->provider(X.X.X.200).
GatewayC: Directness registered at SIP provider(X.X.X.200).
Like: C-->provider(X.X.X.200).

I want make a rule that can do: A/B/C can call each other.

I make a rule, but failed:
Matching Patterns
$request=^INVITE
To=sip:(.+)@X.X.X.41
Deploy Patterns
To=sip:%1@X.X.X.200
sunnytan
Posts: 9
Joined: Tue Mar 03, 2009 12:22 am

Solution

Post by sunnytan »

I had solve it. When the GW that registered at X.X.X.41 want callout. Dialer prefix 011 Only.

Matching Patterns
$request=^INVITE
To=sip:(.+)@
Deploy Patterns
To=sip:%1@X.X.X.200
Post Reply