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