projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5558323
)
Make sure we get the cause code in the REL
author
Matthew Fredrickson
<creslin@digium.com>
Wed, 23 May 2007 15:37:51 +0000
(15:37 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Wed, 23 May 2007 15:37:51 +0000
(15:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65640
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
13147b7
..
2359fde
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-8782,9
+8782,10
@@
static void *ss7_linkset(void *data)
}
p = linkset->pvts[chanpos];
ast_mutex_lock(&p->lock);
- if (p->owner)
+ if (p->owner) {
+ p->owner->hangupcause = e->rel.cause;
ast_queue_hangup(p->owner);
- else
+ } else
ast_log(LOG_WARNING, "REL on channel (CIC %d) without owner!\n", p->cic);
isup_rlc(ss7, e->rel.call);