From 2b5a35284037b75f07a21abb4e29c2cd1e00fa07 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Mon, 26 Apr 2004 12:30:28 +0000
Subject: [PATCH] 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
---
 channels/chan_zap.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

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
-- 
GitLab