[asterisk-users] sip configuration masking the peers

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jul 22 12:27:13 CDT 2009


On Wednesday 22 July 2009 03:44:22 peace keeper wrote:
> currentlly users in network1 can register as peer 2003 which is supposed to
> be allowed just for users from network2 , although this registration is
> supposed to be failed, any suggestions plz!!
>
> hope I made the scenario clear , any help would appreciated.
> Thanks in advance.

What you're missing in your configuration are permit and deny lines, e.g.

[peer1]
...
deny=0.0.0.0/0
permit=192.168.1.0/24

[peer2]
...
deny=0.0.0.0/0
permit=192.168.2.0/24

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-users mailing list