Configuring server to authorise a LAN IP to receive sip call

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
supbrekeke
Posts: 2
Joined: Mon Jun 18, 2012 5:49 pm

Configuring server to authorise a LAN IP to receive sip call

Post by supbrekeke »

1. Brekeke Product Name and version: Brekeke PBX

2. Java version:

3. OS type and the version: Win Server 2003

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

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

6. Your problem: How do we configure Brekeke PBX server to authorise a LAN IP to receive sip call?
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

Use $addr variable at DialPlan's Matching Patterns.

For example, if you want to accept 192.168.0.1 only.
$addr = ^192.168.0.1$

Refer to the document for more details.
supbrekeke
Posts: 2
Joined: Mon Jun 18, 2012 5:49 pm

Location of document

Post by supbrekeke »

Thanks Tata.

Kindly point out which document we should refer to for further guidance on adding $addr = ^192.168.0.1$ into dial Matching Patterns.

Cheers!
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

The following wiki topic will help.
http://wiki.brekeke.com/wiki/Authentica ... IP-address
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

There is the definition of "$addr" in the Brekeke SIP Server's Admin Guide. The section is "4.3.2 Reference of Conditional Functions"
http://www.brekeke-sip.com/download/bss ... min_en.pdf

Also, there are some examples in the DialPlan tutorial.
http://www.brekeke-sip.com/download/bss ... lan_en.pdf
Post Reply