[SR-Users] Queue implementation in kamailio
Ansuman Manna - Asergis Telecom
ansuman.manna at asergis.in
Wed Jan 7 12:36:08 CET 2015
Hi Bob,
Thanks for help.
Thing is how to get line status from Kamailio.Do I need to use xmpp or something to get the status ?
Regards,
Ansuman
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Robert Boisvert
Sent: 05 January 2015 20:13
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Queue implementation in kamailio
Ansuman,
If your question is, "How do I know when a line is ready to receive a call that is in queue?", then the answer is "that function is outside of the scope of mohqueue." Your code will have to determine that.
If your question is, "How do I select which call will be retrieved from the queue and redirected to another line?", then the answer is "mohq_retrieve () retrieves the oldest call in a queue and redirects it to a URI." (see http://kamailio.org/docs/modules/4.2.x/modules/mohqueue.html#retrieve.func)
Hope this helps to clarify how mohqueue works,
Bob
On Mon, Jan 5, 2015 at 2:21 AM, Ansuman Manna - Asergis Telecom <ansuman.manna at asergis.in> wrote:
Hi Bob,
My query is ,How to check which line is available to take call?I mean to say that how to check each line status, which is available and which is in call?
Regards,
Ansuman
From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Robert Boisvert
Sent: 04 January 2015 02:24
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Queue implementation in kamailio
Ansuman,
The mohqueue module was designed to redirect waiting callers into a Music-On-Hold (MOH) queue and when a line became available to pull them out of queue and redirect them to an available line. I'm not sure if this is what you have in mind. If so, I'm sorry but I don't understand your question. Can you clarify?
Thanks,
Bob
On Sat, Jan 3, 2015 at 7:34 AM, Ansuman Manna - Asergis Telecom <ansuman.manna at asergis.in> wrote:
Hi,
I am developing a system using Kamailio 4.2.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.
But think is that how can I get sip extension status in the particular queue?
Any help would be appreciated.
Thanks.
Regards,
Ansuman Manna
Software Developer
Asergis Telecom Services Private Limited
Office Tel: +91 11 6606 8400
Office Fax: +91 112554 5156
http://www.asergis.in
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150107/b3036120/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2586 bytes
Desc: image001.jpg
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150107/b3036120/attachment.jpg>
More information about the sr-users
mailing list