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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> JR Richardson
> Sent: Tuesday, April 08, 2008 5:02 AM
> To: [email protected]
> 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
>
_______________________________________________
-- 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