mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message. Fixes crash bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9456,11 +9456,18 @@ static void *ss7_linkset(void *data)
|
||||
}
|
||||
p = linkset->pvts[chanpos];
|
||||
ast_mutex_lock(&p->lock);
|
||||
|
||||
p->inservice = 1;
|
||||
p->remotelyblocked = 0;
|
||||
dpc = p->dpc;
|
||||
isup_set_call_dpc(e->rsc.call, dpc);
|
||||
if (p->ss7call)
|
||||
p->ss7call = NULL;
|
||||
if (p->owner)
|
||||
p->owner->_softhangup |= AST_SOFTHANGUP_DEV;
|
||||
|
||||
ast_mutex_unlock(&p->lock);
|
||||
|
||||
isup_rlc(ss7, e->rsc.call);
|
||||
break;
|
||||
case ISUP_EVENT_GRS:
|
||||
|
||||
Reference in New Issue
Block a user