<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Bogdan,<div><br></div><div>Thanks for the response, and yes I understand you are envisioning a solution, which I appreciate as usual :)</div><div><br></div><div>Yes the addition of cc_pos would work for me, as I can extract any number of variables form the ruri, this would do the job.</div><div><br></div><div>Thanks</div><div><br></div><div>Jon<br><br><div><hr id="stopSpelling">Subject: Re: [OpenSIPS-Users] opensips 2.1 call_center queue position<br>To: hunterj91@hotmail.com; users@lists.opensips.org<br>From: bogdan@opensips.org<br>Date: Thu, 13 Oct 2016 13:59:40 +0300<br><br>
<tt>Hi Jonathan,<br>
<br>
No, currently this is not possible. I was trying to envision a solution
for your need.<br>
<br>
But, checking the code, it is really difficult to add the headers
to the INVITEs originated by OpenSIPS (via the B2BUA), as we need
some flexibility (different headers to different INVITEs belonging
to the same B2B scenario , and even more, we need to traverse
couple of internal APIs - to propagate the hdrs from Call center
module all the way to TM).<br>
<br>
So, a simpler approach may be to add such extra info as URI params
to the RURI. Like if you have the RURI
<a class="ecxmoz-txt-link-rfc2396E" href="mailto:sip:queue@192.168.1.10:5060">"sip:queue@192.168.1.10:5060"</a> for the queue/waiting playback, the
RURI in the INVITE to the media server will look like : </tt><tt><a class="ecxmoz-txt-link-abbreviated" href="mailto:sip:queue@192.168.1.10:5060;cc_eta=40;cc_pos=10">sip:queue@192.168.1.10:5060;cc_eta=40;cc_pos=10</a>
- cc_eta being the estimated time to wait in seconds and cc_pos
the position in the queue.<br>
<br>
What do you think of this ?<br>
<br>
Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div class="ecxmoz-cite-prefix">On 12.10.2016 17:21, Jonathan Hunter
wrote:<br>
</div>
<blockquote cite="mid:DUB126-W24916E3FF08FE6A76E49AEBDDD0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Bogdan,
<div><br>
</div>
<div>Yes being able to grab the queue position would be perfect.</div>
<div><br>
</div>
<div>Is that possible?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon<br>
<br>
<div>
<hr id="ecxstopSpelling">Subject: Re: [OpenSIPS-Users] opensips
2.1 call_center queue position<br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
Date: Wed, 12 Oct 2016 15:42:43 +0300<br>
<br>
<tt>Hi Jonathan,<br>
<br>
When a call is mapped to a flow / queue (before playing
the welcome message), we know the ETA (estimated time to
wait) and when is placed in the queue (before playing the
queuing) we internally know the position in the queue.<br>
<br>
Would it help to have the position in the queue placed
into a custome SIP header, when sending the INVITE to the
message_queue URL ? or to the welcome message ?<br>
<br>
Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div class="ecxmoz-cite-prefix">On 12.10.2016 12:06,
Jonathan Hunter wrote:<br>
</div>
<blockquote cite="mid:DUB126-W86A189505F12B8E86317FEBDDD0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hello Bogdan,
<div><br>
</div>
<div>Thanks for the response.</div>
<div><br>
</div>
<div>In terms of my question, with a number of queuing
platforms, they have the capability to tell the
caller, what position they are in , and when they are
likely to be answered.</div>
<div><br>
</div>
<div>I just wondered if this logic was already within
the module, or if I would need to use an external
code/script to facilitate this function?</div>
<div><br>
</div>
<div>As I presume call_center tracks the number of calls
currently in a queue ? I would then want to be able to
extract that information, and if a caller was for
example in 3rd place in a queue, I could inject the
relevant audio from freeswitch to tell them their
current position?</div>
<div><br>
</div>
<div>Does that make sense? :) Just wanted to know if
its something this module can do?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon<br>
<br>
<div>
<hr id="ecxstopSpelling">Subject: Re:
[OpenSIPS-Users] opensips 2.1 call_center queue
position<br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>;
<a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
Date: Wed, 12 Oct 2016 11:23:45 +0300<br>
<br>
<tt>Hello Jon,<br>
<br>
The message_queue is a SIP URI pointing to an
audio announcement to play to roll of the
waiting/in-queue playback. This needs to be an
announcements that never ends (from the
perspective of the media server); only the the
OpenSIPS Queue may terminate the playback, when it
decides to take out the call from waiting and to
deliver it to an agent.<br>
<br>
As for your question, I'm not sure I understand
what you mean by "inject a message with queue
position for the caller in question" - could you
detail please ?<br>
<br>
Regards,<br>
</tt>
<pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div class="ecxmoz-cite-prefix">On 11.10.2016 13:36,
Jonathan Hunter wrote:<br>
</div>
<blockquote cite="mid:DUB126-W4C31317383BA1DDF1A6E3BDDA0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">
<div><span style="font-size:12pt;">Hi guys,</span></div>
<div><br>
</div>
<div>I have implemented an opensips/freeswitch
environment, and I wish to add call queues to
it, and I like the look of call_center, so
just checking this out in comparison to
mod_callcenter in FS world.</div>
<div><br>
</div>
<div>My main question is if using the
call_center module if you can inject a message
with queue position for the caller in
question, as I cant see that in documentation,
I only see message_queue which I assume could
be used to report the callers position, but
just wondered if anyone has done this and if
they could give me some tips as to if
possible?</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br></div></div>                                            </div></body>
</html>