07-11-2011 12:51 PM - edited 03-16-2019 05:54 AM
Hello Dears,
I'm trying to block calls to PSTN Network, especially international calls for specific extensions (IP Phones).
I'm not able to do it through the after-hours block calls, because of the destination-pattern I'm using under the dial-peer voice pots
I'm using the following Pattern ( destination-pattern [9] ), when I do press 9 i'm redirected to the PSTN line but no restrictions on calls.
I'm using the following config under the telephony-service:
after-hours block pattern 1 900............
after-hours block pattern 2 90.........
after-hours block pattern 2 90T
but nothing happened.
any idea please
thanks
Ibrahim
07-11-2011 12:55 PM
Are you using SCCP phones ?
07-11-2011 12:57 PM
Yes I'm using SCCP phones.
07-11-2011 02:41 PM
Hello,
Use the corlist , here is some information and how to use it :
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
Amer
07-11-2011 03:42 PM
Do you have a DP as 9 or 9T ?
If so you won't be able to use the blocks above mentioned, because the Dp pre-emtps them.
07-12-2011 02:07 AM
you need to add the time when to block these calls
add 7-24 at the end of your block patterns commands
or you need to add extra command as
after-hours day or after-hours date
wish this be helpful
07-12-2011 03:06 AM
Hello hythamhadad,
thanks for your input
here is the configuration I did:
dial-peer voice 1 pots
destination-pattern [9]
port 0/0/0
forward-digits 0
Telephony-Service
after-hours block pattern 1 900............ 7-24
after-hours block pattern 2 90......... 7-24
after-hours block pattern 2 90T 7-24
I already did add the 7-24.
I guess htat Amer's input is the solution (corlist).
Regards,
Ibrahim
07-12-2011 03:19 AM
I explained to you above already:
If so you won't be able to use the blocks above mentioned, because the Dp preemtps them.
Configure normal destiantion-patterns, not 9T and you will be able to use after-hours block
07-12-2011 03:25 AM
Hi Paolo,
now I'm using the destination-pattern [9], what do you mean by normal destination-pattern ?
if i used normal destination-patterns, would I be able to get the pstn line from the number 9 ?
Thanks for your help
Ibrahim,
07-12-2011 07:50 AM
As explained to you above twice already:
If you "get the pstn line", you will be unable to block calls using any menthod, because the CME has comeplted the call already.
If you use normal destination-pattern according to the dialplan of your county, you will be able to block calls using any method.
Please remember to rate useful posts clicking on the stars below.
07-12-2011 09:00 AM
As my colleagues said in this page you can see all information:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
A resume will be:
1- Assign a meaningful name that specifies the way CORs apply to dial-peers
2- Create the actual lists of the restrictions that apply to the dial-peer.
3- Create dial-peers and specify the COR list to be used.
4- Apply the COR list to the individual phones/Ephone-dns.
example from web page:
Dial-peer cor custom
name 911
Dial-peer cor list call911
Member 911
Dial-peer voice 4 pots
Destination-pattern 911
Port 1/0/1
Corlist outgoing call911
Ephone-dn 1
Number 1001
Cor incoming call911
Regards!
07-12-2011 09:07 AM
ivan aguilar wrote:
As my colleagues said in this page you can see all information:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
...
As mentioned above three times already:
COR WILL NOT WORK BECAUSE THE CALL IS ALREADY CONNECTED DUE TO "DESTINATION-PATTERN 9"
Please make sure you read and undertand the matter IN FULL before posting.
07-12-2011 10:38 AM
Paolo,
I just wanted to let you know that I really enjoy reading your responses like these when I'm bored at work.
07-12-2011 10:51 AM
Glad to know I'm making your workplace experience more enjoiable
07-12-2011 10:58 AM
Thanks Paolo for your efforts,
Thank you Ivan,
I'm gonna use the corlist with the normal destination-pattern.
Regards,
Ibrahim
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide