[Asterisk-Users] VoiceMailMain dumps user back into my incoming context after leaving a message

Kevin Walsh kevin at cursor.biz
Tue May 18 09:44:50 MST 2004


Nik Martin [nmartin at radiancetech.com] wrote:
> Do you mean after the Voicemail (vs. after VoiceMailMain?) in each
> extension? 
> 
Add a call to "Hangup" at the point where you'd like the call to
terminate.

>
> exten => 0,1,Dial(SIP/jsantacapita,20,Tt)
> exten => 0,2,Voicemail(u100)
> exten => 0,102,Voicemail(b100)
>
Modify your extension definition to look like this:

    exten => 0,1,Dial(SIP/jsantacapita,20,Tt)
    exten => 0,2,Voicemail(u100)
    exten => 0,3,Hangup
    exten => 0,102,Voicemail(b100)
    exten => 0,103,Hangup

By the way, I see you're using "Tt" as a Dial parameter.  Do you really
want your incoming callers to be able to transfer the call?  I imagine
that someone could have fun playing with that facility. :-)

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-users mailing list