aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sig_pri.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-21 23:18:16 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-21 23:18:16 +0000
commit214c6e3cfc89a274937e4014c7e334864233c3b5 (patch)
treefdcc4671035b0ea531dd35d8579fed61aab5bd30 /channels/sig_pri.c
parentcd1099b4a46951fd68cce6efa1ea03ba675f8b22 (diff)
Update configure script for libpri COLP feature dependency requirements.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@213748 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sig_pri.c')
-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) {