[Asterisk-Users] Re: Voicemail error

David L. West nntp at deskoptional.com
Sat May 6 13:53:00 MST 2006


> Could you please post your complete extensions.conf or maybe just that
> context? 
> 
> Also a trace from the CLI that will show what goes in as ARG1 . 
> 

Sure.  Here's the calling code:

[macro-stdexten]; 
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well 
;   ${ARG2} - Device(s) to ring 
; 
exten => s,1,NoOp(stdExtn arg1 is ${ARG1})
exten => s,n,NoOp(stdExtn arg2 is ${ARG2})
exten => s,n,Dial(${ARG2},20)              ; Ring the interface, 20 seconds maximum 
exten => s,n,Goto(s-${DIALSTATUS},1)       ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER) 
exten => s-NOANSWER,1,Voicemail(u${ARG1})  ; If unavailable, send to voicemail w/ unavail announce 
exten => s-NOANSWER,2,Goto(default,s,1)    ; If they press #, return to start 
exten => s-BUSY,1,Voicemail(b${ARG1})      ; If busy, send to voicemail w/ busy announce 
exten => s-BUSY,2,Goto(default,s,1)        ; If they press #, return to start 
exten => _s-.,1,Goto(s-NOANSWER,1)         ; Treat anything else as no answer 
exten => a,1,VoicemailMain(${ARG1})        ; If they press *, send the user into VoicemailMain 

And here's what shows in the CLI when I call stephany.toman:

    -- Executing Macro("SIP/dave-630e", "stdexten|stephany.toman|SIP/stephany.toman") in new stack
    -- Executing NoOp("SIP/dave-630e", "stdExtn arg1 is stephany.toman") in new stack
    -- Executing NoOp("SIP/dave-630e", "stdExtn arg2 is SIP/stephany.toman") in new stack
    -- Executing Dial("SIP/dave-630e", "SIP/stephany.toman|20") in new stack
    -- Called stephany.toman
    -- SIP/stephany.toman-8fdc is ringing
    -- Nobody picked up in 20000 ms
    -- Executing Goto("SIP/dave-630e", "s-NOANSWER|1") in new stack
    -- Goto (macro-stdexten,s-NOANSWER,1)
    -- Executing VoiceMail("SIP/dave-630e", "ustephany.toman") in new stack
May  6 14:48:07 WARNING[2382]: app_voicemail.c:2411 leave_voicemail: No entry in voicemail config file for 'tephany.toman'
    -- Executing Goto("SIP/dave-630e", "default|s|1") in new stack
    -- Goto (default,s,1)
  == Channel 'SIP/dave-630e' jumping out of macro 'stdexten'
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060506/f6c37cff/attachment.htm


More information about the asterisk-users mailing list