Mark,
 
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.
 
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.
 
Hope this helps,
Bob
 


On Thu, Jan 30, 2014 at 11:26 AM, <mark@brightvoip.co.uk> wrote:
Hi,
 
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.
 
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.
 
My question is what is the process for managing/automating the call to mohq_retrieve() to send calls to agents? Do I need to track agents with XMPP presence, etc?
 
Thanks,
Mark Hall
 

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users