aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-12 22:27:22 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-12 22:27:22 +0000
commit8b74d85e189dd7a49171e1aa740dc45baf8b64b4 (patch)
treefb27b6675c95e1318c3936a06d78c380df7a2489 /channels/chan_zap.c
parent3a091c1b1e54d783513c1d38bc6f76ee06edfb81 (diff)
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. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48416 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 394c12bb2..c72b30c4d 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -118,7 +118,7 @@ static struct ast_jb_conf default_jbconf =
};
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