Jaap Winius
2010-Apr-01 13:15 UTC
[asterisk-users] Problem with Sangoma A104 and euroisdn pri
Hi all, My problem boils down to these errors: ... Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) == Everyone is busy/congested at this time This is triggered by lines in extentions.conf such as: exten => _X.,1,Dial(ZAP/g1/${EXTEN},,W) The system is CentOS v5.2 with Asterisk 1.4.23 (druid-asterisk-1.4.23.1-2), a Sangoma A104 4-port card, Wanpipe v3.4.4 and Zaptel v1.4.12.1. The system is attached to a single EuroISDN PRI and is located in the Netherlands. Besides the above error, I also noticed this: CLI> pri show span 1 Primary D-channel: 16 Status: Provisioned, Down, Active Switchtype: EuroISDN Type: CPE Window Length: 0/7 Sentrej: 0 SolicitFbit: 0 Retrans: 0 Busy: 0 Overlap Dial: 0 T200 Timer: 1000 T203 Timer: 10000 T305 Timer: 30000 T308 Timer: 4000 T309 Timer: -1 T313 Timer: 4000 N200 Counter: 3 The status needs to be "Provisioned, Up, Active." Following Sangoma's instructions for debugging an Asterisk PRI span, I can confirm that there are only outgoing frames and that the D-channel messages in Asterisk are the same as what the Wanpipe drivers are seeing. So, assuming that my local telco (KPN Telecom) has activated the D-channel, what else could possibly be causing this problem? Thanks, Jaap PS -- Below are my current configuration files and debugging output: ==begin zaptel.conf =================== loadzone=us defaultzone=us span=1,0,0,ccs,hdb3 bchan=1-15,17-31 hardhdlc=16 ==end zaptel.conf ===================== ==begin wanpipe1.conf ================= [devices] wanpipe1 = WAN_AFT_TE1, Comment [interfaces] w1g1 = wanpipe1, , TDM_VOICE, Comment [wanpipe1] CARD_TYPE = AFT S514CPU = A CommPort = PRI AUTO_PCISLOT = NO PCISLOT = 4 PCIBUS = 13 FE_MEDIA = E1 FE_LCODE = HDB3 FE_FRAME = NCRC4 FE_LINE = 1 TE_CLOCK = NORMAL TE_REF_CLOCK = 0 TE_SIG_MODE = CCS TE_HIGHIMPEDANCE = NO LBO = 120OH FE_TXTRISTATE = NO MTU = 1500 UDPPORT = 9000 TTL = 255 IGNORE_FRONT_END = NO TDMV_SPAN = 1 TDMV_DCHAN = 16 TDMV_HW_DTMF = NO TDMV_HW_FAX_DETECT = NO [w1g1] ACTIVE_CH = ALL TDMV_HWEC = NO ==end wanpipe1.conf =================== ==begin zapata.conf =================== [trunkgroups] [channels] context=default usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no switchtype=euroisdn context=default group=1 signalling=pri_cpe channel =>1-15,17-31 ==end zapata.conf ===================== Here's some debugging output: === begin debug info ================================================= # ztcfg -vv Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration ===================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Clear channel (Default) (Slaves: 01) Channel 02: Clear channel (Default) (Slaves: 02) Channel 03: Clear channel (Default) (Slaves: 03) Channel 04: Clear channel (Default) (Slaves: 04) Channel 05: Clear channel (Default) (Slaves: 05) Channel 06: Clear channel (Default) (Slaves: 06) Channel 07: Clear channel (Default) (Slaves: 07) Channel 08: Clear channel (Default) (Slaves: 08) Channel 09: Clear channel (Default) (Slaves: 09) Channel 10: Clear channel (Default) (Slaves: 10) Channel 11: Clear channel (Default) (Slaves: 11) Channel 12: Clear channel (Default) (Slaves: 12) Channel 13: Clear channel (Default) (Slaves: 13) Channel 14: Clear channel (Default) (Slaves: 14) Channel 15: Clear channel (Default) (Slaves: 15) Channel 16: Hardware assisted D-channel (Default) (Slaves: 16) Channel 17: Clear channel (Default) (Slaves: 17) Channel 18: Clear channel (Default) (Slaves: 18) Channel 19: Clear channel (Default) (Slaves: 19) Channel 20: Clear channel (Default) (Slaves: 20) Channel 21: Clear channel (Default) (Slaves: 21) Channel 22: Clear channel (Default) (Slaves: 22) Channel 23: Clear channel (Default) (Slaves: 23) Channel 24: Clear channel (Default) (Slaves: 24) Channel 25: Clear channel (Default) (Slaves: 25) Channel 26: Clear channel (Default) (Slaves: 26) Channel 27: Clear channel (Default) (Slaves: 27) Channel 28: Clear channel (Default) (Slaves: 28) Channel 29: Clear channel (Default) (Slaves: 29) Channel 30: Clear channel (Default) (Slaves: 30) Channel 31: Clear channel (Default) (Slaves: 31) 31 channels to configure. # wanrouter status Devices currently active: wanpipe1 Wanpipe Config: Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate | wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 169 | 4 | 1 | N/A | 0 | Wanrouter Status: Device name | Protocol | Station | Status | wanpipe1 | AFT TE1 | N/A | Connected | # ifconfig w1g1 w1g1 Link encap:Point-to-Point Protocol UP POINTOPOINT RUNNING NOARP MTU:8 Metric:1 RX packets:5281234 errors:0 dropped:0 overruns:0 frame:0 TX packets:5281234 errors:0 dropped:0 overruns:0 carrier:4 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:169 Memory:f8b40000-f8b41fff # === end debug info ====================================================
RESEARCH
2010-Apr-02 06:45 UTC
[asterisk-users] Problem with Sangoma A104 and euroisdn pri
Can you post outputs for the following commands; #asterisk -rx 'pri show spans' #asterisk -rx 'zap show channels' #wanpipemon -i w1g1 -c Ta Sam -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jaap Winius Sent: Thursday, April 01, 2010 4:15 PM To: Asterisk Subject: [asterisk-users] Problem with Sangoma A104 and euroisdn pri Hi all, My problem boils down to these errors: ... Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) == Everyone is busy/congested at this time This is triggered by lines in extentions.conf such as: exten => _X.,1,Dial(ZAP/g1/${EXTEN},,W) The system is CentOS v5.2 with Asterisk 1.4.23 (druid-asterisk-1.4.23.1-2), a Sangoma A104 4-port card, Wanpipe v3.4.4 and Zaptel v1.4.12.1. The system is attached to a single EuroISDN PRI and is located in the Netherlands. Besides the above error, I also noticed this: CLI> pri show span 1 Primary D-channel: 16 Status: Provisioned, Down, Active Switchtype: EuroISDN Type: CPE Window Length: 0/7 Sentrej: 0 SolicitFbit: 0 Retrans: 0 Busy: 0 Overlap Dial: 0 T200 Timer: 1000 T203 Timer: 10000 T305 Timer: 30000 T308 Timer: 4000 T309 Timer: -1 T313 Timer: 4000 N200 Counter: 3 The status needs to be "Provisioned, Up, Active." Following Sangoma's instructions for debugging an Asterisk PRI span, I can confirm that there are only outgoing frames and that the D-channel messages in Asterisk are the same as what the Wanpipe drivers are seeing. So, assuming that my local telco (KPN Telecom) has activated the D-channel, what else could possibly be causing this problem? Thanks, Jaap PS -- Below are my current configuration files and debugging output: ==begin zaptel.conf =================== loadzone=us defaultzone=us span=1,0,0,ccs,hdb3 bchan=1-15,17-31 hardhdlc=16 ==end zaptel.conf ===================== ==begin wanpipe1.conf ================= [devices] wanpipe1 = WAN_AFT_TE1, Comment [interfaces] w1g1 = wanpipe1, , TDM_VOICE, Comment [wanpipe1] CARD_TYPE = AFT S514CPU = A CommPort = PRI AUTO_PCISLOT = NO PCISLOT = 4 PCIBUS = 13 FE_MEDIA = E1 FE_LCODE = HDB3 FE_FRAME = NCRC4 FE_LINE = 1 TE_CLOCK = NORMAL TE_REF_CLOCK = 0 TE_SIG_MODE = CCS TE_HIGHIMPEDANCE = NO LBO = 120OH FE_TXTRISTATE = NO MTU = 1500 UDPPORT = 9000 TTL = 255 IGNORE_FRONT_END = NO TDMV_SPAN = 1 TDMV_DCHAN = 16 TDMV_HW_DTMF = NO TDMV_HW_FAX_DETECT = NO [w1g1] ACTIVE_CH = ALL TDMV_HWEC = NO ==end wanpipe1.conf =================== ==begin zapata.conf =================== [trunkgroups] [channels] context=default usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes relaxdtmf=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no switchtype=euroisdn context=default group=1 signalling=pri_cpe channel =>1-15,17-31 ==end zapata.conf ===================== Here's some debugging output: === begin debug info ================================================= # ztcfg -vv Zaptel Version: 1.4.12.1 Echo Canceller: MG2 Configuration ===================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Clear channel (Default) (Slaves: 01) Channel 02: Clear channel (Default) (Slaves: 02) Channel 03: Clear channel (Default) (Slaves: 03) Channel 04: Clear channel (Default) (Slaves: 04) Channel 05: Clear channel (Default) (Slaves: 05) Channel 06: Clear channel (Default) (Slaves: 06) Channel 07: Clear channel (Default) (Slaves: 07) Channel 08: Clear channel (Default) (Slaves: 08) Channel 09: Clear channel (Default) (Slaves: 09) Channel 10: Clear channel (Default) (Slaves: 10) Channel 11: Clear channel (Default) (Slaves: 11) Channel 12: Clear channel (Default) (Slaves: 12) Channel 13: Clear channel (Default) (Slaves: 13) Channel 14: Clear channel (Default) (Slaves: 14) Channel 15: Clear channel (Default) (Slaves: 15) Channel 16: Hardware assisted D-channel (Default) (Slaves: 16) Channel 17: Clear channel (Default) (Slaves: 17) Channel 18: Clear channel (Default) (Slaves: 18) Channel 19: Clear channel (Default) (Slaves: 19) Channel 20: Clear channel (Default) (Slaves: 20) Channel 21: Clear channel (Default) (Slaves: 21) Channel 22: Clear channel (Default) (Slaves: 22) Channel 23: Clear channel (Default) (Slaves: 23) Channel 24: Clear channel (Default) (Slaves: 24) Channel 25: Clear channel (Default) (Slaves: 25) Channel 26: Clear channel (Default) (Slaves: 26) Channel 27: Clear channel (Default) (Slaves: 27) Channel 28: Clear channel (Default) (Slaves: 28) Channel 29: Clear channel (Default) (Slaves: 29) Channel 30: Clear channel (Default) (Slaves: 30) Channel 31: Clear channel (Default) (Slaves: 31) 31 channels to configure. # wanrouter status Devices currently active: wanpipe1 Wanpipe Config: Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate | wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 169 | 4 | 1 | N/A | 0 | Wanrouter Status: Device name | Protocol | Station | Status | wanpipe1 | AFT TE1 | N/A | Connected | # ifconfig w1g1 w1g1 Link encap:Point-to-Point Protocol UP POINTOPOINT RUNNING NOARP MTU:8 Metric:1 RX packets:5281234 errors:0 dropped:0 overruns:0 frame:0 TX packets:5281234 errors:0 dropped:0 overruns:0 carrier:4 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:169 Memory:f8b40000-f8b41fff # === end debug info =================================================== -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.437 / Virus Database: 271.1.1/2783 - Release Date: 04/01/10 06:35:00
James Lamanna
2010-Apr-02 16:07 UTC
[asterisk-users] Problem with Sangoma A104 and euroisdn pri
On Thu, Apr 1, 2010 at 6:15 AM, Jaap Winius <jwinius at umrk.to> wrote: [snip]> > Besides the above error, I also noticed this: > > ? ?CLI> pri show span 1 > ? ?Primary D-channel: 16 > ? ?Status: Provisioned, Down, Active > ? ?Switchtype: EuroISDN > ? ?Type: CPE > ? ?Window Length: 0/7 > ? ?Sentrej: 0 > ? ?SolicitFbit: 0 > ? ?Retrans: 0 > ? ?Busy: 0 > ? ?Overlap Dial: 0 > ? ?T200 Timer: 1000 > ? ?T203 Timer: 10000 > ? ?T305 Timer: 30000 > ? ?T308 Timer: 4000 > ? ?T309 Timer: -1 > ? ?T313 Timer: 4000 > ? ?N200 Counter: 3 > > The status needs to be "Provisioned, Up, Active." > > Following Sangoma's instructions for debugging an Asterisk PRI span, I > can confirm that there are only outgoing frames and that the D-channel > messages in Asterisk are the same as what the Wanpipe drivers are > seeing. So, assuming that my local telco (KPN Telecom) has activated > the D-channel, what else could possibly be causing this problem? >I would call KPN Telecom and ask them for help as well. They will have much more sophisticated tools for debugging PRIs and also will be able to check on their end if they see the D-Channel as up. -- James