Danilo Dionisi
2014-May-17 06:44 UTC
[asterisk-users] Into queue the caller doesn't hear the ringing
Hi, I have a problem with the queue. My system is 'Asterisk 1.8.20.0 built by mockbuild @ buildvm-24.phx2.fedoraproject.org on a x86_64 running Linux' (core show version) and my OS is Red Hat Enterprise Linux Server release 6.3 (Santiago). I have six queues...into the top five I run the application background with a choice (1-5) then redirect to a queue, but here the caller doesn't hear the ringing...the sixth instead I redirect the caller directly the queue and it hears the ringing....why? The member queue phones work correctly, they ringing with the stategy 'linear'! This is my dialplan: *[ivr-filiale-latina]exten => s,1,Verbose( ** IVR FILIALE LATINA.)same => n,Set(CALLERID(name)=LATINA) same => n,Macro(select_fe,s,1)same => n,Ringing()same => n,Answer()same => n,Wait(0.5)same => n,Set(CHANNEL(language)=it)same => n,GotoIfTime(8:15-19:30,*,*,*?latina_open,s,1:latina_close,s,1) same => n,Hangup()[latina_open]exten => s,1,Verbose( ** FILIALE DI LATINA APERTA.)same => n(menu),Background(risponditore-filiali/Latina/ivr)same => n,Waitexten(5)exten => _[1-5],1,Verbose( ** Digitata selezione ${EXTEN}) same => n,Queue(coda_ivr-latina_opzione${EXTEN}-${QUEUE},r) --> the ringing doesn't work!exten => t,1,Verbose( ** Nessuna selezione effettuata.)same => n,Goto(s,menu)exten => *,1,Verbose( ** Parlare con un operatore.) same => n,Goto(5,1)exten => #,1,Verbose( ** Riascolto messaggio.)same => n,Goto(s,menu)[latina_close]exten => s,1,Verbose( ** FILIALE DI LATINA CHIUSA.)same => n,Queue(coda_ivr-latina_close-${QUEUE},r) --> the ringing works! same => n,Hangup()* Danilo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140517/f9c6ed50/attachment.html>
Andreas Sikkema
2014-May-17 13:19 UTC
[asterisk-users] Into queue the caller doesn't hear the ringing
On 17/05/14 08:44 , Danilo Dionisi wrote:> [latina_open] > exten => s,1,Verbose( ** FILIALE DI LATINA APERTA.) > same => n(menu),Background(risponditore-filiali/Latina/ivr) > same => n,Waitexten(5)> [latina_close] > exten => s,1,Verbose( ** FILIALE DI LATINA CHIUSA.) > same => n,Queue(coda_ivr-latina_close-${QUEUE},r) /_--> the ringing works!_ > /same => n,Hangup()*In latina_open you first play a WAV file, and then go to the queue, in latina_close you go directly to the queue. That probably explains the difference between the two situations. I've never played much with the Queue command so I don't know if there's a flag that is needed to add ringing from the Queue command or that a simple additional Ringing command in latina_open might help. -- Andreas Sikkema