summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-11-07 20:13:32 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-11-07 20:13:32 +0000
commitca3cf9f488c8073b5017ff51c95308388a1e19f3 (patch)
treecc057c83d1cf4de0fc4a1256a967fc22173db5d2
parent1d09d193e748f1562c743cfd87bcb0fc2ba602ce (diff)
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
-rw-r--r--channels/chan_dahdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 45c6f8dca..f36db2ce1 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -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;