summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-12-05 03:48:53 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-12-05 03:48:53 +0000
commitddbea099402f86405cccdbb3ed77a8e12d4be7bb (patch)
tree088eb4af11ed9c0ad9fb428ace14b9a025b888b0 /channels/chan_zap.c
parent3509415be1c5fee5f3827b310dd7c97381fa8747 (diff)
revert part of my changes from earlier today since this code is no longer dependent on libpri.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 42275076c..b38b4d5c0 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -5855,10 +5855,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int
tmp->cid.cid_pres = i->callingpres;
tmp->cid.cid_ton = i->cid_ton;
tmp->cid.cid_ani2 = i->cid_ani2;
-/* TODO: enable this code for HAVE_SS7 when PRI_TRANS_CAP_DIGITAL gets renamed
- and doesn't come from libpri.h any longer
-*/
-#if defined(HAVE_PRI)
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
tmp->transfercapability = transfercapability;
pbx_builtin_setvar_helper(tmp, "TRANSFERCAPABILITY", ast_transfercapability2str(transfercapability));
if (transfercapability & AST_TRANS_CAP_DIGITAL)