[Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15
John S. Strock
jstrock at batc.edu
Tue May 29 21:26:19 MST 2007
Yes, I have what you've specified except for fxsks, I have 4 since my module
is in slot 4, is that the right way to do it? Here's the output of ztcfg:
# ztcfg -vvvvvv
Keyword: [loadzone], Value: [us]
Keyword: [defaultzone], Value: [us]
Keyword: [fxsks], Value: [4]
Zaptel Version: 1.4.0-BSD
Echo Canceller: MG2
Configuration
======================
Channel map:
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
1 channels configured.
John S. Strock
Bridgerland Applied Technology College
Information Technology Department Head/Instructor
(435) 760-0390
www.batc.edu
_____
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Simpson Chua
Sent: Tuesday, May 29, 2007 9:51 pm
To: asterisk-bsd at lists.digium.com
Subject: [Asterisk-bsd] Re: Asterisk-BSD Digest, Vol 34, Issue 15
How does your zaptel.conf look like?
Have you configured your zaptel.conf to include your FXO channel?
Example:
fxsks = 1
loadzone = us
defaultzone = us
modprobe wctdm before ztcfg -vvvvv ?
asterisk-bsd-request at lists.digium.com wrote:
Send Asterisk-BSD mailing list submissions to
asterisk-bsd at lists.digium.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-bsd
or, via email, send a message with subject or body 'help' to
asterisk-bsd-request at lists.digium.com
You can reach the person managing the list at
asterisk-bsd-owner at lists.digium.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Asterisk-BSD digest..."
Today's Topics:
1. Zaptel Drivers (John S. Strock)
2. RE: Zaptel Drivers (Mimura,Shigeki)
3. RE: Zaptel Drivers (John S. Strock)
4. RE: Zaptel Drivers (John S. Strock)
5. RE: Zaptel Drivers (Mimura,Shigeki)
6. RE: Zaptel Drivers (John S. Strock)
7. Re: Zaptel Drivers (Chad Leigh -- Pengar Enterprises Inc)
----------------------------------------------------------------------
Message: 1
Date: Tue, 29 May 2007 15:28:03 -0600
From: "John S. Strock"
Subject: [Asterisk-bsd] Zaptel Drivers
To:
Message-ID: <002c01c7a238$3d5de360$c8c871cc at Tiger>
Content-Type: text/plain; charset="us-ascii"
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?
Thanks,
John Strock
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070529/67ed2610
/attachment-0001.htm
------------------------------
Message: 2
Date: Wed, 30 May 2007 09:49:22 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB5 at tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="iso-8859-1"
John Strock wrote:
> 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?
Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
------------------------------
Message: 3
Date: Tue, 29 May 2007 19:14:56 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <003f01c7a257$ef5e2f10$c8c871cc at Tiger>
Content-Type: text/plain; charset="iso-8859-1"
Yes, I have zaptel_enable="YES" in rc.conf, and I get the following error
when I issue /usr/local/etc/rc.d/zaptel.sh start
zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: Operation not
permitted
I'm assuming it has to do with the zaptel device that's not loaded yet.
Any other ideas?
Thanks,
John
-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
> 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?
Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
------------------------------
Message: 4
Date: Tue, 29 May 2007 19:17:30 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004001c7a258$4b0be140$c8c871cc at Tiger>
Content-Type: text/plain; charset="iso-8859-1"
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.
Thanks,
John
-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Mimura,Shigeki
Sent: Tuesday, May 29, 2007 6:49 pm
To: Asterisk on BSD discussion
Subject: RE: [Asterisk-bsd] Zaptel Drivers
John Strock wrote:
> 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?
Did you load zaptel drivers?
You should add zaptel_enable="YES" to /etc/rc.conf, and then restart or
execute '/usr/local/etc/rc.d/zaptel start'.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
------------------------------
Message: 5
Date: Wed, 30 May 2007 11:10:40 +0900
From: "Mimura,Shigeki"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "Asterisk on BSD discussion"
Message-ID:
<1D5B9937D6DCF046B4A00C76DBC70279230CB6 at tsmail.TOUCHSTONE.local>
Content-Type: text/plain; charset="us-ascii"
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.
When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
------------------------------
Message: 6
Date: Tue, 29 May 2007 20:28:01 -0600
From: "John S. Strock"
Subject: RE: [Asterisk-bsd] Zaptel Drivers
To: "'Asterisk on BSD discussion'"
Message-ID: <004601c7a262$25181b20$c8c871cc at Tiger>
Content-Type: text/plain; charset="us-ascii"
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:
kern_securelevel_enable="YES"
kern_securelevel="1"
So I've now disabled these lines, and I get the following errors, now
instead of "Operation not permitted", I received "File Exists":
# /usr/local/etc/rc.d/zaptel.sh start
zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists
# kldload /usr/local/lib/zaptel/zaptel.ko
kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists
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 at lists.digium.com
[mailto:asterisk-bsd-bounces at 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.
When you installed asterisk from ports, also zaptel was installed under
'/usr/local/lib/zaptel'.
How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
------------------------------
Message: 7
Date: Tue, 29 May 2007 20:33:46 -0600
From: Chad Leigh -- Pengar Enterprises Inc
Subject: Re: [Asterisk-bsd] Zaptel Drivers
To: Asterisk on BSD discussion
Message-ID: <5C9099CB-ECCA-4479-94A4-B1725DE09BFC at pengar.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On May 29, 2007, at 8:28 PM, John S. Strock wrote:
> 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:
>
> kern_securelevel_enable="YES"
> kern_securelevel="1"
I thought that might be a problem but was checking some things before
I replied as I was not sure how that affected kernel modules
>
> So I've now disabled these lines, and I get the following errors, now
> instead of "Operation not permitted", I received "File Exists":
>
>
> # /usr/local/etc/rc.d/zaptel.sh start
> zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists
>
> # kldload /usr/local/lib/zaptel/zaptel.ko
> kldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists
maybe it is already loaded from your startup?
try
# kldstat
is it listed?
Chad
>
> 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 at lists.digium.com
> [mailto:asterisk-bsd-bounces at 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.
>
> When you installed asterisk from ports, also zaptel was installed
> under
> '/usr/local/lib/zaptel'.
> How about to execute 'kldload /usr/local/lib/zaptel/zaptel.ko'?
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
------------------------------
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
End of Asterisk-BSD Digest, Vol 34, Issue 15
********************************************
_____
Fussy? Opinionated? Impossible to please? Perfect. Join
<http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo_pan
el_invite.asp?a=7%20> Yahoo!'s user panel and lay it on us.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20070529/5130252e/attachment-0001.htm
More information about the Asterisk-BSD
mailing list