[cisco-voip] wanna block outside calls for only 2 ephone users

Brian Henry Brian.Henry at apptis.com
Wed Feb 21 10:47:04 EST 2007


Every phone must be able to dial "911"
 
 
dial-peer cor custom
 name E911
 name LOCAL
 name LONGDISTANCE
 name INTERNATIONAL
 name TFRAUD
 name PAGING
!
!
dial-peer cor list CALL911
 member E911
!
dial-peer cor list CALLLOCAL
 member LOCAL
!
dial-peer cor list CALLLD
 member LONGDISTANCE
!
dial-peer cor list CALLINTL
 member INTERNATIONAL
!
dial-peer cor list CALLTOLLFRAUD
 member TFRAUD
!
dial-peer cor list EXECUTIVE
 member E911
 member LOCAL
 member LONGDISTANCE
 member INTERNATIONAL
!
dial-peer cor list ASSISTANT
 member E911
 member LOCAL
 member LONGDISTANCE
 member INTERNATIONAL
!
dial-peer cor list EMPLOYEE
 member E911
 member LOCAL
 member LONGDISTANCE
!
dial-peer cor list LOBBY
 member E911
 member LOCAL
!
dial-peer cor list INTERNAL
 member E911
!
dial-peer cor list PAGING
 member PAGING
!
dial-peer cor list RECEPTIONIST
 member E911
 member LOCAL
 member LONGDISTANCE
 member PAGING
 
 
dial-peer voice 100 pots
 corlist outgoing CALLLOCAL
 description "Outgoing 7D PSTN Access for Local Calls"
 destination-pattern 9[2-9].......$
 translate-outgoing calling 3
 port 0/0/0:23
 forward-digits 7
 
 
dial-peer voice 200 pots
 corlist outgoing CALLLOCAL
 description "Outgoing 10D PSTN Access for Local Calls"
 destination-pattern 9[2-9]..[2-9]......$
 translate-outgoing calling 3
 port 0/0/0:23
 forward-digits 10
 
 
dial-peer voice 300 pots
 corlist outgoing CALLLD
 description "Outgoing 11D PSTN Access for Long Distance Calls"
 destination-pattern 91[2-9]..[2-9]......$
 translate-outgoing calling 3
 port 0/0/0:23
 forward-digits 11
 
 
dial-peer voice 400 pots
 corlist outgoing CALLINTL
 description "Outgoing PSTN Access for International Calls"
 destination-pattern 9011T
 translate-outgoing calling 3
 port 0/0/0:23
 prefix 011
 
dial-peer voice 9111 pots
 corlist outgoing CALL911
 description "Outgoing PSTN Access for Emergency Calls"
 destination-pattern 911
 translate-outgoing calling 3
 port 0/0/0:23
 forward-digits 3
 
dial-peer voice 99111 pots
 corlist outgoing CALL911
 description "Outgoing PSTN Access for Emergency Calls"
 destination-pattern 9911
 translate-outgoing calling 3
 port 0/0/0:23
 forward-digits 3
 
 
ephone-dn  1  dual-line
 number 3801
 description 301XXXXXXX
 name Lastname FirstName
 call-forward max-length 4
 call-forward busy 3800
 call-forward noan 3800 timeout 16
 corlist incoming INTERNAL
 
 
Brian

________________________________

From: cisco-voip-bounces at puck.nether.net on behalf of gokhan senol
Sent: Wed 2/21/2007 9:03 AM
To: cisco-voip at puck.nether.net
Subject: [cisco-voip] wanna block outside calls for only 2 ephone users



hi eveybody

 

 i got ccme 2851 router. ccme 3.3,,  i got one pri line /

i want to restrict outside calls for 2 ip phone users but i want them to call internal only.

how can i do it. any example config pls

 

thanks

 


________________________________

Have a burning question? Go to Yahoo! Answers <http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx>  and get answers from real people who know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070221/08fc19fa/attachment.html 


More information about the cisco-voip mailing list