cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
870
Views
0
Helpful
2
Replies

Limit call by time range to particular country

meandaneth
Level 1
Level 1

Dear All,

Anyone can give me idea how to set up time range on particular countries ? For instant i have 2 dialpeer with have the same destination country like USA

and i want set time from 7:00 PM to 11:00 AM match on dial-peer100 voip and 11:01 AM to 6:59 PM match on dial-peer 200 voip.

Best Regards,

Danet

2 Replies 2

I never tested a similar scenario but I think that you can use "kron" command to shutdown a specific dial-peer.
This is an example to shutdown an interface:


event manager applet INTDOWN
event none
action 10.0 cli command "enable"
action 20.0 cli command "conf t"
action 30.0 cli command "interface FastEthernet0/0"
action 40.0 cli command "shutdown"
action 50.0 syslog msg "Interface Down!"

kron occurrence KRON1 at 22:25 oneshot
policy-list KRONLIST
!
kron policy-list KRONLIST
cli event manager run INTDOWN


You can find more informations on cisco command reference guides.

Good luck.

Dear Daniele,

Your guide line quite solved the problem.

best Regards,

Danet