mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-22 14:34:09 -07:00
Send call release with unallocated cause instead of normal call clearing, when
invalid extension is called. (closes issue #13408) Reported by: adomjan Patches: chan_dahdi.c-ss7-unallocated-2 uploaded by adomjan (license 487) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9905,7 +9905,8 @@ static void *ss7_linkset(void *data)
|
||||
ss7_start_call(p, linkset);
|
||||
} else {
|
||||
ast_debug(1, "Call on CIC for unconfigured extension %s\n", p->exten);
|
||||
isup_rel(ss7, e->iam.call, -1);
|
||||
p->alreadyhungup = 1;
|
||||
isup_rel(ss7, e->iam.call, AST_CAUSE_UNALLOCATED);
|
||||
}
|
||||
ast_mutex_unlock(&p->lock);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user