cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

2914
Views
16
Helpful
16
Replies
Ibrahim Alsharif
Beginner

Block PSTN Calls on Cisco CME

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

16 REPLIES 16
paolo bevilacqua
Hall of Fame Master

Are you using SCCP phones ?

Yes I'm using SCCP phones.

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

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.

Hythim Ali El Hadad
Frequent Contributor

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

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

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

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,

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.

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!

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.

Paolo,

I just wanted to let you know that I really enjoy reading your responses like these when I'm bored at work.

Glad to know I'm making your workplace experience more enjoiable

Thanks Paolo for your efforts,

Thank you Ivan,

I'm gonna use the corlist with the normal destination-pattern.

Regards,

Ibrahim

Content for Community-Ad