[Asterisk-Users] VoiceMail - Catching caller hangup

Frank frank at impactservices.biz
Mon Jul 12 12:56:29 MST 2004


I am trying to do some cleanup after a voice mail is left.  But if the
caller just hangs up (user does not press # to send/complete the message
or wait for timeout to be reached), the voicemail seems to do an
immediate hangup and does not step through the rest of the context.

In the case below, priority 3 never gets executed if the caller just
hangs up after speaking their voice message.

exten => s,1,ResponseTimeout(30)
exten => s,2,VoiceMail(${ARG1}${ARG2})
exten => s,3,GoToIf($[${ARG3} = 0]?s|5)

how can I trap this condition so that I can still get priority 3
executed after voicemail exits?






More information about the asterisk-users mailing list