All pastes #110240 Raw Edit

Anonymous

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


and zapata.conf

[channels]
usecallerid=no
busydetect=no
language = it
context=from-pstn
signalling = fxs_ls
callerid => asreceived
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=no
threewaycalling=yes
transfer=yes
immediate=no
cancallforward=yes
alaw => 1-2
channel => 1-2
internationalprefix = 00
nationalprefix = 0