List Info

Thread: Zaptel questions - kld loads on boot and ringing question




Zaptel questions - kld loads on boot and ringing question
user name
2006-12-21 02:44:35
First question (hopefully easy) - I get this when ringing my
FXS phone:
Dec 20 20:54:45 WARNING[459]: chan_zap.c:1810 zt_call:
Unable to reset
default ring on 'Zap/1-1'

The phone rings fine, but when I was running under CentOS
many moons ago I
never saw this. I'm willing to dig to find the problem, but
am wondering
if this is something that is known? I'm running 1.2.x
version of Asterisk,
and I've svn updated the zaptel-bsd source to the latest
trunk, andI'm
running FreeBSD 6.0.

Second - I asked this a while back, and got some advice
about module
loading, but not the "recommended" method (if
there even is one) for
loading the zaptel kld's.

What I was trying to do was, in /boot/loader.conf:
zaptel_load = "YES"
wcfxs_load = "YES"
wcfxo_load = "YES"

Now, zaptel and wcfxs work beautifully. wxfxo, however,
chokes and dies:
  kernel: ZapTel Attach for wcfxo0: deviceID : 0xe159
  kernel: Can't use fast interrupts, falling back to normal
  kernel: wcfxo0: [GIANT-LOCKED]
  kernel: Failed to initailize DAA, giving up...
  kernel: Freed a Wildcard
  kernel: ZapTel detach!
  kernel: We failed: 5
  kernel: device_attach: wcfxo0 attach returned 5

If I unload/load the kld after boot, everything is sunny.
I've taken to
sticking it in rc.local as a command, which I feel is a bit
crufty.

Should it work from loader.conf, and why isn't it? (If I'm
doing something
obviously wrong, please let me know).

Thanks in advance,
J.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Zaptel questions - kld loads on boot and ringing question
user name
2006-12-21 04:22:24
you dont load them that way you should have
zaptel_enable="YES" 
in /etc/rc.conf

and make sure you have zaptel.conf in /usr/local/etc with
all the proper 
settings.....


On Thursday 21 December 2006 02:44, Jerry wrote:
> First question (hopefully easy) - I get this when
ringing my FXS phone:
> Dec 20 20:54:45 WARNING[459]: chan_zap.c:1810 zt_call:
Unable to reset
> default ring on 'Zap/1-1'
>
> The phone rings fine, but when I was running under
CentOS many moons ago I
> never saw this. I'm willing to dig to find the problem,
but am wondering
> if this is something that is known? I'm running 1.2.x
version of Asterisk,
> and I've svn updated the zaptel-bsd source to the
latest trunk, andI'm
> running FreeBSD 6.0.
>
> Second - I asked this a while back, and got some advice
about module
> loading, but not the "recommended" method (if
there even is one) for
> loading the zaptel kld's.
>
> What I was trying to do was, in /boot/loader.conf:
> zaptel_load = "YES"
> wcfxs_load = "YES"
> wcfxo_load = "YES"
>
> Now, zaptel and wcfxs work beautifully. wxfxo, however,
chokes and dies:
>   kernel: ZapTel Attach for wcfxo0: deviceID : 0xe159
>   kernel: Can't use fast interrupts, falling back to
normal
>   kernel: wcfxo0: [GIANT-LOCKED]
>   kernel: Failed to initailize DAA, giving up...
>   kernel: Freed a Wildcard
>   kernel: ZapTel detach!
>   kernel: We failed: 5
>   kernel: device_attach: wcfxo0 attach returned 5
>
> If I unload/load the kld after boot, everything is
sunny. I've taken to
> sticking it in rc.local as a command, which I feel is a
bit crufty.
>
> Should it work from loader.conf, and why isn't it? (If
I'm doing something
> obviously wrong, please let me know).
>
> Thanks in advance,
> J.
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSDlists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Zaptel questions - kld loads on boot and ringing question
user name
2006-12-21 06:09:05
> you dont load them that way you should have
zaptel_enable="YES"
> in /etc/rc.conf
>
> and make sure you have zaptel.conf in /usr/local/etc
with all the proper
> settings.....

My settings are all ok; They are working without major
issues.

If my config files are right, it should autoload the right
modules, then?
I have both an Digium 4 port analog card (1FXO 1FXS) and a
generic x100p
(FXO) card.

The zaptel_enable tickles one of the RC scripts, then? I
downloaded both
Asterisk and zaptel-bsd from SVN and compiled/installed that
way, if it
makes a difference.

As an aside, is there some reason they don't work from the
loader.conf
method? I'm curious, as in my mind the loading of the module
shouldn't be
dependent on the time the module is loaded.

Thanks again,
J.
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )