Asterisk has detected a problem with your Zaptel configur

ERROR[4013] asterisk.c: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options:

  1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support.

  2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don’t need them.

Can’t do either… I have zaptel cards…

I’m using Yeastar TDM800 PCI cards (2 of them)
Zaptel version 1.4.10.1 (with yeastar patch for their ystd8xx driver)
Asterisk version 1.4.20

Zaptel.conf

Autogenerated by /usr/sbin/genzaptelconf – do not hand edit

Zaptel Configuration File

This file is parsed by the Zaptel Configurator, ztcfg

It must be in the module loading order

Span 1: WCTDM/0 “YSTDM8xx REV E Board 1” (MASTER)

fxsks=1
fxsks=2
fxsks=3
fxsks=4
fxsks=5
fxsks=6
fxoks=7
fxoks=8

Span 2: WCTDM/1 “YSTDM8xx REV E Board 2”

fxsks=9
fxsks=10
fxsks=11
fxsks=12
fxsks=13
fxsks=14
fxoks=15
fxoks=16

Global data

loadzone = us
defaultzone = us

Zapata.conf
default besides…
busydetect=yes
signalling=fxs_ks

zapata-channels.conf - only thing changed from default generated is context=from-zaptel…

signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default

Asterisk is crashing randomly, and works fine otherwise…
When I do a restart it says it can’t find /var/run/asterisk/asterisk.pid
but its there and owned by asterisk.

Please see my thread

forums.digium.com/viewtopic.php?t=24216

[root@pc1 ~]# asterisk -vvvvvvvvvvvvvvvvvvvc
Asterisk 1.4.21.2, Copyright © 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: Found
== Parsing ‘/etc/asterisk/extconfig.conf’: Found
== Parsing ‘/etc/asterisk/logger.conf’: Found
Asterisk Event Logger Started /var/log/asterisk/event_log
[Aug 6 14:53:04] ERROR[5104]: asterisk.c:2982 main: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options:

  1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support.
  2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don’t need them.
  3. If you need Zaptel services, you must correctly configure Zaptel.