Help me!thanks!

– Accepting call from ‘80950161’ to ‘89168200’ on channel 0/11, span 1
– Executing [89168200@from-pstn:1] Set(“Zap/11-1”, “__FROM_DID=89168200”) in new stack
– Executing [89168200@from-pstn:2] GotoIf(“Zap/11-1”, “0 ?cidok”) in new stack
– Executing [89168200@from-pstn:3] Set(“Zap/11-1”, “CALLERID(name)=80950161”) in new stack
– Executing [89168200@from-pstn:4] NoOp(“Zap/11-1”, “CallerID is “80950161” <80950161>”) in new stack
– Executing [89168200@from-pstn:5] Goto(“Zap/11-1”, “ext-queues|1000|1”) in new stack
– Goto (ext-queues,1000,1)
– Executing [1000@ext-queues:1] Macro(“Zap/11-1”, “user-callerid|”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“Zap/11-1”, “user-callerid: 80950161 80950161”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Zap/11-1”, “AMPUSER=80950161”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Zap/11-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Zap/11-1”, “1|Set|REALCALLERIDNUM=80950161”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“Zap/11-1”, “REALCALLERIDNUM is 80950161”) in new stack
– Executing [s@macro-user-callerid:6] Set(“Zap/11-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Zap/11-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Zap/11-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“Zap/11-1”, "TTL: ARG1: ") in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“Zap/11-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:15] Set(“Zap/11-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“Zap/11-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“Zap/11-1”, “Using CallerID “80950161” <80950161>”) in new stack
– Executing [1000@ext-queues:2] Answer(“Zap/11-1”, “”) in new stack
– Executing [1000@ext-queues:3] Set(“Zap/11-1”, “__BLKVM_OVERRIDE=BLKVM/1000/Zap/11-1”) in new stack
– Executing [1000@ext-queues:4] Set(“Zap/11-1”, “__BLKVM_BASE=1000”) in new stack
– Executing [1000@ext-queues:5] Set(“Zap/11-1”, “DB(BLKVM/1000/Zap/11-1)=TRUE”) in new stack
– Executing [1000@ext-queues:6] Set(“Zap/11-1”, “_DIAL_OPTIONS=trM(auto-blkvm)”) in new stack
– Executing [1000@ext-queues:7] Set(“Zap/11-1”, “__NODEST=1000”) in new stack
– Executing [1000@ext-queues:8] Set(“Zap/11-1”, “MONITOR_FILENAME=/var/spool/asterisk/monitor/q1000-20090915-093428-1253021668.46”) in new stack
– Executing [1000@ext-queues:9] Queue(“Zap/11-1”, “1000|tr|||30”) in new stack
– Executing [13731169470#@from-internal:1] Set(“Local/13731169470#@from-internal-43df,2”, “EMERGENCYROUTE=YES”) in new stack
– Executing [13731169470#@from-internal:2] Macro(“Local/13731169470#@from-internal-43df,2”, “user-callerid|SKIPTTL|”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“Local/13731169470#@from-internal-43df,2”, “user-callerid: 80950161 80950161”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Local/13731169470#@from-internal-43df,2”, “AMPUSER=80950161”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing [s@macro-user-callerid:13] NoOp(“Local/13731169470#@from-internal-43df,2”, “TTL: 64 ARG1: SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“Local/13731169470#@from-internal-43df,2”, “Using CallerID “80950161” <80950161>”) in new stack
– Executing [13731169470#@from-internal:3] Set(“Local/13731169470#@from-internal-43df,2”, “_NODEST=”) in new stack
– Executing [13731169470#@from-internal:4] Macro(“Local/13731169470#@from-internal-43df,2”, “record-enable|80950161|OUT|”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“Local/13731169470#@from-internal-43df,2”, “recordingcheck|20090915-093428|1253021668.48”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090915-093428|1253021668.48: No AMPUSER db entry for 80950161. Not recording
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“Local/13731169470#@from-internal-43df,2”, “No recording needed”) in new stack
– Executing [13731169470#@from-internal:5] Macro(“Local/13731169470#@from-internal-43df,2”, “dialout-trunk|1|13731169470#||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“Local/13731169470#@from-internal-43df,2”, “0|Authenticate|”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_NUMBER=13731169470#”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK_OPTIONS=trM(auto-blkvm)”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/13731169470#@from-internal-43df,2”, “GROUP()=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/13731169470#@from-internal-43df,2”, “outbound-callerid|1”) in new stack
– Executing [s@macro-outbound-callerid:1] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?start”) in new stack
– Executing [s@macro-outbound-callerid:2] Set(“Local/13731169470#@from-internal-43df,2”, “REALCALLERIDNUM=80950161”) in new stack
– Executing [s@macro-outbound-callerid:3] NoOp(“Local/13731169470#@from-internal-43df,2”, “REALCALLERIDNUM is 80950161”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing [s@macro-outbound-callerid:9] Set(“Local/13731169470#@from-internal-43df,2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] Set(“Local/13731169470#@from-internal-43df,2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“Local/13731169470#@from-internal-43df,2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:12] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?trunkcid”) in new stack
– Executing [s@macro-outbound-callerid:13] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing [s@macro-outbound-callerid:16] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?usercid”) in new stack
– Goto (macro-outbound-callerid,s,18)
– Executing [s@macro-outbound-callerid:18] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?report”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing [s@macro-outbound-callerid:22] NoOp(“Local/13731169470#@from-internal-43df,2”, “CallerID set to “80950161” <80950161>”) in new stack
– Executing [s@macro-dialout-trunk:12] AGI(“Local/13731169470#@from-internal-43df,2”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-trunk:13] Set(“Local/13731169470#@from-internal-43df,2”, “OUTNUM=13731169470#”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/13731169470#@from-internal-43df,2”, “custom=ZAP/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing [s@macro-dialout-trunk:17] Macro(“Local/13731169470#@from-internal-43df,2”, “dialout-trunk-predial-hook|”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:19] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:20] Dial(“Local/13731169470#@from-internal-43df,2”, “ZAP/g0/13731169470#|300|”) in new stack
– Requested transfer capability: 0x00 - SPEECH
– Called g0/13731169470#
– Zap/1-1 is proceeding passing it to Local/13731169470#@from-internal-43df,2
– Channel 0/1, span 1 got hangup request, cause 31
– Hungup ‘Zap/1-1’
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:21] Goto(“Local/13731169470#@from-internal-43df,2”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp(“Local/13731169470#@from-internal-43df,2”, “TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks”) in new stack
– Executing [13731169470#@from-internal:6] Macro(“Local/13731169470#@from-internal-43df,2”, “dialout-trunk|2|13731169470#||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“Local/13731169470#@from-internal-43df,2”, “0|Authenticate|”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_NUMBER=13731169470#”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK_OPTIONS=trM(auto-blkvm)”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/13731169470#@from-internal-43df,2”, “GROUP()=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/13731169470#@from-internal-43df,2”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/13731169470#@from-internal-43df,2”, “outbound-callerid|2”) in new stack
– Executing [s@macro-outbound-callerid:1] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?start”) in new stack
– Goto (macro-outbound-callerid,s,3)
– Executing [s@macro-outbound-callerid:3] NoOp(“Local/13731169470#@from-internal-43df,2”, “REALCALLERIDNUM is 80950161”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing [s@macro-outbound-callerid:9] Set(“Local/13731169470#@from-internal-43df,2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] Set(“Local/13731169470#@from-internal-43df,2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“Local/13731169470#@from-internal-43df,2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:12] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?trunkcid”) in new stack
– Executing [s@macro-outbound-callerid:13] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing [s@macro-outbound-callerid:16] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?usercid”) in new stack
– Goto (macro-outbound-callerid,s,18)
– Executing [s@macro-outbound-callerid:18] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?report”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing [s@macro-outbound-callerid:22] NoOp(“Local/13731169470#@from-internal-43df,2”, “CallerID set to “80950161” <80950161>”) in new stack
– Executing [s@macro-dialout-trunk:12] AGI(“Local/13731169470#@from-internal-43df,2”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-trunk:13] Set(“Local/13731169470#@from-internal-43df,2”, “OUTNUM=13731169470#”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“Local/13731169470#@from-internal-43df,2”, “custom=ZAP/g2”) in new stack
– Executing [s@macro-dialout-trunk:15] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing [s@macro-dialout-trunk:17] Macro(“Local/13731169470#@from-internal-43df,2”, “dialout-trunk-predial-hook|”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:19] GotoIf(“Local/13731169470#@from-internal-43df,2”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:20] Dial(“Local/13731169470#@from-internal-43df,2”, “ZAP/g2/13731169470#|300|”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:21] Goto(“Local/13731169470#@from-internal-43df,2”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp(“Local/13731169470#@from-internal-43df,2”, “TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks”) in new stack
– Executing [13731169470#@from-internal:7] Macro(“Local/13731169470#@from-internal-43df,2”, “outisbusy|”) in new stack
– Executing [s@macro-outisbusy:1] Playback(“Local/13731169470#@from-internal-43df,2”, “all-circuits-busy-now|noanswer”) in new stack
– <Local/13731169470#@from-internal-43df,2> Playing ‘all-circuits-busy-now’ (language ‘en’)
– Executing [s@macro-outisbusy:2] Playback(“Local/13731169470#@from-internal-43df,2”, “pls-try-call-later|noanswer”) in new stack
– <Local/13731169470#@from-internal-43df,2> Playing ‘pls-try-call-later’ (language ‘en’)
– Executing [s@macro-outisbusy:3] Macro(“Local/13731169470#@from-internal-43df,2”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“Local/13731169470#@from-internal-43df,2”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“Local/13731169470#@from-internal-43df,2”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“Local/13731169470#@from-internal-43df,2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“Local/13731169470#@from-internal-43df,2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/13731169470#@from-internal-43df,2’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/13731169470#@from-internal-43df,2’ in macro ‘outisbusy’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘Local/13731169470#@from-internal-43df,2’
– Nobody picked up in 4000 ms
– Channel 0/11, span 1 got hangup request, cause 16
== Spawn extension (ext-queues, 1000, 9) exited non-zero on ‘Zap/11-1’
– Hungup ‘Zap/11-1’

Please say what this is supposed to do.

Please say what is going wrong.

If at all possible, simplify the dialplan to just show the problem.

Otherwise please include a copy of the relevant parts of the dialplan.

If this dialplan was provided by a third party, please indicate wehre it came from.