pbx*CLI> -- Executing [72033594@from-internal:1] Macro("SIP/2214-0911d980", "pinsets|2|1") in new stack -- Executing [s@macro-pinsets:1] GotoIf("SIP/2214-0911d980", "1 = 1?cdr|1") in new stack -- Goto (macro-pinsets,cdr,1) -- Executing [cdr@macro-pinsets:1] Authenticate("SIP/2214-0911d980", "/etc/asterisk/pinset_2|a") in new stack -- Playing 'agent-pass' (language 'es') -- Playing 'auth-thankyou' (language 'es') -- Executing [72033594@from-internal:2] Macro("SIP/2214-0911d980", "dialout-trunk|4|72033594||") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/2214-0911d980", "DIAL_TRUNK=4") in new stack -- Executing [s@macro-dialout-trunk:2] Set("SIP/2214-0911d980", "DIAL_NUMBER=72033594") in new stack -- Executing [s@macro-dialout-trunk:3] Set("SIP/2214-0911d980", "ROUTE_PASSWD=") in new stack -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2214-0911d980", "1?noauth") in new stack -- Goto (macro-dialout-trunk,s,6) -- Executing [s@macro-dialout-trunk:6] GotoIf("SIP/2214-0911d980", "0?disabletrunk|1") in new stack -- Executing [s@macro-dialout-trunk:7] Set("SIP/2214-0911d980", "_NODEST=") in new stack -- Executing [s@macro-dialout-trunk:8] Set("SIP/2214-0911d980", "DIAL_TRUNK_OPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:9] Set("SIP/2214-0911d980", "GROUP()=OUT_4") in new stack -- Executing [s@macro-dialout-trunk:10] Macro("SIP/2214-0911d980", "user-callerid|SKIPTTL") in new stack -- Executing [s@macro-user-callerid:1] NoOp("SIP/2214-0911d980", "user-callerid: device 2214") in new stack -- Executing [s@macro-user-callerid:2] Set("SIP/2214-0911d980", "AMPUSER=2214") in new stack -- Executing [s@macro-user-callerid:3] GotoIf("SIP/2214-0911d980", "0?report") in new stack -- Executing [s@macro-user-callerid:4] GotoIf("SIP/2214-0911d980", "0?start") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/2214-0911d980", "REALCALLERIDNUM=2214") in new stack -- Executing [s@macro-user-callerid:6] NoOp("SIP/2214-0911d980", "REALCALLERIDNUM is 2214") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/2214-0911d980", "AMPUSER=2214") in new stack -- Executing [s@macro-user-callerid:8] Set("SIP/2214-0911d980", "AMPUSERCIDNAME=Seguridad") in new stack -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2214-0911d980", "0?report") in new stack -- Executing [s@macro-user-callerid:10] Set("SIP/2214-0911d980", "AMPUSERCID=2214") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/2214-0911d980", "CALLERID(all)="Seguridad" <2214>") in new stack -- Executing [s@macro-user-callerid:12] Set("SIP/2214-0911d980", "REALCALLERIDNUM=2214") in new stack -- Executing [s@macro-user-callerid:13] NoOp("SIP/2214-0911d980", "TTL: ARG1: SKIPTTL") in new stack -- Executing [s@macro-user-callerid:14] GotoIf("SIP/2214-0911d980", "1?continue") in new stack -- Goto (macro-user-callerid,s,23) -- Executing [s@macro-user-callerid:23] NoOp("SIP/2214-0911d980", "Using CallerID "Seguridad" <2214>") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2214-0911d980", "record-enable|2214|OUT") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/2214-0911d980", "0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] AGI("SIP/2214-0911d980", "recordingcheck|20080403-212304|1207272174.467") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20080403-212304|1207272174.467: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing [s@macro-record-enable:5] NoOp("SIP/2214-0911d980", "No recording needed") in new stack -- Executing [s@macro-dialout-trunk:12] GotoIf("SIP/2214-0911d980", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/2214-0911d980", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:14] Macro("SIP/2214-0911d980", "outbound-callerid|4") in new stack -- Executing [s@macro-outbound-callerid:1] GotoIf("SIP/2214-0911d980", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing [s@macro-outbound-callerid:3] NoOp("SIP/2214-0911d980", "REALCALLERIDNUM is 2214") in new stack -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/2214-0911d980", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,9) -- Executing [s@macro-outbound-callerid:9] Set("SIP/2214-0911d980", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:10] Set("SIP/2214-0911d980", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:11] Set("SIP/2214-0911d980", "TRUNKOUTCID=") in new stack -- Executing [s@macro-outbound-callerid:12] GotoIf("SIP/2214-0911d980", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,16) -- Executing [s@macro-outbound-callerid:16] GotoIf("SIP/2214-0911d980", "1?usercid") in new stack -- Goto (macro-outbound-callerid,s,18) -- Executing [s@macro-outbound-callerid:18] GotoIf("SIP/2214-0911d980", "1?report") in new stack -- Goto (macro-outbound-callerid,s,22) -- Executing [s@macro-outbound-callerid:22] NoOp("SIP/2214-0911d980", "CallerID set to "Seguridad" <2214>") in new stack -- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2214-0911d980", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,17) -- Executing [s@macro-dialout-trunk:17] AGI("SIP/2214-0911d980", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix > fixlocalprefix: Using pattern 010|. > fixlocalprefix: Using pattern 011|. > fixlocalprefix: Using pattern 012|. > fixlocalprefix: Using pattern 013|. > fixlocalprefix: Using pattern 014|. > fixlocalprefix: Using pattern 016|. > fixlocalprefix: Using pattern 017|. > fixlocalprefix: Using pattern 021|. > fixlocalprefix: Using pattern 0|. -- AGI Script fixlocalprefix completed, returning 0 -- Executing [s@macro-dialout-trunk:18] Set("SIP/2214-0911d980", "OUTNUM=72033594") in new stack -- Executing [s@macro-dialout-trunk:19] Set("SIP/2214-0911d980", "custom=ZAP/g3") in new stack -- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/2214-0911d980", "1?gocall") in new stack -- Goto (macro-dialout-trunk,s,24) -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/2214-0911d980", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:25] Dial("SIP/2214-0911d980", "ZAP/g3/72033594|300|") in new stack -- Called g3/72033594 -- Zap/7-1 answered SIP/2214-0911d980 pbx*CLI> -- Started music on hold, class 'default', on Zap/7-1 -- Executing [72550394@from-internal:1] Macro("SIP/2214-0912c6b0", "pinsets|2|1") in new stack -- Executing [s@macro-pinsets:1] GotoIf("SIP/2214-0912c6b0", "1 = 1?cdr|1") in new stack -- Goto (macro-pinsets,cdr,1) -- Executing [cdr@macro-pinsets:1] Authenticate("SIP/2214-0912c6b0", "/etc/asterisk/pinset_2|a") in new stack -- Playing 'agent-pass' (language 'es') -- Playing 'auth-incorrect' (language 'es') -- Playing 'auth-incorrect' (language 'es') -- Stopped music on hold on Zap/7-1 -- Hungup 'Zap/7-1' == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/2214-0911d980' in macro 'dialout-trunk' == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'SIP/2214-0911d980' -- Executing [h@macro-dialout-trunk:1] Macro("SIP/2214-0911d980", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2214-0911d980", "w") in new stack -- Executing [s@macro-hangupcall:2] NoCDR("SIP/2214-0911d980", "") in new stack -- Executing [s@macro-hangupcall:3] GotoIf("SIP/2214-0911d980", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,6) -- Executing [s@macro-hangupcall:6] GotoIf("SIP/2214-0911d980", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] GotoIf("SIP/2214-0911d980", "1?theend") in new stack -- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("SIP/2214-0911d980", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2214-0911d980' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2214-0911d980' -- Playing 'vm-goodbye' (language 'es') == Spawn extension (macro-pinsets, cdr, 1) exited non-zero on 'SIP/2214-0912c6b0' in macro 'pinsets' == Spawn extension (macro-pinsets, cdr, 1) exited non-zero on 'SIP/2214-0912c6b0' -- Remote UNIX connection -- Remote UNIX connection disconnected pbx*CLI>