set lookup on outbound call
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@380 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
cb3679ac0c
commit
88db54e8cc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue