All pastes #906010 Raw Edit

Something

public text v1 · immutable
·published 2008-02-16 05:57 UTC
rendered paste body
    -- Starting simple switch on 'Zap/1-1'
    -- Executing [s@from-pstn:1] Set("Zap/1-1", "__FROM_DID=s") in new stack
    -- Executing [s@from-pstn:2] Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/1-1", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("Zap/1-1", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:3] Return("Zap/1-1", "") in new stack
    -- Executing [s@from-pstn:3] GotoIf("Zap/1-1", "1 ?cidok") in new stack
    -- Goto (from-pstn,s,5)
    -- Executing [s@from-pstn:5] NoOp("Zap/1-1", "CallerID is "WIRELESS CALLER" <5163205516>") in new stack
    -- Executing [s@from-pstn:6] Goto("Zap/1-1", "from-did-direct|1000|1") in new stack
    -- Goto (from-did-direct,1000,1)
    -- Executing [1000@from-did-direct:1] Macro("Zap/1-1", "exten-vm|1000|1000") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("Zap/1-1", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("Zap/1-1", "user-callerid: WIRELESS CALLER 5163205516") in new stack
    -- Executing [s@macro-user-callerid:2] Set("Zap/1-1", "AMPUSER=5163205516") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("Zap/1-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("Zap/1-1", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("Zap/1-1", "REALCALLERIDNUM=5163205516") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("Zap/1-1", "REALCALLERIDNUM is 5163205516") in new stack
    -- Executing [s@macro-user-callerid:7] Set("Zap/1-1", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:8] Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("Zap/1-1", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("Zap/1-1", "TTL:  ARG1: 1000") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("Zap/1-1", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("Zap/1-1", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("Zap/1-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("Zap/1-1", "Using CallerID "WIRELESS CALLER" <5163205516>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("Zap/1-1", "FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("Zap/1-1", "VMBOX=1000") in new stack
    -- Executing [s@macro-exten-vm:4] Set("Zap/1-1", "EXTTOCALL=1000") in new stack
    -- Executing [s@macro-exten-vm:5] Set("Zap/1-1", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("Zap/1-1", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("Zap/1-1", "RT=15") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("Zap/1-1", "record-enable|1000|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("Zap/1-1", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("Zap/1-1", "recordingcheck|20080216-140112|1203188470.4") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20080216-140112|1203188470.4: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("Zap/1-1", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("Zap/1-1", "dial|15|tr|1000") in new stack
    -- Executing [s@macro-dial:1] GotoIf("Zap/1-1", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("Zap/1-1", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/manager_additional.conf': Found
  == Parsing '/etc/asterisk/manager_custom.conf': Found
  == Manager 'admin' logged on from 127.0.0.1
  dialparties.agi: Caller ID name is 'WIRELESS CALLER' number is '5163205516'
  dialparties.agi: Methodology of ring is  'none'
    --  dialparties.agi: Added extension 1000 to extension map
    --  dialparties.agi: Extension 1000 cf is disabled
    --  dialparties.agi: Extension 1000 do not disturb is disabled
  dialparties.agi: Extension 1000 has ExtensionState: 0
    --  dialparties.agi: Checking CW and CFB status for extension 1000
    --  dialparties.agi: dbset CALLTRACE/1000 to 5163205516
  == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("Zap/1-1", "SIP/1000|15|tr") in new stack
    -- Called 1000
    -- SIP/1000-09a3df30 is ringing
    -- SIP/1000-09a3df30 answered Zap/1-1
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/1-1' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/1-1' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Zap/1-1'
    -- Executing [h@macro-dial:1] Macro("Zap/1-1", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("Zap/1-1", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("Zap/1-1", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Zap/1-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("Zap/1-1", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("Zap/1-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("Zap/1-1", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1'
    -- Hungup 'Zap/1-1'