From 69e8d42ac2fff5e36a3434bfb559781afd3a1298 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Thu, 28 Oct 2004 16:18:14 +0000 Subject: [PATCH] Change to which switchtypes to send facility IEs to git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@152 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/q931.c b/q931.c index 7b45acd..a7fe07e 100755 --- a/q931.c +++ b/q931.c @@ -990,9 +990,7 @@ static FUNC_SEND(transmit_facility) struct rose_component *comp; unsigned char namelen = strlen(call->callername); - if ((pri->switchtype == PRI_SWITCH_QSIG) - || (pri->switchtype == PRI_SWITCH_ATT4ESS) - || (pri->switchtype == PRI_SWITCH_NI2)) { + if ((namelen > 0) && (pri->switchtype == PRI_SWITCH_QSIG)) { ie->data[i] = ROSE_NETWORK_EXTENSION; i++; /* Interpretation component */