diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 21:24:48 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 21:24:48 +0000 |
commit | 4790cfb2bdae5248161df6abf555f18b1ebe3989 (patch) | |
tree | 264befedee27a2dcd02b59e5def20b927dbc892a | |
parent | 0901d3a59ad9cdb6f44f65f291aa3a5d061ca5be (diff) |
The condition to check the zaptel version was too strict.
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.
This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15785 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index babaeb7f2..adc6217c9 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -107,7 +107,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #define SMDI_MD_WAIT_TIMEOUT 1500 /* 1.5 seconds */ #endif -#ifndef ZT_SIG_HARDHDLC +#if !defined(ZT_SIG_EM_E1) || (defined(ZAPATA_PRI) && !defined(ZT_SIG_HARDHDLC)) #error "Your zaptel is too old. please update" #endif |