[asterisk-users] Call hung up?

Gary Kuznitz docfxit at theoffice.la
Wed Jan 12 22:13:34 CST 2011


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 at voicemenu-custom-4:1] Set("DAHDI/7-1", 
"CALLFILENAME=_xxxxxxx") in new stack
    -- Executing [106 at 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 at voicemenu-custom-4:1] Macro("DAHDI/7-1", 
"stdexten|106|SIP/106") in new stack
    -- Executing [s at macro-stdexten:1] Set("DAHDI/7-1", "__DYNAMIC_FEATURES=") 
in new stack
    -- Executing [s at macro-stdexten:2] GotoIf("DAHDI/7-1", "0?5:3") in new stack
    -- Goto (macro-stdexten,s,3)
    -- Executing [s at 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



More information about the asterisk-users mailing list