Sangoma A101 card issue

Joined
Jan 18, 2012
Messages
18
Points
0
Hi there,

I need urgent help.
We have an ISDN 30 from BT. (40 channel)
There is 2x Sangoma A101 card in my elastix box. It is the latest 2.3.0 release of elastix.

The card detected ok, but there is no inbound or outbound calls.

If I dial out from the system there is "all circuit busy now...." error message.

The CLI the following:

[root@phoneserver ~]# asterisk -vvvvvr
Asterisk 1.8.11.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.8.11.0 currently running on phoneserver (pid = 30801)
Verbosity was 3 and is now 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [01312020777@from-internal:1] Macro("SIP/206-00000003", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/206-00000003", "AMPUSER=206") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/206-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/206-00000003", "1?Set(REALCALLERIDNUM=206)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/206-00000003", "AMPUSER=206") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/206-00000003", "AMPUSERCIDNAME=Computer room") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/206-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/206-00000003", "AMPUSERCID=206") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/206-00000003", "CALLERID(all)="Computer room" <206>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/206-00000003", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/206-00000003", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/206-00000003", "CALLERID(number)=206") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/206-00000003", "CALLERID(name)=Computer room") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/206-00000003", "Using CallerID "Computer room" <206>") in new stack
-- Executing [01312020777@from-internal:2] NoOp("SIP/206-00000003", "Calling Out Route: ISDN30") in new stack
-- Executing [01312020777@from-internal:3] Set("SIP/206-00000003", "MOHCLASS=default") in new stack
-- Executing [01312020777@from-internal:4] Set("SIP/206-00000003", "_NODEST=") in new stack
-- Executing [01312020777@from-internal:5] Macro("SIP/206-00000003", "record-enable,206,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/206-00000003", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/206-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/206-00000003", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/206-00000003", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/206-00000003", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:17] NoOp("SIP/206-00000003", "Recording enable for 206") in new stack
-- Executing [s@macro-record-enable:18] Set("SIP/206-00000003", "CALLFILENAME=OUT206-20120519-124850-1337428130.6") in new stack
-- Executing [s@macro-record-enable:19] Goto("SIP/206-00000003", "record") in new stack
-- Goto (macro-record-enable,s,23)
-- Executing [s@macro-record-enable:23] MixMonitor("SIP/206-00000003", "OUT206-20120519-124850-1337428130.6.wav,,") in new stack
-- Executing [s@macro-record-enable:24] Set("SIP/206-00000003", "CDR(userfield)=audio:OUT206-20120519-124850-1337428130.6.wav") in new stack
-- Executing [s@macro-record-enable:25] MacroExit("SIP/206-00000003", "") in new stack
-- Executing [01312020777@from-internal:6] Macro("SIP/206-00000003", "dialout-trunk,1,01312020777,") in new stack
== Begin MixMonitor Recording SIP/206-00000003
-- Executing [s@macro-dialout-trunk:1] Set("SIP/206-00000003", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/206-00000003", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/206-00000003", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/206-00000003", "DIAL_NUMBER=01312020777") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/206-00000003", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/206-00000003", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/206-00000003", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/206-00000003", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/206-00000003", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/206-00000003", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/206-00000003", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/206-00000003", "0?Set(REALCALLERIDNUM=206)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/206-00000003", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/206-00000003", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/206-00000003", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/206-00000003", "TRUNKOUTCID=8712225672") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/206-00000003", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/206-00000003", "1?Set(CALLERID(all)=8712225672)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/206-00000003", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/206-00000003", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/206-00000003", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/206-00000003", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/206-00000003", "OUTNUM=01312020777") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/206-00000003", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/206-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/206-00000003", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/206-00000003", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/206-00000003", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/206-00000003", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/206-00000003", "DAHDI/g0/01312020777,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called DAHDI/g0/01312020777
-- Span 1: Channel 0/1 got hangup, cause 31
-- Hungup 'DAHDI/i1/01312020777-4'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/206-00000003", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 31") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/206-00000003", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/206-00000003", "RC=31") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/206-00000003", "31,1") in new stack
-- Goto (macro-dialout-trunk,31,1)
-- Executing [31@macro-dialout-trunk:1] Goto("SIP/206-00000003", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/206-00000003", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/206-00000003", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 31 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/206-00000003", "CALLERID(number)=206") in new stack
-- Executing [01312020777@from-internal:7] Macro("SIP/206-00000003", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/206-00000003", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/206-00000003", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/206-00000003", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/206-00000003", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/206-00000003> Playing 'all-circuits-busy-now.ulaw' (language 'en')
-- <SIP/206-00000003> Playing 'pls-try-call-later.ulaw' (language 'en')
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/206-00000003' in macro 'outisbusy'
== Spawn extension (from-internal, 01312020777, 7) exited non-zero on 'SIP/206-00000003'
-- Executing [h@from-internal:1] Macro("SIP/206-00000003", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/206-00000003", "0?endmixmoncheck") in new stack
-- Executing [s@macro-hangupcall:2] Set("SIP/206-00000003", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT206-20120519-124850-1337428130.6.wav") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/206-00000003", "1?defaultmixmondir") in new stack
-- Goto (macro-hangupcall,s,5)
-- Executing [s@macro-hangupcall:5] System("SIP/206-00000003", "test -e /var/spool/asterisk/monitor/OUT206-20120519-124850-1337428130.6.wav") in new stack
-- Executing [s@macro-hangupcall:6] NoOp("SIP/206-00000003", "SYSTEMSTATUS = SUCCESS") in new stack
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/206-00000003", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/206-00000003", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/206-00000003", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/206-00000003", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/206-00000003", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/206-00000003", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/206-00000003", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/206-00000003", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/206-00000003", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/206-00000003", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/206-00000003", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/206-00000003", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/206-00000003' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/206-00000003'
== MixMonitor close filestream
== End MixMonitor Recording SIP/206-00000003

The same ISDN circuit working fine with Avaya digital box.
So something seems wrong with my settings.

I need to install this system on Monday so please help me!!!! Thx
 
Joined
Jan 18, 2012
Messages
18
Points
0
Yes it as active and up.
All channel green. Need to setup special outbound route or trunk for the ISDN30 dahdi?
(For example woomera/g0/.......)
 
Joined
Jan 18, 2012
Messages
18
Points
0
All Span: OSLEC it that correct?
The provider is the BT (UK):
coding: HDB3,
Framing: CRC4
Clock: NORMAL
PRI-CPE
Switchtype: EUROISDN
Dialplan context: PSTN
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,993
Messages
131,109
Members
17,716
Latest member
Orbit114
Top