[Asterisk-bsd] did you put the option |m

Jeff LaCoursiere jeff at jeff.net
Mon Oct 3 15:55:51 CDT 2005


Aha!  I changed the stdexten macro to look like this:

;
; call this to ring an extension
;
[macro-stdexten]
exten => s,1,Dial(${ARG2},20,m) ; Ring the interface, 20 seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1); Jump based on status
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(default,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${ARG1}); If they press *, VoicemailMain


The 'm' in the 'Dial' options does just what it advertises!  Music as they
wait for the extension to pickup or go to voicemail.  Perfect!

Thanks!

Jeff LaCoursiere
Southland Gaming Virgin Islands
jeff at sgvi.net
jeff at jeff.net

On Mon, 3 Oct 2005, Richard Neese wrote:

> did you put
> -- exten => NXXNXXXXXX,2,Macro(stdexten,IAX2/1004|20|mr)
> Open your Eyes to life .
> And look at all the wounderful
> colors the Gods gave us.
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>


More information about the Asterisk-BSD mailing list