From d165e41e9c8982a70e4dbfc81454dd2e36859ea8 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 29 Aug 2008 18:20:07 +0000 Subject: [PATCH] patch from Michael Collins, 5ess does not use display IE git-svn-id: http://svn.openzap.org/svn/openzap/trunk@518 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/isdn/5ESSStateTE.c | 2 +- libs/openzap/src/isdn/5ESSmes.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/libs/openzap/src/isdn/5ESSStateTE.c b/libs/openzap/src/isdn/5ESSStateTE.c index a9654ce723..13a080cadc 100644 --- a/libs/openzap/src/isdn/5ESSStateTE.c +++ b/libs/openzap/src/isdn/5ESSStateTE.c @@ -73,7 +73,7 @@ void ATT5ESSCreateTE(L3UCHAR i) Q931SetMesProc(Q931mes_CONNECT, i,ATT5ESSProc0x07TE, ATT5ESSUmes_0x07, ATT5ESSPmes_0x07); Q931SetMesProc(Q931mes_CONNECT_ACKNOWLEDGE, i,ATT5ESSProc0x0fTE, ATT5ESSUmes_0x0f, ATT5ESSPmes_0x0f); Q931SetMesProc(Q931mes_PROGRESS, i,Q931ProcProgressTE, Q931Umes_Progress, Q931Pmes_Progress); - Q931SetMesProc(Q931mes_SETUP, i,Q931ProcSetupTE, Q931Umes_Setup, Q931Pmes_Setup); + Q931SetMesProc(Q931mes_SETUP, i,Q931ProcSetupTE, ATT5ESSUmes_Setup, ATT5ESSPmes_Setup); Q931SetMesProc(Q931mes_SETUP_ACKNOWLEDGE, i,Q931ProcSetupAckTE, Q931Umes_SetupAck, Q931Pmes_SetupAck); Q931SetMesProc(Q931mes_RESUME, i,Q931ProcResumeTE, Q931Umes_Resume, Q931Pmes_Resume); Q931SetMesProc(Q931mes_RESUME_ACKNOWLEDGE, i,Q931ProcResumeAckTE, Q931Umes_ResumeAck, Q931Pmes_ResumeAck); diff --git a/libs/openzap/src/isdn/5ESSmes.c b/libs/openzap/src/isdn/5ESSmes.c index da47f7ac5b..fc8d4b9fbb 100644 --- a/libs/openzap/src/isdn/5ESSmes.c +++ b/libs/openzap/src/isdn/5ESSmes.c @@ -85,7 +85,6 @@ L3INT ATT5ESSUmes_Setup(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generic case Q931ie_CHANNEL_IDENTIFICATION: case Q931ie_PROGRESS_INDICATOR: case Q931ie_NETWORK_SPECIFIC_FACILITIES: - case Q931ie_DISPLAY: case Q931ie_DATETIME: case Q931ie_KEYPAD_FACILITY: case Q931ie_SIGNAL: @@ -194,11 +193,6 @@ L3INT ATT5ESSPmes_Setup(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *IBuf, L3INT I if((rc=Q931Pie[pTrunk->Dialect][Q931ie_NETWORK_SPECIFIC_FACILITIES](pTrunk, Q931GetIEPtr(pMes->NetFac,pMes->buf), OBuf, &Octet))!=0) return rc; - /* Display */ - if(Q931IsIEPresent(pMes->Display)) - if((rc=Q931Pie[pTrunk->Dialect][Q931ie_DISPLAY](pTrunk, Q931GetIEPtr(pMes->Display,pMes->buf), OBuf, &Octet))!=0) - return rc; - /* Date/Time */ if(Q931IsIEPresent(pMes->DateTime)) if((rc=Q931Pie[pTrunk->Dialect][Q931ie_DATETIME](pTrunk, Q931GetIEPtr(pMes->DateTime,pMes->buf), OBuf, &Octet))!=0)