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
1d09e2c870
commit
966763465c
|
@ -140,13 +140,6 @@ static L3INT zap_isdn_931_34(void *pvt, L2UCHAR *msg, L2INT mlen)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
switch(gen->MesType) {
|
switch(gen->MesType) {
|
||||||
case Q931mes_CALL_PROCEEDING:
|
|
||||||
{
|
|
||||||
if (zchan) {
|
|
||||||
zchan->span->channels_local_crv[gen->CRV] = zchan;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case Q931mes_RESTART:
|
case Q931mes_RESTART:
|
||||||
{
|
{
|
||||||
if (zchan) {
|
if (zchan) {
|
||||||
|
@ -434,6 +427,7 @@ static __inline__ void state_advance(zap_channel_t *zchan)
|
||||||
|
|
||||||
//gen->Size += strlen(zchan->caller_data.ani);
|
//gen->Size += strlen(zchan->caller_data.ani);
|
||||||
Q931Rx43(&isdn_data->q931, (L3UCHAR *) gen, gen->Size);
|
Q931Rx43(&isdn_data->q931, (L3UCHAR *) gen, gen->Size);
|
||||||
|
zchan->span->channels_local_crv[gen->CRV] = zchan;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ZAP_CHANNEL_STATE_HANGUP:
|
case ZAP_CHANNEL_STATE_HANGUP:
|
||||||
|
|
Loading…
Reference in New Issue