mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 02:04:54 +00:00
[ozmod_isdn] Backport fix from rework branch: use channel flag rather than CRVFlag to properly release channels in ZAP_CHANNEL_STATE_DOWN transition
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@662 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
da81f09ada
commit
f931915e8a
@ -1038,7 +1038,7 @@ static __inline__ void state_advance(zap_channel_t *zchan)
|
||||
case ZAP_CHANNEL_STATE_DOWN:
|
||||
{
|
||||
if (gen->CRV) {
|
||||
if(gen->CRVFlag) {
|
||||
if (zap_test_flag(zchan, ZAP_CHANNEL_OUTBOUND)) {
|
||||
isdn_data->channels_local_crv[gen->CRV] = NULL;
|
||||
} else {
|
||||
isdn_data->channels_remote_crv[gen->CRV] = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user