Hi Philippe. Thanks once again.
Firstly, I have repeatedly changed the IVR timeout destination to various different values and resubmitted IVR - but the call still ignores dtmf tones and hangs up.
Secondly, and I hadn’t noticed this previously, the timeout period is ignored… the call hangs up IMMEDIATELY the greeting message has finished playing. The message itself is not at fault, as I have now also tried without playing a message, and even with a 30 second timeout set, the call hangs up immediately.
Thirdly, as a test, I removed the “t” destination. Still the call hangs up immediately the greeting message has played.
As I’ve mentioned before, I’m not a UNIX guru (I’m a Windows developer… UNIX is way too clever for me - so I’m not sure which config file you mean. I’m guessing you mean this bit within extensions_additional.conf (please advise if you need something different/more)…
[ivr-2]
include => ivr-2-custom
exten => h,1,Hangup
exten => s,1,Set(LOOPCOUNT=0)
exten => s,n,Set(__DIR-CONTEXT=default)
exten => s,n,Set(IVR_CONTEXT${CONTEXT}=${IVR_CONTEXT})
exten => s,n,Set(_IVR_CONTEXT=${CONTEXT})
exten => s,n,GotoIf($["${CDR(disposition)}" = “ANSWERED”]?begin)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n(begin),Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=30)
exten => s,n,Background(custom/ivrProspectGreeting)
exten => s,n,
exten => hang,1,Playback(vm-goodbye)
exten => hang,n,Hangup
exten => 1,1,dbDel(${BLKVM_OVERRIDE})
exten => 1,n,Set(__NODEST=)
exten => 1,n,Goto(ext-queues,300,1)
exten => 2,1,dbDel(${BLKVM_OVERRIDE})
exten => 2,n,Set(__NODEST=)
exten => 2,n,Goto(timeconditions,3,1)
exten => t,1,dbDel(${BLKVM_OVERRIDE})
exten => t,n,Set(__NODEST=)
exten => t,n,Goto(ext-queues,300,1)
exten => i,1,Playback(invalid)
exten => i,n,Goto(loop,1)
exten => loop,1,Set(LOOPCOUNT=$[${LOOPCOUNT} + 1])
exten => loop,n,GotoIf($[${LOOPCOUNT} > 2]?hang,1)
exten => loop,n,Goto(ivr-2,s,begin)
exten => return,1,Set(IVR_CONTEXT=${CONTEXT})
exten => return,n,Set(IVR_CONTEXT${CONTEXT}=${IVR_CONTEXT${CONTEXT}})
exten => return,n,Goto(ivr-2,s,begin)
exten => fax,1,Goto(ext-fax,in_fax,1)
Hope you can help.
Thanks again,
Alan