From f57f033aac2b8ce41eb851ff9fda1fd7c6dc7960 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Tue, 4 Apr 2006 15:38:25 +0000 Subject: [PATCH] Fix for 6841, so that we offer caller name on NI1 within the display IE git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@324 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;