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
1.6.2
Tilghman Lesher 17 years ago
parent 1d09d193e7
commit ca3cf9f488

@ -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;

Loading…
Cancel
Save