[Asterisk-bsd] Yeastar TDM800 drivers on FreeBSD
Shakir Solomon
ssolomon at tenet.ac.za
Tue Jul 15 03:46:55 CDT 2008
> From: asterisk-bsd-bounces at lists.digium.com [mailto:asterisk-bsd-
> bounces at lists.digium.com] On Behalf Of Richard Neese
> Sent: Monday, July 14, 2008 10:47 PM
> To: Asterisk on BSD discussion
> Subject: Re: [Asterisk-bsd] Yeastar TDM800 drivers on FreeBSD
>
> On Monday 14 July 2008 15:19:53 Shakir Solomon wrote:
> > Hi
> >
> > I've recently acquired Yeastar TDM800 with an FXO and FXS module
> > and installed asterisk-1.4.20.1 and zaptel-bsd-1.4.6 from the ports
> > collection.
> >
> > I am running FreeBSD 7.0-STABLE.
> >
> > After rebooting the output of demsg is:
> >
> > dmesg: Zapata Telephony Interface Registered on major 196
> > dmesg: Echo Canceller: MG2
> >
> > Apparently the Yeaster TDM800 does not work out of the box with the
> > current Zaptel sources. On Yeaster's website they have provided a
> > linux patch file for the Zaptel source.
> >
> > I assume a lot of pain was taken into making zaptel-bsd-1.4.6 as bsd
> > friendly as possible and thought to manually patch the TDM800
drivers
> > in there according to this "linux specific" documentation
> > http://www.yeastar.com/download/TDM800DriverInstall.pdf
> >
> > However, that didn't work out too well, as the files from zaptel-bsd
> > is way too different to the source.
> >
> > Has anyone been able to do this before? and is it possible to
compile
> > zaptel from source without any hiccups?
> >
> > Regards
> > Shakir
>
> did you edit the /u/l/e/zaptel.conf and setup the interfaces ?
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> Asterisk-BSD mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
I have this is my /usr/local/etc/zaptel.conf
# we have one O2 module at position 2 and one S2 module at position 3.
fxoks=3
fxoks=4
fxsks=5
fxsks=6
loadzone = us
defaultzone = us
This is the output of ztcfg:
[root at stargate /usr/local/etc]# ztcfg
Keyword: [fxoks], Value: [3]
Keyword: [fxoks], Value: [4]
Keyword: [fxsks], Value: [5]
Keyword: [fxsks], Value: [6]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]
ZT_CHANCONFIG failed on channel 3: Device not configured (6)
This is the output of kldstat:
[root at stargate /usr/local/etc]# kldstat
Id Refs Address Size Name
1 15 0xc0400000 907110 kernel
2 1 0xc0d08000 6a618 acpi.ko
3 1 0xc4529000 3000 pflog.ko
4 1 0xc4536000 33000 pf.ko
5 9 0xc45bd000 34000 zaptel.ko
6 1 0xc4617000 7000 qozap.ko
7 1 0xc461f000 22000 tau32pci.ko
8 1 0xc4644000 6000 wcfxo.ko
9 1 0xc464a000 b000 wcfxs.ko
10 1 0xc4675000 7000 wct1xxp.ko
11 1 0xc467c000 c000 wct4xxp.ko
12 1 0xc4698000 a000 wcte11xp.ko
13 1 0xc46a3000 e000 wcte12xp.ko
I pretty sure I have to hack zaptel-bsd to include support for the
Yeastar TDM800, it seems they
have provided the linux for module at
http://www.yeastar.com/download/zaptel-1.4.6/ystdm8xx.c
More information about the Asterisk-BSD
mailing list