I currently have in extensions.conf:
exten => 106,1,Set(CALLFILENAME=${TIMESTAMP}_${CALLERID(num)})
exten => 106,n,Monitor(wav,${CALLFILENAME},m)
exten => 106,hint,SIP/106
exten => 106,Macro(stdexten,106,${HINT})

When I called x106 this was logged:
    -- Executing [106@voicemenu-custom-4:1] Set("DAHDI/7-1", 
"CALLFILENAME=_xxxxxxx") in new stack
    -- Executing [106@voicemenu-custom-4:2] Monitor("DAHDI/7-1", "wav|_xxx-xxx-
xxxx|m") in new stack
  == Auto fallthrough, channel 'DAHDI/7-1' status is 'UNKNOWN'
    -- Hungup 'DAHDI/7-1'

When I don't have the first two lines this is in the log:
     -- Executing [106@voicemenu-custom-4:1] Macro("DAHDI/7-1", 
"stdexten|106|SIP/106") in new stack
    -- Executing [s@macro-stdexten:1] Set("DAHDI/7-1", "__DYNAMIC_FEATURES=") 
in new stack
    -- Executing [s@macro-stdexten:2] GotoIf("DAHDI/7-1", "0?5:3") in new stack
    -- Goto (macro-stdexten,s,3)
    -- Executing [s@macro-stdexten:3] Dial("DAHDI/7-1", "SIP/106|20|") in new 
stack

What did I do wrong in adding the first two lines?

Thank you,

Gary

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to