Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

blocking outside access to specific extension

Status
Not open for further replies.

isaacman

MIS
Jul 26, 2005
39
0
0
US
Does any one know how to block or preven a specific extention to call out or received incoming calls...
 
Let's say their extension is 123, create an extension for them in extensions.conf called blocked:

[blocked]
exten => _1NXXNXXXXXX,1,Hangup
exten => _NXXNXXXXXX,1,Hangup
exten => _NXXXXXX,1,Hangup
exten => 123,1,Hangup

Then in sip.conf change their context to:

context = blocked

perl -e 'print $i=pack(c5,(40*2),sqrt(7600),(unpack(c,Q)-3+1+3+3-7),oct(104),10,oct(101));'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top