[Asterisk-Users] app_queue and dialplan
Anton Yurchenko
phila at dg.net.ua
Mon Jan 26 05:59:38 MST 2004
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
More information about the asterisk-users
mailing list