[Freeswitch-users] Resetting FS call counters

Chris Tunbridge blasterjr at gmail.com
Sat Jan 30 00:40:51 MSK 2016


Another option is to track the last value of the failed calls, and then
take the new number - old number of failed and you get "failed since last
check", then if new is ever less than old, treat the new number as the
failed since last check.

On Fri, Jan 29, 2016 at 2:15 PM, Oz Mortimer <omortimer at gmail.com> wrote:

> Isn't processing cdrs the correct approach?
>
> On 29 Jan 2016, at 19:35, Brian West <brian at freeswitch.org> wrote:
>
> Restart the profile is the only thing you can do currently.
>
> On Fri, Jan 29, 2016 at 1:08 PM, Kurtis Heimerl <kheimerl at cs.berkeley.edu>
> wrote:
>
>> Hello All,
>>
>> I'd like to gather statistics about call failures. FS already does this
>> for gateways:
>>
>> freeswitch at internal> sofia status external
>>     Profile::Gateway-Name                               Data
>>  State  Ping Time        IB Calls(F/T)   OB Calls(F/T)
>>
>> =================================================================================================
>>              NAME::NAME          sip:FreeSWITCH at IP_ADDRESS        NOREG
>>    0.00   0/0     290/453
>>
>> =================================================================================================
>> 1 gateway: *Inbound(Failed/Total): 0/0,Outbound(Failed/Total):290/453*
>>
>> However, this statistic is already aggregated and I'd like it in time
>> series.
>>
>> Is there a way to reset it to zero after a lookup in order to figure out
>> how many calls have happened since the last query?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160129/41d0e8f7/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list