Hi,
I have a problem with any outgoing calls, I get the following error: (My incoming are working perfect)
– Executing [0823995650@from-internal:1] Macro(“SIP/205-0000001c”, “user-callerid|SKIPTTL|”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/205-0000001c”, “AMPUSER=205”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/205-0000001c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/205-0000001c”, “1|Set|REALCALLERIDNUM=205”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/205-0000001c”, “AMPUSER=205”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/205-0000001c”, “AMPUSERCIDNAME=Monray Lawrence”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/205-0000001c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/205-0000001c”, “AMPUSERCID=205”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/205-0000001c”, “CALLERID(all)=“Monray Lawrence” <205>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/205-0000001c”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/205-0000001c”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/205-0000001c”, “Using CallerID “Monray Lawrence” <205>”) in new stack
– Executing [0823995650@from-internal:2] Set(“SIP/205-0000001c”, “_NODEST=”) in new stack
– Executing [0823995650@from-internal:3] Macro(“SIP/205-0000001c”, “record-enable|205|OUT|”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/205-0000001c”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/205-0000001c”, “recordingcheck|20110708-101606|1310112966.31”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20110708-101606|1310112966.31: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“SIP/205-0000001c”, “”) in new stack
– Executing [0823995650@from-internal:4] Macro(“SIP/205-0000001c”, “dialout-trunk|1|0823995650||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/205-0000001c”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/205-0000001c”, “0?sub-pincheck|s|1”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/205-0000001c”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/205-0000001c”, “DIAL_NUMBER=0823995650”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/205-0000001c”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/205-0000001c”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/205-0000001c”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/205-0000001c”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/205-0000001c”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/205-0000001c”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/205-0000001c”, “outbound-callerid|1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/205-0000001c”, “0|SetCallerPres|”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/205-0000001c”, “0|Set|REALCALLERIDNUM=205”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/205-0000001c”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/205-0000001c”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/205-0000001c”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/205-0000001c”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/205-0000001c”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/205-0000001c”, “0|Set|CALLERID(all)=”) in new stack
– Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/205-0000001c”, “0|Set|CALLERID(all)=”) in new stack
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/205-0000001c”, “0|SetCallerPres|prohib_passed_screen”) in new stack
– Executing [s@macro-dialout-trunk:12] ExecIf(“SIP/205-0000001c”, “0|AGI|fixlocalprefix”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/205-0000001c”, “OUTNUM=0823995650”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/205-0000001c”, “custom=DAHDI/63”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/205-0000001c”, “0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)”) in new stack
– Executing [s@macro-dialout-trunk:16] Macro(“SIP/205-0000001c”, “dialout-trunk-predial-hook|”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/205-0000001c”, “”) in new stack
– Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/205-0000001c”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/205-0000001c”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:19] Dial(“SIP/205-0000001c”, “DAHDI/63/0823995650|300|”) in new stack
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [s@macro-dialout-trunk:20] Goto(“SIP/205-0000001c”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf(“SIP/205-0000001c”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
– Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp(“SIP/205-0000001c”, “TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 0) - failing through to other trunks”) in new stack
– Executing [0823995650@from-internal:5] Macro(“SIP/205-0000001c”, “outisbusy|”) in new stack
– Executing [s@macro-outisbusy:1] Playback(“SIP/205-0000001c”, “all-circuits-busy-now|noanswer”) in new stack
– <SIP/205-0000001c> Playing ‘all-circuits-busy-now’ (language ‘en’)
– Executing [s@macro-outisbusy:2] Playback(“SIP/205-0000001c”, “pls-try-call-later|noanswer”) in new stack
– <SIP/205-0000001c> Playing ‘pls-try-call-later’ (language ‘en’)
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on ‘SIP/205-0000001c’ in macro ‘outisbusy’
== Spawn extension (from-internal, 0823995650, 5) exited non-zero on ‘SIP/205-0000001c’
– Executing [h@from-internal:1] Macro(“SIP/205-0000001c”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/205-0000001c”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] NoOp(“SIP/205-0000001c”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:10] GotoIf(“SIP/205-0000001c”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,12)
– Executing [s@macro-hangupcall:12] NoOp(“SIP/205-0000001c”, “MEETME_RECORDINGFILE=”) in new stack
– Executing [s@macro-hangupcall:13] GotoIf(“SIP/205-0000001c”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,15)
– Executing [s@macro-hangupcall:15] NoOp(“SIP/205-0000001c”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:16] GotoIf(“SIP/205-0000001c”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,18)
– Executing [s@macro-hangupcall:18] NoOp(“SIP/205-0000001c”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:19] GotoIf(“SIP/205-0000001c”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,22)
– Executing [s@macro-hangupcall:22] GotoIf(“SIP/205-0000001c”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,25)
– Executing [s@macro-hangupcall:25] GotoIf(“SIP/205-0000001c”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,27)
– Executing [s@macro-hangupcall:27] Hangup(“SIP/205-0000001c”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 27) exited non-zero on ‘SIP/205-0000001c’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/205-0000001c’
Software versions installed:
Kernel: 2.6.18-194.3.1.el5xen
Asterisk: 1.4.36
DAHDI Tools Version - 2.3.0
DAHDI Version: 2.3.0.1
Asterisk setup:
Trunk: ZAP Trunk (dahdi compatible mode)
Zap Identifier:63
Outbound route:
Dial pattern: “.” To cover all the numbers.
Dahdi-channels.conf:
; Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” AMI/CCS RED
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63
; Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS RED
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63
; Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS RED
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 7-8
context = default
group = 63
; Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” (MASTER) AMI/CCS RED
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 10-11
context = default
group = 63
Help would be highly aprreciated!
Regards,
Stefan