All pastes #110424 Raw Edit

Something

public text v1 · immutable
·published 2006-08-01 17:28 UTC
rendered paste body
SUCCESS
  -- Executing Macro("SIP/302-0c43", "dialout-trunk|1|3387879452||") in new stack
  -- Executing GotoIf("SIP/302-0c43", "1?3:2") in new stack
  -- Goto (macro-dialout-trunk,s,3)
  -- Executing Macro("SIP/302-0c43", "user-callerid") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0?report") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0?start") in new stack
  -- Executing Set("SIP/302-0c43", "REALCALLERIDNUM=302") in new stack
  -- Executing NoOp("SIP/302-0c43", "REALCALLERIDNUM is 302") in new stack
  -- Executing Set("SIP/302-0c43", "AMPUSER=302") in new stack
  -- Executing Set("SIP/302-0c43", "AMPUSERCIDNAME=mobile") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0?report") in new stack
  -- Executing Set("SIP/302-0c43", "CALLERID(all)=mobile <302>") in new stack
  -- Executing NoOp("SIP/302-0c43", "Using CallerID "mobile" <302>") in new stack
  -- Executing Macro("SIP/302-0c43", "record-enable|302|OUT") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0 > 0?2:4") in new stack
  -- Goto (macro-record-enable,s,4)
  -- Executing AGI("SIP/302-0c43", "recordingcheck|20060801-213039|asterisk-11074-1154460639.7") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060801-213039|asterisk-11074-1154460639.7: Outbound recording not enabled
  -- AGI Script recordingcheck completed, returning 0
  -- Executing NoOp("SIP/302-0c43", "No recording needed") in new stack
  -- Executing Macro("SIP/302-0c43", "outbound-callerid|1") in new stack
  -- Executing GotoIf("SIP/302-0c43", "1?start") in new stack
  -- Goto (macro-outbound-callerid,s,3)
  -- Executing NoOp("SIP/302-0c43", "REALCALLERIDNUM is 302") in new stack
  -- Executing Set("SIP/302-0c43", "USEROUTCID=") in new stack
  -- Executing Set("SIP/302-0c43", "EMERGENCYCID=") in new stack
  -- Executing Set("SIP/302-0c43", "TRUNKOUTCID=") in new stack
  -- Executing GotoIf("SIP/302-0c43", "1?trunkcid") in new stack
  -- Goto (macro-outbound-callerid,s,11)
  -- Executing GotoIf("SIP/302-0c43", "1?usercid") in new stack
  -- Goto (macro-outbound-callerid,s,13)
  -- Executing GotoIf("SIP/302-0c43", "1?report") in new stack
  -- Goto (macro-outbound-callerid,s,15)
  -- Executing NoOp("SIP/302-0c43", "CallerID set to "mobile" <302>") in new stack
  -- Executing Set("SIP/302-0c43", "GROUP()=OUT_1") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0?108") in new stack
  -- Executing Set("SIP/302-0c43", "DIAL_NUMBER=3387879452") in new stack
  -- Executing Set("SIP/302-0c43", "DIAL_TRUNK=1") in new stack
  -- Executing AGI("SIP/302-0c43", "fixlocalprefix") in new stack
  -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  -- AGI Script fixlocalprefix completed, returning 0
  -- Executing Set("SIP/302-0c43", "OUTNUM=3387879452") in new stack
  -- Executing Set("SIP/302-0c43", "custom=ZAP/g0") in new stack
  -- Executing GotoIf("SIP/302-0c43", "0?16") in new stack
  -- Executing Dial("SIP/302-0c43", "ZAP/g0/3387879452|120|r") in new stack
  -- Called g0/3387879452
  -- Zap/1-1 answered SIP/302-0c43
  -- Hungup 'Zap/1-1'
== Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on 'SIP/302-0c43' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 14) exited non-zero on 'SIP/302-0c43'

NOT SUCCESS

   -- Executing Macro("SIP/301-443e", "dialout-trunk|1|3387879452||") in new stack
    -- Executing GotoIf("SIP/301-443e", "1?3:2") in new stack
    -- Goto (macro-dialout-trunk,s,3)
    -- Executing Macro("SIP/301-443e", "user-callerid") in new stack
    -- Executing GotoIf("SIP/301-443e", "0?report") in new stack
    -- Executing GotoIf("SIP/301-443e", "0?start") in new stack
    -- Executing Set("SIP/301-443e", "REALCALLERIDNUM=301") in new stack
    -- Executing NoOp("SIP/301-443e", "REALCALLERIDNUM is 301") in new stack
    -- Executing Set("SIP/301-443e", "AMPUSER=301") in new stack
    -- Executing Set("SIP/301-443e", "AMPUSERCIDNAME=salvat") in new stack
    -- Executing GotoIf("SIP/301-443e", "0?report") in new stack
    -- Executing Set("SIP/301-443e", "CALLERID(all)=salvat <301>") in new stack
    -- Executing NoOp("SIP/301-443e", "Using CallerID "salvat" <301>") in new stack
    -- Executing Macro("SIP/301-443e", "record-enable|301|OUT") in new stack
    -- Executing GotoIf("SIP/301-443e", "0 > 0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing AGI("SIP/301-443e", "recordingcheck|20060801-213158|asterisk-11074-1154460718.9") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20060801-213158|asterisk-11074-1154460718.9: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/301-443e", "No recording needed") in new stack
    -- Executing Macro("SIP/301-443e", "outbound-callerid|1") in new stack
    -- Executing GotoIf("SIP/301-443e", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing NoOp("SIP/301-443e", "REALCALLERIDNUM is 301") in new stack
    -- Executing Set("SIP/301-443e", "USEROUTCID=") in new stack
    -- Executing Set("SIP/301-443e", "EMERGENCYCID=") in new stack
    -- Executing Set("SIP/301-443e", "TRUNKOUTCID=") in new stack
    -- Executing GotoIf("SIP/301-443e", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("SIP/301-443e", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,13)
    -- Executing GotoIf("SIP/301-443e", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing NoOp("SIP/301-443e", "CallerID set to "salvat" <301>") in new stack
    -- Executing Set("SIP/301-443e", "GROUP()=OUT_1") in new stack
    -- Executing GotoIf("SIP/301-443e", "0?108") in new stack
    -- Executing Set("SIP/301-443e", "DIAL_NUMBER=3387879452") in new stack
    -- Executing Set("SIP/301-443e", "DIAL_TRUNK=1") in new stack
    -- Executing AGI("SIP/301-443e", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("SIP/301-443e", "OUTNUM=3387879452") in new stack
    -- Executing Set("SIP/301-443e", "custom=ZAP/g0") in new stack
    -- Executing GotoIf("SIP/301-443e", "0?16") in new stack
    -- Executing Dial("SIP/301-443e", "ZAP/g0/3387879452|120|r") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Goto("SIP/301-443e", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing NoOp("SIP/301-443e", "Dial failed due to CHANUNAVAIL") in new stack
    -- Executing Macro("SIP/301-443e", "outisbusy|") in new stack
    -- Executing Playback("SIP/301-443e", "all-circuits-busy-now") in new stack
    -- Executing Playback("SIP/301-443e", "pls-try-call-later") in new stack
    -- Executing Macro("SIP/301-443e", "hangupcall") in new stack
    -- Executing ResetCDR("SIP/301-443e", "w") in new stack
    -- Executing NoCDR("SIP/301-443e", "") in new stack
    -- Executing Wait("SIP/301-443e", "5") in new stack
    -- Executing Hangup("SIP/301-443e", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/301-443e' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/301-443e' in macro 'outisbusy'
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/301-443e'