[asterisk-commits] mattf: trunk r65640 - /trunk/channels/chan_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed May 23 08:37:52 MST 2007
Author: mattf
Date: Wed May 23 10:37:51 2007
New Revision: 65640
URL: http://svn.digium.com/view/asterisk?view=rev&rev=65640
Log:
Make sure we get the cause code in the REL
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=65640&r1=65639&r2=65640
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Wed May 23 10:37:51 2007
@@ -8782,9 +8782,10 @@
}
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);
More information about the asterisk-commits
mailing list