All pastes #22335 Raw Edit

Something

public text v1 · immutable
#22335 ·published 2005-09-07 21:32 UTC
rendered paste body
    -- Starting simple switch on 'Zap/1-1'
    -- Executing Macro("Zap/1-1", "dialout-trunk|2|9522854|5555") in new stack
    -- Executing GotoIf("Zap/1-1", "0?3:2)") in new stack
    -- Goto (macro-dialout-trunk,s,2)
    -- Executing Authenticate("Zap/1-1", "5555") in new stack
    -- Playing 'agent-pass' (language 'en')
    -- Playing 'auth-thankyou' (language 'en')
    -- Executing Macro("Zap/1-1", "record-enable|221|OUT") in new stack
    -- Executing GotoIf("Zap/1-1", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing GotoIf("Zap/1-1", "1?5:8") in new stack
    -- Goto (macro-record-enable,s,5)
    -- Executing DBget("Zap/1-1", "RecEnable=RECORD-OUT/221") in new stack
    -- DBget: varname=RecEnable, family=RECORD-OUT, key=221
    -- DBget: set variable RecEnable to ENABLED
    -- Executing SetVar("Zap/1-1", "CALLFILENAME=OUT221-20050907-173202-1126128710.13") in new stack
    -- Executing Goto("Zap/1-1", "s|14") in new stack
    -- Goto (macro-record-enable,s,14)
    -- Executing GotoIf("Zap/1-1", "1?15:99") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing Monitor("Zap/1-1", "wav49|OUT221-20050907-173202-1126128710.13| mb") in new stack
    -- Executing GotoIf("Zap/1-1", "1?7") in new stack
    -- Goto (macro-dialout-trunk,s,7)
    -- Executing GotoIf("Zap/1-1", "1?9") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing SetGroup("Zap/1-1", "OUT_2") in new stack
    -- Executing CheckGroup("Zap/1-1", "") in new stack
    -- Executing SetVar("Zap/1-1", "DIAL_NUMBER=9522854") in new stack
    -- Executing SetVar("Zap/1-1", "DIAL_TRUNK=2") in new stack
    -- Executing AGI("Zap/1-1", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing SetVar("Zap/1-1", "OUTNUM=9522854") in new stack
    -- Executing Cut("Zap/1-1", "custom=OUT_2|:|1") in new stack
    -- Executing GotoIf("Zap/1-1", "0?19") in new stack
    -- Executing Dial("Zap/1-1", "ZAP/g0/9522854") in new stack
    -- Called g0/9522854
    -- Zap/1-2 is ringing
    -- CPE does not support Call Waiting Caller*ID.