From 966763465c9312bd5e10b0d301d03414e1557446 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 30 Jan 2008 15:23:36 +0000 Subject: [PATCH] set lookup on outbound call git-svn-id: http://svn.openzap.org/svn/openzap/trunk@380 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/zap_isdn.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libs/openzap/src/zap_isdn.c b/libs/openzap/src/zap_isdn.c index 024cc002d2..4b0d7a1f77 100644 --- a/libs/openzap/src/zap_isdn.c +++ b/libs/openzap/src/zap_isdn.c @@ -140,13 +140,6 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen) } } else { switch(gen->MesType) { - case Q931mes_CALL_PROCEEDING: - { - if (zchan) { - zchan->span->channels_local_crv[gen->CRV] = zchan; - } - } - break; case Q931mes_RESTART: { if (zchan) { @@ -434,6 +427,7 @@ static __inline__ void state_advance(zap_channel_t *zchan) //gen->Size += strlen(zchan->caller_data.ani); Q931Rx43(&isdn_data->q931, (L3UCHAR *) gen, gen->Size); + zchan->span->channels_local_crv[gen->CRV] = zchan; } break; case ZAP_CHANNEL_STATE_HANGUP: