<div dir="ltr"><div><div>Any one? <br></div>Is this a bug? I can open a bug report, that its resetting  &quot;calls_<wbr>answered|talk_time&quot;  only when the agent change the status to Available. <br></div><div><br>Or is there a solid argument that this is how it should be. <br><br></div><div>Thank you,<br><br></div>-Jai <br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 1:47 AM, Alexandr Popov <span dir="ltr">&lt;<a href="mailto:alexandr.popov@iqoption.com" target="_blank">alexandr.popov@iqoption.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">yeah this counts needs only for max_no_answer behavior </div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-03-08 23:52 GMT+02:00 Jai Rangi <span dir="ltr">&lt;<a href="mailto:jprangi@gmail.com" target="_blank">jprangi@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><br>We are using call center module. We noticed one thing, if the agent change status to not available or on break and  then after a while come back to change the status to available. His stats (num of calls answered or talk_time) reset to 0. <br><br></div>Example,<br><br>callcenter_config queue list agents sales@domain<br>name|system|uuid|type|contact|<wbr>status|state|max_no_answer|wra<wbr>p_up_time|reject_delay_time|<wbr>busy_delay_time|no_answer_<wbr>delay_time|last_bridge_start|<wbr>last_bridge_end|last_offered_<wbr>call|last_status_change|no_<wbr>answer_count|calls_answered|<wbr>talk_time|ready_time<br>101@domain|single_box||callbac<wbr>k|[call_timeout=30]user/130@<wbr>domain|Available|Waiting|0|0|<wbr>0|0|0|0|0|1489009000|<wbr>1488960061|1|0|0|0<br>102@domain|single_box||callbac<wbr>k|[call_timeout=30]user/111@<wbr>jdomain|Available|Waiting|0|0|<wbr>60|60|0|1489009008|1489009016|<wbr>1489009000|1488960061<b>|0|1|8|0</b><br><div>   <br></div><div>Here I see 102, had one call for 8 seconds, <br></div><div>Change the agent status to break. <br>session:execute(&quot;set&quot;, &quot;res=${callcenter_config(agent set status ${caller_id_number}@${domain_n<wbr>ame} &#39;On Break&#39;)}&quot;)<br><br>101@domain|single_box||callbac<wbr>k|[call_timeout=30]user/101@<wbr>domain|Available|Waiting|0|0|<wbr>0|0|0|0|0|1489009000|<wbr>1488960061|1|0|0|0<br>102@domain|single_box||callbac<wbr>k|[call_timeout=30]user/101@<wbr>domain|On Break|Waiting|0|0|60|60|0|1489<wbr>009008|1489009016|1489009000|<wbr>1489009163|<b>0|1|8|0</b><br></div><div><br></div><div>Change the agent state to Available On Demand, stats are still there. <br>session:execute(&quot;set&quot;, &quot;res=${callcenter_config(agent set status ${caller_id_number}@${domain_n<wbr>ame} &#39;Available (On Demand)&#39;)}&quot;) <br><br>101@domain|single_box||callbac<wbr>k|[call_timeout=30]user/101@<wbr>domain|Available|Waiting|0|0|<wbr>0|0|0|0|0|1489009000|<wbr>1488960061|1|0|0|0<br>102@domain|single_box||callbac<wbr>k|[call_timeout=30]user/102@<wbr>domain|Available (On Demand)|Waiting|0|0|60|60|0|14<wbr>89009008|1489009016|1489009000<wbr>|1489009252|<b>0|1|8|0</b><br><br></div><div>Now changing to Available and stats are reset ed to 0,0, <br>session:execute(&quot;set&quot;, &quot;res=${callcenter_config(agent set status ${caller_id_number}@${domain_n<wbr>ame} &#39;Available&#39;)}&quot;)<br><br>101@domain|single_box||callbac<wbr>k|[call_timeout=30]user/101@<wbr>domain|Available|Waiting|0|0|<wbr>0|0|0|0|0|1489009000|<wbr>1488960061|1|0|0|0<br>102@domain|single_box||callbac<wbr>k|[call_timeout=30]user/102@<wbr>domain|Available|Waiting|0|0|<wbr>60|60|0|1489009008|1489009016|<wbr>1489009000|1489009415|0|0|0|0<br><br></div><div>Is there way to control this behavior. So basically we can to control the call stats. <br><br></div></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>