Hi., do you think that sbr policy in queue strategy will be useful? Bye ---------- Forwarded message ---------- From: nik600 <nik600 at gmail.com> Date: Sat, 7 Mar 2009 15:21:14 +0100 Subject: add a new queue strategy: SBR To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com> Hi to all isn't there any plan to add the Skills Based Routing strategy in queues.conf? I think that it will be enough to add an int skill to the struct member and then order the member by skill desc. Is it enough to add this type of strategy in calc_metric in app_queue.c ? thanks -- /*************/ nik600 http://www.kumbe.it -- /*************/ nik600 http://www.kumbe.it
the queue already have prioritys. David 2009/3/8 nik600 <nik600 at gmail.com>> Hi., do you think that sbr policy in queue strategy will be useful? > > Bye > > ---------- Forwarded message ---------- > From: nik600 <nik600 at gmail.com> > Date: Sat, 7 Mar 2009 15:21:14 +0100 > Subject: add a new queue strategy: SBR > To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com> > > Hi to all isn't there any plan to add the Skills Based Routing > strategy in queues.conf? > > I think that it will be enough to add an int skill to the struct > member and then order the member by skill desc. > > Is it enough to add this type of strategy in calc_metric in app_queue.c ? > > thanks > > -- > /*************/ > nik600 > http://www.kumbe.it > > > > -- > /*************/ > nik600 > http://www.kumbe.it > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090308/efa53719/attachment.htm
Florian Hackenberger
2009-Apr-05 13:57 UTC
[asterisk-users] Fwd: add a new queue strategy: SBR
On Sunday 08 March 2009 17:11:33 nik600 wrote:> Hi to all isn't there any plan to add the Skills Based Routing > strategy in queues.conf? > > I think that it will be enough to add an int skill to the struct > member and then order the member by skill desc. > > Is it enough to add this type of strategy in calc_metric in app_queue.c ?Hi! I have written a patch implementing skill based routing for asterisk 1.4.17 (can be ported to later versions quite easily). It works like this: You define a database table which stores the skills: columns: membername, skillname, skill_level You set the strategy to skill based and set a variable for each incoming call which specifies which skills to take into account, the weight of the skill and the minimum level (optional). When selecting agents to ring, asterisk picks the agents according to the highest value of weighted skills (skill level multiplied by skill weight for all skills taken into account for that particular call). If an agent does not satisfy the minimum, this agent does not ring at all. You can for example use the minimum to make sure only agents speaking a particular language get a call which requires that language. The implementation is finished and we are currently testing it. Unfortunately I'm quite busy at the moment and it may take about 2 months before I can take the time to release the code. Unless someone hires me as a consultant to work on it. Cheers, Florian -- DI Florian Hackenberger florian at hackenberger.at www.hackenberger.at