> > When the caller hangsup, asterisk will jump to extension h if exists. > > Umar.
That is what I thought. But it does not happen with the voicemail from cvs 10 days ago. I had this as the h extension exten => h,1,GoToIf($[${ARG3} = 0]?h|3) exten => h,2,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG2}) exten => h,3,NoOp All that happens is that the call just hangs up and that is it. in the example above, we should be jumping to priority 1. but this gotoif never gets executed. All I get in the console is -- User hung up -- Hungup 'Zap/2-1' > > -----Original Message----- > > > 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? _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users