Q.SIG fix. Don't send DISPLAY IE for callername

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@248 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson
2005-09-15 15:46:09 +00:00
parent cfee7ff007
commit 83c78f9e85

3
q931.c
View File

@@ -1036,7 +1036,8 @@ static FUNC_RECV(receive_display)
static FUNC_SEND(transmit_display)
{
int i;
if ((pri->switchtype != PRI_SWITCH_NI1) && *call->callername) {
if ((pri->switchtype != PRI_SWITCH_NI1) && (pri->switchtype != PRI_SWITCH_QSIG)
&& *call->callername) {
i = 0;
if(pri->switchtype != PRI_SWITCH_EUROISDN_E1) {
ie->data[0] = 0xb1;