Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Time based dial plan configuration

Hello experts!

We're trying to maximize security on our VOIP Gateway to avoid being victimized by long distance/international toll fraud. In efforts to address this concern, we're looking to somehow deploy a time based dial plan on our gateway (2821) which based on that it automatically shutdown outbound international dial peer for any calls made during off work hours (i.e 7pm- 7am including weekends):

!

dial-peer voice 119 pots

destination-pattern 01T

port 0/0/0:23

forward-digits 16

!

I understand this can be done inside Callmanager (we're running Callmanager 4.1(3)) as well but for extra security pre-caution we'd like to have it on our gateway preferably. Is there any way to accomplish this task on a 2821 VOIP Gateway?

Thanks,

Everyone's tags (1)
1 REPLY

Re: Time based dial plan configuration

You can use kron command.

This is an example:


kron occurrence NIGHT at 20:00 recurring
policy-list SHUT_DIALPEER

kron occurrence DAY at 8:00 recurring
policy-list NOSHUT_DIALPEER


kron policy-list SHUT_DIALPEER
cli dial-peer voice 119 pots
cli shutdown

kron policy-list NOSHUT_DIALPEER
cli dial-peer voice 119 pots
cli no shutdown

Regards.

350
Views
0
Helpful
1
Replies
CreatePlease to create content