[asterisk-users] How to block everyone outside of our lan

Gary Kuznitz docfxit at theoffice.la
Fri Dec 17 17:17:47 UTC 2010


I'd like to find out how to block everyone outside of 
the our LAN.  The following phone call got through:
   1. accountcode: Blank
   2. src: Caller*ID number Blank
   3. dst: Destination extension 901185294464086
   4. dcontext: Destination context DLPN_DialPlan1   
   5. clid: Caller*ID with text Blank
   6. channel: Channel used SIP/xxx-088c48d8
   7. dstchannel: Destination channel DAHDI/1-1   
   8. lastapp: Last application if appropriate Dial
   9. lastdata: Last application data (arguments) 
Dahdi/g1/01185294464086
  10. start: Start of call 2010-12-16 04:49:28
  11. answer: Answer of call 2010-12-16 04:49:32
  12. end: End of call 2010-12-16 04:49:52
  13. duration: Total time in system, 24seconds 
  14. billsec: Total time call is up, 20seconds 
  15. disposition: What happened to the call: 
ANSWERED
  16. amaflags: What flags to use: DOCUMENTATION 

In Sip.conf I have:
deny=0.0.0.0/0.0.0.0
 permit=192.168.1.201/255.255.255.255 
All the other local phones here
<snip>
One WanIP address

Thank you,

Gary Kuznitz



More information about the asterisk-users mailing list