[asterisk-users] Customized Queuing Strategy

Atis Lezdins atis at iq-labs.net
Mon Aug 4 04:29:08 CDT 2008


Sorry for previous blank answer :)

On Mon, Aug 4, 2008 at 1:20 PM, Syed Nasruddin <nasruddin at ncel.com.pk> wrote:
> Hi Thanks ALL for reply,
>
> If I use cascading queue will it do the trick?? The only problem is (as
> mentioned in below example) if a call enters testq and get answered then
> after hungup at the agent end only will the call will again enter the
> next queue which is testq2 as in this example.??

Check the QUEUESTATUS variable: http://www.voip-info.org/wiki-Asterisk+cmd+Queue

>
> Moreover if I keep penalty 1 for all the first 5 agents and penalty 2 or
> higher for all the next 5 agents and implement ringall strategy will it
> do the same effect??

Yes

>
> exten => 1589,1,Answer
>  exten => 1589,2,Ringing
>  exten => 1589,3,Wait(2)
>  exten => 1589,4,Queue(testq|t|||45)

if ("${QUEUESTATUS"="") Hangup();

>  exten => 1589,5,Queue(testq2|t|||45)
>  exten => 1589,6,Hangup

Regards,
Atis



>
> thanks in advance.
>
> Syed nasr
>
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alex
> Balashov
> Sent: Monday, August 04, 2008 1:38 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Customized Queuing Strategy
>
> Syed Nasruddin wrote:
>
>
>> 1. 10 Call Center Agents.
>>
>> 2.   All the calls coming in will ALWAYS be routed to specific 5
> agents,
>> firstly.
>>
>> 4. IF ALL the first 5 agents are busy then ONLY then the call will be
>> routed to next 5 Agents.
>
> Set up two queues.  Call Queue() on the first queue - corresponding to
> #1 - with a rather strict timeout.  Fall back on the second queue.
>
> More sophisticated strategies require either the modification of the
> source code for app_queue, or custom queue implementation in AGI.
>
> --
> Alex Balashov
> Evariste Systems
> Web    : http://www.evaristesys.com/
> Tel    : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (706) 338-8599
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835



More information about the asterisk-users mailing list