<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5346.5" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>> Could you please post your complete
extensions.conf or maybe just that<BR>> context? <BR>> <BR>> Also a
trace from the CLI that will show what goes in as ARG1 . <BR>> </FONT></DIV>
<DIV><FONT face=Arial><BR><FONT face=Tahoma color=#800000 size=2>Sure.
Here's the calling code:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face="Courier New">[macro-stdexten];
<BR>; ${ARG1} - Extension (we could have used ${MACRO_EXTEN}
here as well <BR>; ${ARG2} - Device(s) to ring <BR>; <BR>exten =>
s,1,NoOp(stdExtn arg1 is ${ARG1})<BR>exten => s,n,NoOp(stdExtn arg2 is
${ARG2})<BR>exten =>
s,n,Dial(${ARG2},20)
; Ring the interface, 20 seconds maximum <BR>exten =>
s,n,Goto(s-${DIALSTATUS},1) ; Jump based on
status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) <BR><STRONG><FONT
color=#0000ff>exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If
unavailable, send to voicemail w/ unavail announce</FONT></STRONG> <BR>exten
=> s-NOANSWER,2,Goto(default,s,1) ; If they press #, return
to start <BR>exten =>
s-BUSY,1,Voicemail(b${ARG1}) ; If busy, send to
voicemail w/ busy announce <BR>exten =>
s-BUSY,2,Goto(default,s,1) ; If they
press #, return to start <BR>exten =>
_s-.,1,Goto(s-NOANSWER,1) ;
Treat anything else as no answer <BR>exten =>
a,1,VoicemailMain(${ARG1}) ; If they
press *, send the user into VoicemailMain</FONT> </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Tahoma color=#800000 size=2>And here's what shows in the CLI
when I call stephany.toman:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT face="Courier New" size=2> --
Executing Macro("SIP/dave-630e", "stdexten|stephany.toman|SIP/stephany.toman")
in new stack<BR></FONT><FONT face="Courier New" color=#0000ff
size=2> -- Executing NoOp("SIP/dave-630e", "stdExtn arg1 is
stephany.toman") in new stack<BR></FONT><FONT face="Courier New" color=#000000
size=2> -- Executing NoOp("SIP/dave-630e", "stdExtn arg2 is
SIP/stephany.toman") in new stack<BR> -- Executing
Dial("SIP/dave-630e", "SIP/stephany.toman|20") in new
stack<BR> -- Called stephany.toman<BR> --
SIP/stephany.toman-8fdc is ringing<BR> -- Nobody picked up in
20000 ms<BR> -- Executing Goto("SIP/dave-630e",
"s-NOANSWER|1") in new stack<BR> -- Goto
(macro-stdexten,s-NOANSWER,1)<BR> -- Executing
VoiceMail("SIP/dave-630e", "<FONT color=#0000ff>ustephany.toman</FONT>") in new
stack<BR>May 6 14:48:07 WARNING[2382]: app_voicemail.c:2411
leave_voicemail: No entry in voicemail config file for <FONT
color=#0000ff>'tephany.toman'</FONT><BR> -- Executing
Goto("SIP/dave-630e", "default|s|1") in new stack<BR> -- Goto
(default,s,1)<BR> == Channel 'SIP/dave-630e' jumping out of macro
'stdexten'<BR>May 6 14:48:07 WARNING[2382]: pbx.c:2354 __ast_pbx_run:
Channel 'SIP/dave-630e' sent into invalid extension 's' in context 'default',
but no invalid handler</FONT><BR></FONT></DIV></BODY></HTML>