Hi, Changed trunk setting to g0
Get no ringing now!
-- Executing [90xxxxxxxxx@from-internal:4] Macro("SIP/2003-08589910", "record-enable|2003|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2003-08589910", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2003-08589910", "recordingcheck|20080709-002139|1215559299.79") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080709-002139|1215559299.79: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2003-08589910", "No recording needed") in new stack
-- Executing [90xxxxxxxxx@from-internal:5] Macro("SIP/2003-08589910", "dialout-trunk|1|0xxxxxxxxxxx||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/2003-08589910", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/2003-08589910", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2003-08589910", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/2003-08589910", "DIAL_NUMBER=0xxxxxxxx") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/2003-08589910", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/2003-08589910", "GROUP()=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2003-08589910", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2003-08589910", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/2003-08589910", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/2003-08589910", "outbound-callerid|1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2003-08589910", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/2003-08589910", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/2003-08589910", "REALCALLERIDNUM is 2003") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/2003-08589910", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,10)
-- Executing [s@macro-outbound-callerid:10] Set("SIP/2003-08589910", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/2003-08589910", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/2003-08589910", "TRUNKOUTCID=0xxxxxxxxxxx") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/2003-08589910", "0?trunkcid") in new stack
-- Executing [s@macro-outbound-callerid:14] GotoIf("SIP/2003-08589910", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,17)
-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/2003-08589910", "0?usercid") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/2003-08589910", "CALLERID(all)=0xxxxxxxxx") in new stack
-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/2003-08589910", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/2003-08589910", "CallerID set to "" <0xxxxxxxxxx>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/2003-08589910", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern .
== fixlocalprefix: Dialpattern . matched. 0xxxxxxxx -> 0xxxxxxxxx
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/2003-08589910", "OUTNUM=0xxxxxxxx") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/2003-08589910", "custom=ZAP/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/2003-08589910", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/2003-08589910", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2003-08589910", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2003-08589910", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/2003-08589910", "ZAP/g0/0xxxxxxx|300|") in new stack
-- Called g0/0xxxxxxxx
-- Zap/1-1 answered SIP/2003-08589910
-- Hungup 'Zap/1-1'
What to do next??

