[asterisk-dev] Add new option to Queue function

Nguyen Hoang Son nhson at vasc.com.vn
Fri Apr 25 08:59:41 CDT 2014

Hi all, 
I'm using Queue function of Asterisk to arrange calls which is coming to my agents. I want to customize the way asterisk arrange coming call, in other word, is it possible to create a new option instead of using the existing: RINGALL, ROUNDROBIN,... . For example: The incoming call should come to the argent who has the most waiting time (idle time). I find out that the algorithm of each option of Queue is defined in "app_queue.c" in the source code but I don't know how to change, how to add the waiting time as a new option to sort by. 

This question is quite related to the development of asterisk, so please help if you have any idea or experience on that. Thank you very much.



M-Commerce Center

VASC Software and Media Company - VNPT

Addr: No.97 Nguyen Chi Thanh Street, Dong Da District, Hanoi, Vietnam

Cell phone: +84 912998101

Skype: hoangsonk49

E-mail: nhson at vasc.com.vn 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140425/6d6999f1/attachment.html>

More information about the asterisk-dev mailing list