From 16e3f8b8526bee29dcacdd423d05b3ceedcf9dc3 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Thu, 4 Sep 2008 20:30:16 +0000 Subject: [PATCH] Re-add Display IE git-svn-id: http://svn.openzap.org/svn/openzap/trunk@529 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/isdn/5ESSmes.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/openzap/src/isdn/5ESSmes.c b/libs/openzap/src/isdn/5ESSmes.c index 10508baf9a..3e4b316d98 100644 --- a/libs/openzap/src/isdn/5ESSmes.c +++ b/libs/openzap/src/isdn/5ESSmes.c @@ -85,6 +85,7 @@ 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,6 +195,11 @@ 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)