Here is my environment:
I have created a simple IVR with two menu options which are configured as queues and agents are assigned to these queues. Till now everything is good, agents can login to queue, answer calls from callers based on options selected by callers. Now my requirement is to send callers to Post call survey IVR treatment after call without agent transferring them manually. Means once conversation between agent and caller is over, agent simply disconnects himself from call and caller gets transferred to Post call survey IVR.
I thought it is possible to do this by manipulating dead channel or h extension of the queue context, but all my readings and experiments tell me that it is not possible to play any media on dead channel or transfer call to any other extension.
My context details are as below:
Initial IVR: [ivr-1]
Queue context: [ext-queues]
Post call survey IVR context: [survey-ivr]
I am trying to put below configuration in queue context to send caller to Post call survey IVR:
exten => h,1,GoTo(survey-ivr,s,1)
exten => h,n,Macro(hangupcall,)
In Previous logs, i am trying to send call back to initial IVR.
Please let me know if above is possible or any other way to achieve this.
Any help would be very helpful.