[svn-commits] russell: trunk r48416 - /trunk/channels/chan_zap.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 12 15:27:23 MST 2006


Author: russell
Date: Tue Dec 12 16:27:22 2006
New Revision: 48416

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48416
Log:
Make chan_zap inform you that your version of zaptel is too old instead of
just failing to compile.

It seems like the proper way to do this would be in the configure script.
However, that wouldn't help existing checkouts unless we forced the configure
script to be executed after any code was changed.

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=48416&r1=48415&r2=48416
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Tue Dec 12 16:27:22 2006
@@ -118,7 +118,7 @@
 };
 static struct ast_jb_conf global_jbconf;
 
-#if !defined(ZT_SIG_EM_E1) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC))
+#if !defined(ZT_TCOP_RELEASE) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC))
 #error "Your zaptel is too old.  Please update"
 #endif
 



More information about the svn-commits mailing list