cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
0
Helpful
1
Replies

Logging the info on "show call history voice"

dcapello
Level 1
Level 1

Dear All;

Is it possible to store in a server (syslog, etc) the information provided by "show call history voice"? it doesn't need to match exactly the format of the command, I just need the detailed information of every call handled by the gateway.

 

Thank you.

 

Regards,

 

Diego

1 Reply 1

R0g22
Cisco Employee
Cisco Employee
Use CDR/gw accouting if you need to track the calls being handled. Or you can use the following EEM script -

event manager applet CALL-HISTORY
event timer watchdog time 100 >> this is in seconds. Tweak it if need be
action 1.0 syslog msg "Capturing show output"
action 2.0 cli command "en"
action 3.0 cli command "show clock | append flash:callhistory.txt"
action 4.0 cli command "show call history voice | append flash:callhistory.txt"
action 5.0 syslog msg "Call History Capture Successful"

The file will be stored in flash with this and you can pull them out when ever you need to.