<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Jonathan,<br>
<br>
Could you provide me (off list) the pcap holding the 2 calls
(taken from OpenSIPS), and the OpenSIPS logs (covering the whole
scenario) in log_level 4 ?<br>
<br>
Thank you,<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">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 12/23/2016 05:52 PM, Jonathan Hunter
wrote:<br>
</div>
<blockquote
cite="mid:DB3PR02MB0609E4277B2984CDE0A24F6BD950@DB3PR02MB060.eurprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi Bogdan,</p>
<p><br>
</p>
<p>That seems to be better, certainly from the count
incrementing, however a couple of issues, I am now seeing
this error, and when first call hits opensips it doesnt now
route to the Agent who is logged in free and available;</p>
<p><br>
</p>
<div>: ERROR:b2b_entities:b2b_send_request: Can not send request
[INVITE] for entity type [0] for
dlg[0x7fe3f348a0f8]->[B2B.273.29] in terminated state</div>
<div>Dec 23 15:49:22 HPBXProxy1-beta
/usr/local/sbin/opensips[12140]: ERROR:b2b_logic:b2bl_bridge:
Failed to send INVITE request</div>
<div>Dec 23 15:49:22 HPBXProxy1-beta
/usr/local/sbin/opensips[12140]:
ERROR:call_center:set_call_leg: bridging failed</div>
<div>Dec 23 15:49:22 HPBXProxy1-beta
/usr/local/sbin/opensips[12140]:
ERROR:call_center:b2bl_callback_customer: failed to set new
destination for call</div>
<div>Dec 23 15:49:22 HPBXProxy1-beta
/usr/local/sbin/opensips[12140]:
ERROR:b2b_logic:b2b_logic_notify_request: The callback
function was unsuccessful</div>
<div><br>
</div>
<br>
<p><br>
</p>
<p>Also the first member in the queue is given value 0, and the
second is then given value 1, can it start at 1 or is there a
reason behind it?</p>
<p><br>
</p>
<p><br>
</p>
<p>Thanks</p>
<p><br>
</p>
<p>Jon</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 style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b>Sent:</b> 23 December 2016 14:14<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>
A Merry Christmas to you too !<br>
<br>
I found a small mistake in the original patch I sent you.
Please revert that one and use this new patch (see
attachment). Let me know if it does the trick.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" id="LPlnk635462" previewremoved="true">http://www.opensips-solutions.com</a></pre>
<div id="LPBorder_GT_14825081966820.34089631899289685"
style="margin-bottom: 20px; overflow: auto; width: 100%;
text-indent: 0px;">
<table id="LPContainer_14825081966770.1905333200340773"
style="width: 90%; background-color: rgb(255, 255, 255);
position: relative; overflow: auto; padding-top: 20px;
padding-bottom: 20px; margin-top: 20px; border-top: 1px
dotted rgb(200, 200, 200); border-bottom: 1px dotted
rgb(200, 200, 200);" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_14825081966780.7664544782002951"
colspan="1" style="width: 250px; position:
relative; display: table-cell; padding-right:
20px;">
<div
id="LPImageContainer_14825081966780.6779845168955085"
style="background-color: rgb(255, 255, 255);
height: 99px; position: relative; margin: auto;
display: table; width: 250px;">
<a moz-do-not-send="true"
id="LPImageAnchor_14825081966790.17048493127787112"
href="http://www.opensips-solutions.com/"
target="_blank" style="display: table-cell;
text-align: center;"><img
moz-do-not-send="true" aria-label="Preview
image with link selected. Double-tap to open
the link."
id="LPThumbnailImageID_14825081966790.8208665957108645"
style="display: inline-block; max-width:
250px; max-height: 250px; height: 99px;
width: 250px; border-width: 0px;
vertical-align: bottom;"
src="http://www.opensips-solutions.com/imgs/slideshow/slide3.jpg"
height="99" width="250"></a></div>
</td>
<td id="TextCell_14825081966800.3384754261767877"
colspan="2" style="vertical-align: top; position:
relative; padding: 0px; display: table-cell;">
<div id="LPTitle_14825081966800.19786983402287883"
style="top: 0px; color: rgb(0, 120, 215);
font-weight: normal; font-size: 21px;
font-family: wf_segoe-ui_light, "Segoe UI
Light", "Segoe WP Light",
"Segoe UI", "Segoe WP",
Tahoma, Arial, sans-serif; line-height: 21px;">
<a moz-do-not-send="true"
id="LPUrlAnchor_14825081966810.8189560065030828"
href="http://www.opensips-solutions.com/"
target="_blank" style="text-decoration: none;">Home
— OpenSIPS Solutions</a></div>
<div
id="LPMetadata_14825081966810.8885705763047189"
style="margin: 10px 0px 16px; color: rgb(102,
102, 102); font-weight: normal; font-family:
wf_segoe-ui_normal, "Segoe UI",
"Segoe WP", Tahoma, Arial, sans-serif;
font-size: 14px; line-height: 14px;">
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></div>
<div
id="LPDescription_14825081966810.31914654434098777"
style="display: block; color: rgb(102, 102,
102); font-weight: normal; font-family:
wf_segoe-ui_normal, "Segoe UI",
"Segoe WP", Tahoma, Arial, sans-serif;
font-size: 14px; line-height: 20px; max-height:
100px; overflow: hidden;">
OpenSIPS is a mature Open Source implementation
of a SIP server. OpenSIPS is more than a SIP
proxy/router as it includes application-level
functionalities.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div class="moz-cite-prefix">On 22.12.2016 13:58, Jonathan
Hunter wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" dir="ltr"
style="font-size:12pt; color:#000000;
font-family:Calibri,Arial,Helvetica,sans-serif">
<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="">cc_pos=0
for all the calls, this is with just one queue
defined to keep things very simple.</span></p>
<p><span style=""><br>
</span></p>
<p><span style="">Please let me know what debug or
information you require, here are some
outputs;</span></p>
<p><span style=""><br>
</span></p>
<p><span style=""></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><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
style="font-size:11pt" face="Calibri,
sans-serif" color="#000000"><b>From:</b>
Bogdan-Andrei Iancu
<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com" id="LPlnk214994" previewremoved="true">http://www.opensips-solutions.com</a></pre>
<br>
<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>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>