I have created an ivr in extensions.conf whenever a call is establish we connect to an agent whenever agent cut or hang the call the IVR also ends but i want to play another sound or ivr for agent rating from user i have tried many times but nothing is working
; outside user dails it for communication with ivr or agent
[incoming]
exten => 10020012,1,Answer
same =>n,Goto(tutorial,200,1)
[tutorial]
exten => 200,1, NoOp(AGI Custom IVR)
same => n,agi(agi://192.168.211.1:4573/customivr,${CHANNEL})
same => n,Answer()
same =>n,Goto(tutorial,111,1)
;then from my code an ivr is played and it forward it to 1000 or 1001 on the basis of user selection
; 1 or 2 when the call is establish with the agents in team after the call is cut by agent it ends and the
; ends on both the side but i want to play another ivr or sound that take input from user rating
exten => 1000,1,NoOp(Support Team)
Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rul
e[,position]]]]]]]]])
same =>n,Queue(support,120)
same =>n,Goto(tutorial,111,1)
exten =>1001,1,NoOp(Support Team1)
Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rul
e[,position]]]]]]]]])
same =>n,Queue(support1,120)
; i want to forward client to this extension after call cut by agent
exten => 111,1,Play(Demo-congrats)
same => n,2,Hangup();