login | register
Fri 04 of Jul, 2008 [22:52 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Samuel, Thu 03 of Jul, 2008 [13:41 UTC]: ok thank you
  • Mats Karlsson, Thu 03 of Jul, 2008 [13:37 UTC]: Nice Samuel, will look forward to rad it.
  • bwl_fernstudent, Thu 03 of Jul, 2008 [09:08 UTC]: Your blog shows some usefull code
  • Samuel, Thu 03 of Jul, 2008 [08:04 UTC]: I'll translate it, for sure
  • Mats Karlsson, Wed 02 of Jul, 2008 [20:46 UTC]: LOL, in french! Translate it to English and I will read it.
  • Samuel, Wed 02 of Jul, 2008 [08:07 UTC]: Hello, i wrote a blog about Asterisk, speaking about installation,programming and more http://sambranche.blogspot.com/
  • Nick Barnes, Tue 01 of Jul, 2008 [17:46 UTC]: Steve - Asterisk doesn't 'fit into linux' - it's an application which runs on top of Linux.
  • Steve, Mon 30 of Jun, 2008 [18:07 UTC]: anyone know where I can find a block diagram of how asterisk fits into linux. my f'ing bosses want me to draw something up.. ugh.
  • akbar, Fri 27 of Jun, 2008 [10:37 UTC]: marley_boyz@yahoo.com how to configure call forward, call back, call pick up using TDM and asterisk 1.2.13... please help me.. thx...
  • Matthew Williams, Tue 24 of Jun, 2008 [22:37 UTC]: We are looking for Tier II VoIP Support Technicians in St Louis. Send resumes to mwilliams AT voxitas DOT com.
Server Stats
  • Execution time: 0.38s
  • Memory usage: 2.63MB
  • Database queries: 33
  • GZIP: Disabled
  • Server load: 1.02

zaptelBRI

zaptelBRI ISDN Interface cards


junghanns.net makes a quadBRI and octoBRI card for interface with ISDN phones or ISDN lines providing a PSTN connectivity gateway with Asterisk. They also have a single and double E1. (PRI)

Resources:

Currently, they make a quad and octo-port BRI card. The card can operate in TE or NT mode.
Quadbri: In TE mode the card can connect 4 ISDN lines for outgoing and incoming calls. In NT mode the card can connect up to 8 ISDN phones. Switching between modes is done using jumpers at the card. The default is NT mode.

For jumper information:

Card information:

bristuff applications

Check the README for more details on the extra applications included with the bristuff patch. Some of them are:

QuadBRI

TE mode information

QuadBRI TE mode installation guide

Config files examples

NT mode information

QuadBRI NT mode:

Possible installation errors

If you load the qozap and zaptel driver, all seems to work. If you then do ztcfg -v, after a few seconds the following error scrolls over the screen and your system does not respond:

kernel: qozap: dropped audio card 1 cardid 0 bytes...

The only solution is a reboot. It could be there's a raid controller in your system, this causes the "incompatibility".
A solution is to change in the qozap.c file the line 'if (qoztmp->clicks > 1) {', change the 1 to 100. Recompile qozap, install it, rmmod if loaded, and try again.

Benchmarking

While we are at the subject anyway I can put some on-topic info here aswell. Recent benchmarks with 6 QuadBRI's on a Pentium-4 2.8Ghz resulted in a almost 100% improvement in load under Linux 2.6(.4) over Linux 2.4(.25). This ofcourse resulted in less (no) quirks in the sound under 2.6 than under 2.4.
The loadtest was done looping the BRI's to each other and in such way that we used all 24 BRI's (2 channels) resulting in 48 active channels.

The audio quality was easily monitored in contrary to often proposed "test suites"... Two phones at each end...


HFC-S BRI

There is also support for HFC-S PCI cards with the zaphfc module (included with the zapBRI driver package). There are many (low cost) cards around that use this chipset, here a few examples:

  • Acer ISDN-Surf
  • Billion Bipac ISDN
  • Billion/Asuscom (Asuscom/Askey)
  • Conceptronic ISDN PCI card C128i(r)
  • Creatix ISDN-S0/PCI
  • D-LINK DMI-128+
  • HFC cards from "Conrad Elektronik" (ordering no. 95 50 78)
  • Longshine LCS-8051
  • Neolec FREEWAY ISDNPCI
  • Trust PCI ISDN Modem
  • I-tec ISDN-128

Installing the latest version of bri-stuff from the junghanns download page (not linked to currently from the front page) runs smoothly on Fedora 2.6.8-1.521. The Billion card was recommended by my supplier for the UK. The bri-stuff installation scripts download the latest asterisk/zaptel and use a stable release not CVS. I kept getting type errors whilst using the bri-stuff installation scripts and zaphfc wouldn't install: then I realised that I hadn't included the "patch" package within my installation, and bri-stuff was looking for a definition which hadn't been patched in to the code.

Known issues

  • Sometimes it becomes confused about what channels are in use... after a while show channels shows nothing but dial() says the zap channels are busy... (and they are not since a capi board on the same bus can call)
  • In newer Versions, the BRIStuffed Version of Asterisk only works with original Junghanns Cards (4 and 8 Port Cards). Junghanns has implemented a ROM Check of the card to avoid the usage of third party multi BRI Cards (for example, the beroNet Technologies Card).
Is this assertion ("avoid the usage of third party multi BRI Cards") still true ? 0.4.0-test6 Bristuff changelog says "Patch qozap to support bero.net cards". Could someone check and correct these lines ?

  • In most cases not important: bristuff changes the structure of the uniqueid compared to a stock-asterisk:
    Stock Asterisk: 1133722648.50
    Bristuff'ed: asterisk-1685-1131631588.9

bristuff-0.2.0-RC8 on SuSE 9.2 Professional, Kernel 2.6.8-24-default

ONLY for the 2.6.8 kernel shipped by SuSE, not tested with other kernels!

Installing the bristuff-0.2.0-RC8 package on SuSE 9.2 Professional leads to some trouble with the modules. According to kpj, SuSE ships with old driver versions from a very old bristuff package. Hence, there is trouble at module loading time. Asterisk won't start because of this.

The reason for the problems is that the install script of the bristuff package installs the modules to /lib/modules/`uname -r`/misc/. The "old" modules shipped by SuSE are in /lib/modules/`uname -r`/extra/. If you do "modprobe zaptel" and/or "modprobe qozap", the old versions are loaded and trouble arises. Hence, you have to do (as root):

  # rm /lib/modules/`uname -r`/extra/zaptel.ko
  # rm /lib/modules/`uname -r`/extra/qozap.ko
  # rm /lib/modules/`uname -r`/extra/zaphfc.ko
  # depmod -a

Reboot, and then you can load the "new" and working modules with modprobe. Proceed as described in the install tutorial, and be happy (:cool:)

Good luck - bowman (:wink:)

FAQ


Does the card need a separate IRQ?

No, but it is better to do that. The Digium cards DO need a separate IRQ for each card, and it can cause strange problems if you are sharing an IRQ with a lot of devices. You can check this by looking at "/proc/interrupts".

Why do I keep seeing the following messages in my log?

"
kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
kernel: card 1 span 1 state F8 (A_ST_RD_STA = 0x8)
kernel: card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
kernel: card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
kernel: card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
"

This is normal behaviour. The ISDN telco has a timeout which will reset the state every x seconds.

What do the different LED states mean for the card?

- Blinking LED's show the driver is loaded
- Blinking green means ISDN layer 1 is working

I have a KPN supreme vox 6. I can not dial out using the S0 lines at the PBX.

- This ISDN PBX does not accept calls with CallerID set. Edit your extensions.conf to make sure you call setCallerID("").
"
Example:
exten => _03.,1,SetCallerID("")
exten => _03.,2,Dial(Zap/g3/${EXTEN:2})
"

How to use DID in PTP-Mode?

You have to set 'overlapdial=yes' and 'immediate=no' in your zapata.conf (before channel=XXX)

At the callee, the CallerID is shown with an additional prefix

Set prilocaldialplan=private in the zapata.conf, to get rid of the wrong additional leading digits

See also



Go back to Asterisk

Created by geertn, Last modification by Olivier on Fri 07 of Mar, 2008 [14:44 UTC]

Comments Filter

Re: Typhoon Qucik Com

by kno on Tuesday 31 of May, 2005 [08:42:39 UTC]
I've an ISDN card that show the same lspci, and it doesnt work with that change and yes without changes, so... if you are searching a card like that, try with and without changes.

Re: Overlapdial

by poorman on Tuesday 05 of April, 2005 [12:41:17 UTC]
It works well with WaitExten command. Examples of configs for NT mode would be nice on this page.

Following config works for me: (cut&paste from configs)

zapata.conf:

context=phones
group = 4
signalling = bri_net_ptmp
immediate=no
; S/T port 4
channel => 10-11


extensions.conf

[phones]
exten => s,1,WaitExten(5)
exten => s,2,Macro(call,${EXTEN})
exten => s,3,Hangup


Re: Overlapdial

by folke on Friday 06 of August, 2004 [20:16:20 UTC]
I'm using zaphfc for in bri_cpe mode (PTP/Anlagenanschluß) with bri-stuff-0.1.0-RC2k and CVS-Asterisk (2004-08-06).
setting overlapdial=yes in zapata.conf (before channel=XXX !!!) works with incoming calls for me perfectly

channels
language=de
overlapdial=yes
switchtype=euroisdn
signalling = bri_cpe
pridialplan = local
prilocaldialplan = local
echocancel = yes
immediate=no
group = 1
callgroup=1
context=isdnin
usecallingpres=yes
usecallerid=yes
hidecallerid=no
callerid=asreceived
channel => 1-2

Edit

Overlapdial

by Anonymous on Tuesday 27 of April, 2004 [12:06:37 UTC]
Overlapdial doesn't work yet. (bri-stuff rc20a). Only works when dialing the number first and then pick up the phone. If you pick up the phone first (as usual) and then dial the number it doesn't work.
(:sad:)

Typhoon Qucik Com

by jl_de on Wednesday 10 of March, 2004 [08:18:28 UTC]
Another ISDN card that works for me is the Typhoon ISDN Quick Com 128 PCI. lspci shows it as 'Network controller: Asustek Computer, Inc. ISDNLink P-IN100-ST-D (rev 02)'. I only had to change the ids in zaphfc.c. Simply search for:
tmp = pci_find_device(PCI_VENDOR_ID_CCD, PCI_DEVICE_ID_CCD_2BD0, multi_hfc);
and change it to:
tmp = pci_find_device(0x1043, 0x0675, multi_hfc);


Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver