From: Mark Spencer Date: Mon, 26 Apr 2004 12:30:28 +0000 (+0000) Subject: Avoid another voipme by explaining you need CVS update when SIG_EM_E1 is invalid X-Git-Tag: 1.0.0-rc1~666 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b5a35284037b75f07a21abb4e29c2cd1e00fa07;p=thirdparty%2Fasterisk.git Avoid another voipme by explaining you need CVS update when SIG_EM_E1 is invalid git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2774 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 2801f2db4b..b8a70c471f 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -58,12 +58,9 @@ #include "../asterisk.h" -/* - XXX - XXX We definitely need to lock the private structure in zt_read and such - XXX - */ - +#ifndef ZT_SIG_EM_E1 +#error "Your zaptel is too old. please cvs update" +#endif /* * Define ZHONE_HACK to cause us to go off hook and then back on hook when