Time based dial plan configuration

Unanswered Question
May 31st, 2011

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?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Daniele Giordano Wed, 06/01/2011 - 05:04

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

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



This Discussion

Related Content