All pastes #56417 Raw Edit

Someone

public text v1 · immutable
#56417 ·published 2006-05-16 23:10 UTC
rendered paste body
[15:57] <outtolunc> but basically, i want a similar/same engine as the agent stats.. so i can blend them later down the road
[15:57] <outtolunc> so instead of parsing/inc'n from /var/log/asterisk/gnudialer/agent-campaign files
[15:58] <outtolunc> it's looking at the /tmp/campaign.helper.date files
[15:58] <outtolunc> side note
[15:58] <outtolunc> i was going over some numbers today
[15:58] <outtolunc> and it seems that the DB updates are happening correctly
[15:59] <outtolunc> but for some reason my Increment<this that> stuff isn't matching it exactly for whatever reason
[15:59] <outtolunc> so i'll have to track that down also
[16:01] <outtolunc> so
[16:02] <outtolunc>                 calls           = "0";
[16:02] <outtolunc>                 totalcalls      = "0";
[16:02] <outtolunc>                 abandons        = "0";
[16:02] <outtolunc>                 totalabandons   = "0";
[16:02] <outtolunc>                 datestring      = tDateString;
[16:02] <outtolunc>                 disconnects     = "0";
[16:02] <outtolunc>                 noanswers       = "0";
[16:02] <outtolunc>                 busies          = "0";
[16:02] <outtolunc>                 congestions     = "0";
[16:02] <outtolunc>                 ansmachs        = "0";
[16:02] * JuliJim has quit IRC
[16:02] <outtolunc> totalcalls and totalabandons aren't used anymore
[16:02] <outtolunc> but they don't hurt either
[16:03] <outtolunc> disconnects = -7, noanswers = -2, busies = -4, congestions = -5, ansmachs = -3
[16:05] <outtolunc> calls and abandons should be accumulated also