[Asterisk-Users] app_queue and dialplan

CW_ASN - Gus cw_asn at fibertel.com.ar
Mon Jan 26 12:11:27 MST 2004


Try with:

http://bugs.digium.com/bug_view_page.php?bug_id=0000214

Regards,

Gus

----- Original Message ----- 
From: "Anton Yurchenko" <phila at dg.net.ua>
To: <asterisk-users at lists.digium.com>
Sent: Monday, January 26, 2004 9:59 AM
Subject: [Asterisk-Users] app_queue and dialplan


> Hello,
> 
> I`m trying to achive this:
> 1. when the initial call comes in it is served by a small queue with 
> short timeout so that at first caller hears only ringing
> 2. if nobody answers the call at that time or the queue is all full the 
> call goes to the Playback the message ( "please hold bla bla bla")
> 3. Then the call goes to another queue and he holds while the 
> music-on-hold plays a app_queue trys to reach the next free operator
> 4. after a timeout in second queue there is a Goto to play the message 
> again and then back into the second queue
> 
> 
> I have it like this:
> 
> extensions.conf:
> exten => 10,1,Queue(q1_short,tn)
> exten => 10,2,Answer
> exten => 10,3,Playback(please_hold)
> exten => 10,4,Queue(q1,t)
> exten => 10,5,Goto(3)
> 
> 
> queue.conf:
> 
> [q1]
> music = test
> announce = test_anounce
> timeout = 40
> retry = 3
> maxlen = 10
> 
> strategy = leastrecent
> 
> member => SIP/111
> member => SIP/112
> member => SIP/113
> member => SIP/114
> member => SIP/115
> 
> 
> [q1_short]
> music = test
> announce = test_anounce
> timeout = 15
> retry = 3
> maxlen = 3
> strategy = leastrecent
> member => SIP/111
> member => SIP/112
> member => SIP/113
> member => SIP/114
> member => SIP/115
> 
> 
> but the broblem is when the q1_short is full, and the call goes to the 
> q1 it only plays the announce message and and no music on hold is played 
> and again the  announce message is played. somehow the music on lod 
> doesn start. What am I doing wrong?
> I run version CVS-12/01/03-14:50:57
> 
> Thanks
> 
> 
> -- 
> 
> Anton Yurchenko<phila at dg.net.ua>
> Digital Generation
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list