<div dir="ltr"><div>Mark,</div><div> </div><div>That part depends on you.  There are so many ways to implement that function I decided not to make it a part of mohqueue.  mohq_retrieve () provides a way to move calls out, mohq_count () allows you to check for queued calls within Kamailio scripts, and the database tables allow you to query it externally.</div>
<div> </div><div>If you want to send information to the agents that a call is queued, you could write code in the Kamailio script to send this information when mohq_process () returns a true value.  You could also externally query the database tables.</div>
<div> </div><div>Hope this helps,</div><div>Bob</div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 11:26 AM,  <span dir="ltr"><<a href="mailto:mark@brightvoip.co.uk" target="_blank">mark@brightvoip.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div bgcolor="#ffffff">
<div><font face="Arial">Hi,</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">I am developing a system using Kamailio 
4.1.1 as a front-end to a group of Asterisk servers. All of the usual 
functionality (registations, inbound, outbound, internal calls) are fine. 
 We need to add call queueing to the system.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">I looked at the mohqueue module and read 
that we can use mohq_process() to send inbound calls to a suitably defined 
queue, based on the incoming URI.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">My question is what is the process for 
managing/automating the call to </font><font face="Arial">mohq_retrieve() to send calls to agents? Do I need to track 
agents with XMPP presence, etc?</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Thanks,</font></div>
<div><font face="Arial">Mark Hall</font></div>
<div><font face="Arial"></font> </div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>