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
This commit is contained in:
Matthew Fredrickson 2004-10-28 16:18:14 +00:00
parent 8a5895191f
commit 69e8d42ac2

4
q931.c
View File

@ -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 */