Feedback from caller before call termination

Is it possible to get feedback from caller before termination of call? The scenario is that agent accepts call. Now he wants to get feedback from the caller. The idea is to play an IVR to the caller before call is terminated. Below is the context.

exten => s,1,GotoIf($["${CDR(disposition)}" = “ANSWERED”]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Noop(Calling Agent)
exten => s,n(dialagent),Dial(SIP/3003) ;Caller and agent are bridged/connected.
exten => s,n,Set(IVR_MSG=custom/welcome1);feedback IVR
exten => s,n,ExecIf($["${IVR_MSG}" != “”]?Background(${IVR_MSG})); the agent wants to get feedback from the caller before hangup event. He wants to play an IVR to get response from the caller.
exten => h,n,Hangup()
;–== end of [jwd_callingagent] ==–;

You are missing the “g” option on Dial().

Thanks with “g” flag it worked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.