<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Hi Bogdan,</span><br>
</p>
<div style="color: rgb(0, 0, 0);">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Merry Christmas to you and the mailing list!</p>
<p><br>
</p>
<p>I am testing the real queue position, and with one call in progress, and then 2 subsequent calls, both of which hit the hold music loop, I unfortunately dont see the position value increment, it remains at <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">cc_pos=0
for all the calls, this is with just one queue defined to keep things very simple.</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px"><br>
</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">Please let me know what debug or information you require, here are some outputs;</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px"><br>
</span></p>
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px"></span></p>
<div>
<div><br>
</div>
<div><br>
</div>
<div>opensipsctl fifo cc_list_calls</div>
<div>Call:: 255.0 Ref=2 State=queued Call Time=2 Flow=Cust1<br>
</div>
<div>Call:: 884.0 Ref=2 State=queued Call Time=51 Flow=Cust1</div>
<div>Call:: 344.0 Ref=1 State=toagent Call Time=70 Flow=Cust1 Agent=2000</div>
<div><br>
</div>
<div>opensipsctl fifo cc_list_agents</div>
<div>Agent:: 2000 Ref=1 Loged in=YES State=incall<br>
</div>
<div><br>
</div>
<div>opensipsctl fifo cc_list_flows</div>
<div>Flow:: Cust1 Avg Call Duration=199 Processed Calls=3 Logged Agents=1 Ongoing Calls=3 Ref=3<br>
</div>
<div><br>
</div>
<div>opensipsctl fifo cc_list_queue</div>
<div>Call:: 0 Waiting for=114 ETW=0<br>
</div>
<div> Flow:: Cust1 Priority=256 Skill=custcare</div>
<div>Call:: 1 Waiting for=65 ETW=199</div>
<div> Flow:: Cust1 Priority=256 Skill=custcare</div>
<div><br>
</div>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
<br>
<p></p>
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Bogdan-Andrei Iancu <bogdan@opensips.org><br>
<b>Sent:</b> 07 November 2016 20:41<br>
<b>To:</b> Jonathan Hunter; OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] opensips 2.1 call_center queue position</font>
<div> </div>
</div>
<div><tt>Hi Jonathan,<br>
<br>
I was not able to test it with a real queue, so let me know if it really does the job (in terms of reporting the real position in the queue).<br>
<br>
Some questions:<br>
1) currently I add that value only when sending to the queue / MOH - do you foresee any need to be added for other announcements like for welcome ?<br>
<br>
2) will it be useful to add the ETW (estimate time to wait) ? is it useful ?<br>
<br>
Regards, <br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" id="LPlnk214994" previewremoved="true">http://www.opensips-solutions.com</a></pre>
<br>
<div class="moz-cite-prefix"></div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div><br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</div>
</div>
<style>
<!--
.ExternalClass .ecxhmmessage p
{padding:0px}
.ExternalClass body.ecxhmmessage
{font-size:12pt;
font-family:Calibri}
-->
</style></div>
</body>
</html>