All pastes #452095 Raw Edit

Something

public text v1 · immutable
·published 2007-04-22 01:50 UTC
rendered paste body
       Enables dumping of SIP packets for debugging purposes

       sip debug ip <host[:PORT]>
       Enables dumping of SIP packets to and from host.

       sip debug peer <peername>
       Enables dumping of SIP packets to and from host.
       Require peer to be registered.
    -- Executing Macro("SIP/200-09a2ab68", "dialout-trunk|2|4170220||") in new stack
    -- Executing Set("SIP/200-09a2ab68", "DIAL_TRUNK=2") in new stack
    -- Executing Set("SIP/200-09a2ab68", "_NODEST=") in new stack
    -- Executing Set("SIP/200-09a2ab68", "DIAL_NUMBER=4170220") in new stack
    -- Executing Set("SIP/200-09a2ab68", "ROUTE_PASSWD=") in new stack
    -- Executing Set("SIP/200-09a2ab68", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,8)
    -- Executing Set("SIP/200-09a2ab68", "GROUP()=OUT_2") in new stack
    -- Executing Macro("SIP/200-09a2ab68", "user-callerid|SKIPTTL") in new stack
    -- Executing NoOp("SIP/200-09a2ab68", "user-callerid: device 200") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?report") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?start") in new stack
    -- Executing Set("SIP/200-09a2ab68", "REALCALLERIDNUM=200") in new stack
    -- Executing NoOp("SIP/200-09a2ab68", "REALCALLERIDNUM is 200") in new stack
    -- Executing Set("SIP/200-09a2ab68", "AMPUSER=200") in new stack
    -- Executing Set("SIP/200-09a2ab68", "AMPUSERCIDNAME=Tyler Findleton") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?report") in new stack
    -- Executing Set("SIP/200-09a2ab68", "CALLERID(all)=Tyler Findleton <200>") in new stack
    -- Executing Set("SIP/200-09a2ab68", "REALCALLERIDNUM=200") in new stack
    -- Executing NoOp("SIP/200-09a2ab68", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/200-09a2ab68", "Using CallerID "Tyler Findleton" <200>") in new stack
    -- Executing Macro("SIP/200-09a2ab68", "record-enable|200|OUT") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("SIP/200-09a2ab68", "recordingcheck|20070421-184954|1177206594.52") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070421-184954|1177206594.52: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/200-09a2ab68", "No recording needed") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?skipoutcid") in new stack
    -- Executing Set("SIP/200-09a2ab68", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing Macro("SIP/200-09a2ab68", "outbound-callerid|2") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing NoOp("SIP/200-09a2ab68", "REALCALLERIDNUM is 200") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing Set("SIP/200-09a2ab68", "USEROUTCID=") in new stack
    -- Executing Set("SIP/200-09a2ab68", "EMERGENCYCID=") in new stack
    -- Executing Set("SIP/200-09a2ab68", "TRUNKOUTCID=") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing GotoIf("SIP/200-09a2ab68", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing GotoIf("SIP/200-09a2ab68", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing NoOp("SIP/200-09a2ab68", "CallerID set to "Tyler Findleton" <200>") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,16)
    -- Executing DeadAGI("SIP/200-09a2ab68", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       >  fixlocalprefix: Using pattern 1530+NXXXXXX
  ==  fixlocalprefix: Dialpattern 1530+NXXXXXX matched. 4170220 -> 15304170220
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("SIP/200-09a2ab68", "OUTNUM=15304170220") in new stack
    -- Executing Set("SIP/200-09a2ab68", "custom=SIP/Broadvoice") in new stack
    -- Executing GotoIf("SIP/200-09a2ab68", "0?customtrunk") in new stack
    -- Executing Dial("SIP/200-09a2ab68", "SIP/Broadvoice/15304170220|300|") in new stack
    -- Called Broadvoice/15304170220
    -- SIP/Broadvoice-09a48128 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing Goto("SIP/200-09a2ab68", "s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing NoOp("SIP/200-09a2ab68", "Dial failed due to CONGESTION - failing through to other trunks") in new stack
    -- Executing Macro("SIP/200-09a2ab68", "outisbusy|") in new stack
    -- Executing Playback("SIP/200-09a2ab68", "all-circuits-busy-now|noanswer") in new stack
    -- Playing 'all-circuits-busy-now' (language 'en')
    -- Executing Playback("SIP/200-09a2ab68", "pls-try-call-later|noanswer") in new stack
    -- Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/200-09a2ab68' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/200-09a2ab68'