cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
755
Views
0
Helpful
4
Replies

Voice translation log hits

Hi there,

I was wondering if anyone knows of a way to log the number of times that a voice translation get's used on an H323 gateway? Sort of like a hit count.

I quess the way in an access list you can put "log" at the end of the statment.

Is this going to have to be an eem script job?

Thanks

Alexis

http://www.netpacket.co.uk/ http://www.blog.netpacket.co.uk/
4 Replies 4

paolo bevilacqua
Hall of Fame
Hall of Fame

There is no way.

sort of resolved it ;-) Not sure is anyone can think of a better way of doing it

This will sent an email after the number is used 5 times....

turn "debug isdn q931" on

event manager environment _email_server X.X.X.X

event manager environment _email_to alex_XXXXX@XXX.XXX

event manager environment _ra_count 0

event manager applet MonitorNumber

event syslog pattern "0123456789" period 2

action 101 set tmp "$_ra_count"

action 102 increment tmp

action 103 cli command "enable"

action 104 cli command "config t"

action 105 cli command "event manager environment _ra_count $tmp"

action 106 if $_ra_count ge "5"

action 107  syslog msg "Conference Call number limit reached! Number:$tmp"

action 108  cli command "enable"

action 109  cli command "config t"

action 110  cli command "event manager environment _ra_count 0"

action 111  mail server "$_email_server" to "$_email_to" from "$_email_to" subject "Conference Call number limit reach on MLIV001-010CVG02_RA"

action 112  syslog msg "Email sent to $_email_to Conference Call number limit reset to 0"

action 113 end

cheers

alexis

http://www.netpacket.co.uk/ http://www.blog.netpacket.co.uk/

To limit calls, you can use max-conn under dial-peer. But that is not what you have asked in the original posting.

thats correct.. to limit calls you can use max-conn

all the script dose is sent you an email telling you that the number your monitoring has been used at least 5 times... which is what i asked for in the original post .. something to monitor the number of time a number is used. Only want to monitor not block

anyway got there in the end

cheers

alexis

http://www.netpacket.co.uk/ http://www.blog.netpacket.co.uk/