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
This commit is contained in:
Matthew Fredrickson 2006-04-04 15:38:25 +00:00
parent 11984069b6
commit f57f033aac

2
q931.c
View File

@ -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;