From 1cfe36a94447874f37824022656ca1b857312a0b Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Tue, 25 Jan 2005 00:36:34 +0000 Subject: [PATCH] Don't send callername as CPE git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@181 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q931.c b/q931.c index 0e1e34b..9676c1c 100755 --- a/q931.c +++ b/q931.c @@ -1055,7 +1055,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->switchtype == PRI_SWITCH_NI2) && (pri->localtype == PRI_NETWORK)))) { ie->data[i] = ROSE_NETWORK_EXTENSION; i++; /* Interpretation component */