From 073bd4fa7023e577195d3ff24304e773fc260126 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Mon, 27 Dec 2004 16:25:29 +0000 Subject: [PATCH] Support callername being sent over NI2 type switches git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@175 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/q931.c b/q931.c index 148ac2c..df3d119 100755 --- a/q931.c +++ b/q931.c @@ -1005,8 +1005,7 @@ static FUNC_SEND(transmit_facility) if (namelen > 15) namelen = 15; /* According to GR-1367, for NI2 switches it can't be > 15 characters */ if ((namelen > 0) && ((pri->switchtype == PRI_SWITCH_QSIG) || - (pri->switchtype == PRI_SWITCH_NI2 && - pri->localtype == PRI_NETWORK) )) { + (pri->switchtype == PRI_SWITCH_NI2) )) { ie->data[i] = ROSE_NETWORK_EXTENSION; i++; /* Interpretation component */