10-23-2012 01:54 PM
How monitor multiple dial-peer (Connect Time) ??
When this reaches the defined time accumulated connected (example: Connect Time = 10000) shutdown the dial-peer.
UC520#show dial-peer voice 2 | beg Connect
Connect Time = 1430, Charged Units = 0,
Successful Calls = 2, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 1445373634.
Last Disconnect Time = 1445375144.
enable dial-peer in a day of the month date concurrently (example: Every day 15 of each month)
commands used:
clear statistics dial-peer voice 1
show dial-peer voice 1 | beg Connect Time
Thanks
Felix Guzman
10-23-2012 02:08 PM
That this can be done automatically using EEM technology
10-26-2012 05:45 PM
This should be doable with an EEM policy. If I understand you correctly you want to watch for connect time to reach 10000 when it does you want to shutdown the dial peer.
And then enable every 1th day of each month.
The first part you would do with a watchdog EEM policy which periodically runs and checks the output of the show dial-peer voice 2 command.
The second part you probably would use a second EEM script to trigger on a cron timer set for the 15th day of the month, and have it run the commands you mentioned.
Thanks.
10-29-2012 10:28 AM
Hello Jason !!!!
I have very little experience with EEM and TCL script
Any help on this could be great.
Also to read manuals or recommend for these two technologies (EEM and TCL Script)?
Thanks
Felix Guzman
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