Zap channels some time work well but some time generate problems

my zap channel some time do well but some time generate problems it was doing well from last three months but now some time done well and some time generate problems with outgoing calls plz solve me the problem
thanks
it generate the folloing logs

Executing [s@macro-record-enable:1] GotoIf(“SIP/315-0914ba40”, “0?2:4”) in new stack

-- Goto (macro-record-enable,s,4)

-- Executing [s@macro-record-enable:4] AGI("SIP/315-0914ba40", "recordingcheck|20090121-100330|1232517807.192") in new stack

-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

recordingcheck|20090121-100330|1232517807.192: Outbound recording enabled.

recordingcheck|20090121-100330|1232517807.192: CALLFILENAME=OUT315-20090121-100330-1232517807.192

-- AGI Script recordingcheck completed, returning 0

-- Executing [s@macro-record-enable:999] MixMonitor("SIP/315-0914ba40", "OUT315-20090121-100330-1232517807.192.wav") in new stack

-- Executing [90508839493@from-internal:5] Macro("SIP/315-0914ba40", "dialout-trunk|1|0508839493||") in new stack

-- Executing [s@macro-dialout-trunk:1] Set("SIP/315-0914ba40", "DIAL_TRUNK=1") in new stack

-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/315-0914ba40", "0|Authenticate|") in new stack

-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/315-0914ba40", "0?disabletrunk|1") in new stack

-- Executing [s@macro-dialout-trunk:4] Set("SIP/315-0914ba40", "DIAL_NUMBER=0508839493") in new stack

-- Executing [s@macro-dialout-trunk:5] Set("SIP/315-0914ba40", "DIAL_TRUNK_OPTIONS=tr") in new stack

-- Executing [s@macro-dialout-trunk:6] Set("SIP/315-0914ba40", "GROUP()=OUT_1") in new stack

-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/315-0914ba40", "0?nomax") in new stack

-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/315-0914ba40", "0?chanfull") in new stack

-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/315-0914ba40", "0?skipoutcid") in new stack

-- Executing [s@macro-dialout-trunk:10] Set("SIP/315-0914ba40", "DIAL_TRUNK_OPTIONS=") in new stack

-- Executing [s@macro-dialout-trunk:11] Macro("SIP/315-0914ba40", "outbound-callerid|1") in new stack

-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/315-0914ba40", "0|SetCallerPres|") in new stack

-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/315-0914ba40", "1?start") in new stack

-- Goto (macro-outbound-callerid,s,4)

-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/315-0914ba40", "REALCALLERIDNUM is 315") in new stack

-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/315-0914ba40", "1?normcid") in new stack

-- Goto (macro-outbound-callerid,s,10)

-- Executing [s@macro-outbound-callerid:10] Set("SIP/315-0914ba40", "USEROUTCID=") in new stack

-- Executing [s@macro-outbound-callerid:11] Set("SIP/315-0914ba40", "EMERGENCYCID=") in new stack

-- Executing [s@macro-outbound-callerid:12] Set("SIP/315-0914ba40", "TRUNKOUTCID=") in new stack

-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/315-0914ba40", "1?trunkcid") in new stack

-- Goto (macro-outbound-callerid,s,17)

-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/315-0914ba40", "1?usercid") in new stack

-- Goto (macro-outbound-callerid,s,19)

-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/315-0914ba40", "1?report") in new stack

-- Goto (macro-outbound-callerid,s,23)

-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/315-0914ba40", "CallerID set to "Sayed" <315>") in new stack

-- Executing [s@macro-dialout-trunk:12] AGI("SIP/315-0914ba40", "fixlocalprefix") in new stack

-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix

== Begin MixMonitor Recording SIP/315-0914ba40

-- AGI Script fixlocalprefix completed, returning 0

-- Executing [s@macro-dialout-trunk:13] Set("SIP/315-0914ba40", "OUTNUM=0508839493") in new stack

-- Executing [s@macro-dialout-trunk:14] Set("SIP/315-0914ba40", "custom=ZAP/g0") in new stack

-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/315-0914ba40", "1?gocall") in new stack

-- Goto (macro-dialout-trunk,s,17)

-- Executing [s@macro-dialout-trunk:17] Macro("SIP/315-0914ba40", "dialout-trunk-predial-hook|") in new stack

-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/315-0914ba40", "0?bypass|1") in new stack

-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/315-0914ba40", "0?customtrunk") in new stack

-- Executing [s@macro-dialout-trunk:20] Dial("SIP/315-0914ba40", "ZAP/g0/0508839493|300|") in new stack

-- Called g0/0508839493

-- Zap/1-1 answered SIP/315-0914ba40

-- Hungup 'Zap/1-1'

== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/315-0914ba40’ in macro ‘dialout-trunk’

== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/315-0914ba40’

-- Executing [h@macro-dialout-trunk:1] Macro("SIP/315-0914ba40", "hangupcall|") in new stack

-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/315-0914ba40", "w") in new stack

-- Executing [s@macro-hangupcall:2] NoCDR("SIP/315-0914ba40", "") in new stack

-- Executing [s@macro-hangupcall:3] GotoIf("SIP/315-0914ba40", "1?skiprg") in new stack

-- Goto (macro-hangupcall,s,6)

-- Executing [s@macro-hangupcall:6] GotoIf("SIP/315-0914ba40", "1?skipblkvm") in new stack

-- Goto (macro-hangupcall,s,9)

-- Executing [s@macro-hangupcall:9] GotoIf("SIP/315-0914ba40", "1?theend") in new stack

-- Goto (macro-hangupcall,s,11)