Voicemail is by definition an active channel application (you hangup, this application cant run). Your options would be either an internal callback to let you leave a voicemail or a callback to the outside caller to ask him/her to leave a voicemail.
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Pascal Bruno Sent: Wednesday, November 11, 2009 7:49 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Voicemail after hangup What are you trying to achieve here? The h extension is for when the channel hangs up. And if the caller hangs up how will he leave you a voicemail? Sent from my iPod On Nov 11, 2009, at 7:20 AM, Anahi Ludueña <[email protected]> wrote: Hi people, just a question: Is it possible to execute Voicemail command in the h extension? (after hangup the channel). Because if I put it before it, it works right, but if I put it there, it doesn't... The log is: -- Executing [...@cont-mine:1] NoOp("SIP/3005-096736a8", "End of cont-mine") in new stack -- Executing [...@cont-mine:2] VoiceMail("SIP/3005-096736a8", "3003|su") in new stack -- <SIP/3005-096736a8> Playing '/var/spool/asterisk/voicemail/default/3003/unavail' (language '') == Spawn extension (cont-mine, h, 2) exited non-zero on 'SIP/3005-096736a8' Thanks, _____ Charlas más divertidas con el nuevo Windows Live Messenger <http://download.live.com> _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: <http://lists.digium.com/mailman/listinfo/asterisk-users> http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
