[Asterisk-Users] Big zaphfc issues

James Doherty james at zeald.com
Wed Sep 29 21:31:07 MST 2004


I have a "Cologne Chip Designs GmbH ISDN network controller" in my
asterisk box, and an ISDN line connected up to it. I downloaded the
bri-stuff 0.1.0-RC4a package from junghanns.net and used that to compile
asterisk using these instructions:
http://www.voip-info.org/tiki-index.php?page=Asterisk%20zaphfc%20install

When I try to call my asterisk box, my sip phone rings twice and then
the line is disconnected:

-- Going to extension s|1 because of immediate=yes
-- Accepting call from '21******' to 's' on channel 0/1, span 1
-- Executing Dial("Zap/1-1", "SIP/jamesdoherty") in new stack
-- Called jamesdoherty
-- SIP/jamesdoherty-74a8 is ringing
Ri = 26098 TEI msg = 3 TEI = 7f
Ri = 25324 TEI msg = 3 TEI = 7f
== Primary D-Channel on span 1 down
Sep 30 03:48:35 WARNING[12300]: chan_zap.c:1942 pri_find_dchan: No
D-channels available!  Using Primary on channel anyway 3!
== Spawn extension (default, s, 1) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'

"Ri = 25324 TEI msg = 3 TEI = 7f" <- these are rather disturbing. I get
them regularly on the asterisk console.

When I try to call out from the asterisk box I get the following:

-- Executing Dial("SIP/jamesdoherty-3c5f", "Zap/g1/0800225598") in new
stackSep 30 03:49:20 NOTICE[21521]: app_dial.c:727 dial_exec: Unable to
create channel of type 'Zap'
== Everyone is busy/congested at this time
-- Executing Congestion("SIP/jamesdoherty-3c5f", "") in new stack
== Spawn extension (default, 0800225598, 2) exited non-zero on
'SIP/jamesdoherty-3c5f'

In my /etc/asterisk/extensions.conf I have TRUNK set to "Zap/g1"
(without the quotes) and an extension like the following:

exten => _0800.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _0800.,2,Congestion

My /etc/zaptel.conf looks like this:

loadzone=nz
defaultzone=nz

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

and my /etc/asterisk/zapata.conf looks like this:

[channels]
language=en
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan=local
echocancel=yes
immediate=yes
group = 1
context=default
channel => 1-2

Our provider tells us that the ISDN BRI units are in ptmp mode. The
zaptel and zaphfc modules *are* loaded and asterisk reports that I have
two channels:

zap show channels
Chan Extension  Context         Language   MusicOnHold
pseudo          default         en
1               default         en
2               default         en

The card has its own IRQ:
12:   40452133          0          XT-PIC  zaphfc

Any help would be appreciated to try and get this working :)
Thanks
-- 
James Doherty
Zeald.com Network Operations
Ph: +64 9 415 7575, Fax: +64 9 443 9794
Web: http://www.zeald.com




More information about the asterisk-users mailing list