summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2009-08-21 23:18:16 +0000
committerRichard Mudgett <rmudgett@digium.com>2009-08-21 23:18:16 +0000
commit4ae5535d8f624f2a1cc3530669a01ee31f8e5baa (patch)
treefdcc4671035b0ea531dd35d8579fed61aab5bd30 /channels
parentc28fb2bf19e122a0e36ff72d7ea48db67b70a6b1 (diff)
Update configure script for libpri COLP feature dependency requirements.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/sig_pri.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 98a6d0198..2184b841b 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -47,6 +47,9 @@
#include "asterisk/features.h"
#include "sig_pri.h"
+#ifndef PRI_EVENT_FACILITY
+#error please update libpri
+#endif
/* define this to send PRI user-user information elements */
#undef SUPPORT_USERUSER
@@ -1981,9 +1984,6 @@ static void *pri_dchannel(void *vpri)
sig_pri_unlock_private(pri->pvts[chanpos]);
}
break;
-#ifndef PRI_EVENT_FACILITY
-#error please update libpri
-#endif
case PRI_EVENT_FACILITY:
chanpos = pri_find_principle(pri, e->facility.channel);
if (chanpos < 0) {
@@ -2115,9 +2115,6 @@ static void *pri_dchannel(void *vpri)
}
}
break;
-#ifndef PRI_EVENT_HANGUP_REQ
-#error please update libpri
-#endif
case PRI_EVENT_HANGUP_REQ:
chanpos = pri_find_principle(pri, e->hangup.channel);
if (chanpos < 0) {