diff --git a/q931.c b/q931.c index 25cb461..0d89c83 100644 --- a/q931.c +++ b/q931.c @@ -1061,7 +1061,7 @@ static FUNC_SEND(transmit_display) { int i; - if ((pri->switchtype == PRI_SWITCH_NI1) || (pri->switchtype == PRI_SWITCH_QSIG) + if ((pri->switchtype == PRI_SWITCH_QSIG) || ((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) || !call->callername[0]) return 0;