[asterisk-users] Anyone have a method of keeping an incrementaltally of calls?
Stelios Koroneos
skoroneos at digital-opsis.com
Tue Apr 8 01:56:02 CDT 2008
Hi JR !
You could use dbget/dbput to have something like that
i.e
Set(foo=${DB(counter/counter_val)})
Set(foo=${MATH(${foo}+1)}) ;
Set(DB(counter/counter_val)=${foo})
Stelios S. Koroneos
Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> JR Richardson
> Sent: Tuesday, April 08, 2008 5:02 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] Anyone have a method of keeping an
> incrementaltally of calls?
>
> Hi All,
>
> I thought I read a post a while back of a system call or
> something in the dialplan whereby a call count can be
> incremented and spit out to a text file.
>
> Not like a group count of active channels.
>
> What I would like to accomplish is have an incremental count
> of a specific dialplan routine that gets called, so after a
> week or month, I can see how many times a specific dilaplan
> action has been used.
>
> Thanks for any advice.
>
> JR
> --
> JR Richardson
> Engineering for the Masses
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list