Posted: Tue May 29, 2007 9:55 pm Post subject: [Asterisk-bsd] Zaptel Drivers
I’m running FreeBSD v6.2 and Asterisk v1.4.3. I’ve installed Asterisk via the Ports and everything has been working great. I just ordered and received a TDM01B card from Digium and am not sure how to install and configure anything for it. Ztcfg –vv give me the following:
ztcfg -vv
Notice: Configuration file is /usr/local/etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
Keyword: [fxsks], Value: [1,2,3,4]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]
1 error(s) detected
I’ve been using FreeBSD for several years, but am not familiar with loading drivers or devices (I knew how to load devices in v4.11, but not this version).
Can you direct me to any articles on configuring my card for FreeBSD? Or offer any help?
Posted: Wed May 30, 2007 12:50 am Post subject: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
Quote:
I'm running FreeBSD v6.2 and Asterisk v1.4.3. I've installed Asterisk via the Ports and everything has been working great. I just ordered and received a TDM01B card from Digium and am not sure how to install and configure anything for it. Ztcfg -vv give me the following:
ztcfg -vv
Notice: Configuration file is /usr/local/etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'
Keyword: [fxsks], Value: [1,2,3,4]
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]
1 error(s) detected
I've been using FreeBSD for several years, but am not familiar with loading drivers or devices (I knew how to load devices in v4.11, but not this version).
Can you direct me to any articles on configuring my card for FreeBSD? Or offer any help?
Again, I'm not familiar with loading modules and devices so I'm not sure
what this means.
To answer your install question...
Installing Asterisk from ports appeared to have installed zaptel as well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.
Any more ideas?
Thanks again,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
Quote:
As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
Quote:
via the ports, it would've installed the *.ko file, but apparently
not.
Again, I'm not familiar with loading modules and devices so I'm not
sure
what this means.
To answer your install question...
Installing Asterisk from ports appeared to have installed zaptel as
well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.
Any more ideas?
Thanks again,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of
Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.
Again, I'm not familiar with loading modules and devices so I'm not
sure
what this means.
To answer your install question...
Installing Asterisk from ports appeared to have installed zaptel as
well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.
Any more ideas?
Thanks again,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of
Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.
Posted: Wed May 30, 2007 2:43 am Post subject: [Asterisk-bsd] Zaptel Drivers
I just ran a dmesg (see output below) and this looks much better than it did
originally (originally I didn't have zaptel_enable="YES" in rc.conf, I
wonder if that was all I needed, along with my security being disabled).
It appears I'm ready to configure asterisk and use this card, let me know if
you think there's something more (hardware/drive/device wise I need to do).
Thanks again,
# dmesg
Zapata Telephony Interface Registered on major 196
Echo Canceller: MG2
FXS device: vendor=e159 device=1 subvendor=b1d9
wcfxs0: <Wildcard TDM400P REV I> port 0x1000-0x10ff mem
0xf8511000-0xf8511fff irq 18 at device 9.0 on pci5
FXS Attach for wcfxs0: deviceID : 0xe159
wcfxs0: [FAST]
Freshmaker version: 73
Freshmaker passed register test
ProSLIC sanity check failed
Module 0: Not installed
ProSLIC sanity check failed
Module 1: Not installed
ProSLIC sanity check failed
Module 2: Not installed
Module 3: Installed -- AUTO FXO
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 0 (United States / North America)
Thanks again,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Chad Leigh --
Pengar Enterprises Inc
Sent: Tuesday, May 29, 2007 8:34 pm
To: Asterisk on BSD discussion
Subject: Re: [Asterisk-bsd] Zaptel Drivers
On May 29, 2007, at 8:28 PM, John S. Strock wrote:
Quote:
After receiving your last response, one thing hit me, I have my server
locked down and have the following in my /etc/rc.conf file:
Again, I'm not familiar with loading modules and devices so I'm not
sure
what this means.
To answer your install question...
Installing Asterisk from ports appeared to have installed zaptel as
well,
because when I tried to install zaptel from ports, I received an error
stating it was already installed. Also, the zaptel.ko file exists in
/usr/local/lib/zaptel, so again, I assume it was created for me.
Any more ideas?
Thanks again,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of
Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:11 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
> As a side note, how do I get zaptel.ko, I assume when I installed
Asterisk
> via the ports, it would've installed the *.ko file, but apparently
not.
Posted: Wed May 30, 2007 3:43 am Post subject: [Asterisk-bsd] Zaptel Drivers
Do you have any sample config files for a single analog line? i.e.
Zapata.conf, extensions.conf, and zaptel.conf? I can't seem to get this
card working, it appears the drivers are loaded.
Thanks,
John
-----Original Message-----
From: asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 8:43 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
Quote:
So does that mean the driver and device is loaded...now I just need to
configure Asterisk to use it?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum