[svn-commits] oej: branch 1.4 r66414 -
/branches/1.4/channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue May 29 09:07:45 MST 2007
Author: oej
Date: Tue May 29 11:07:44 2007
New Revision: 66414
URL: http://svn.digium.com/view/asterisk?view=rev&rev=66414
Log:
Don't reset hangupcause if we already have one
Modified:
branches/1.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=66414&r1=66413&r2=66414
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue May 29 11:07:44 2007
@@ -1934,7 +1934,7 @@
usleep(1);
ast_mutex_lock(&pkt->owner->lock);
}
- if (pkt->owner->owner)
+ if (pkt->owner->owner && !pkt->owner->owner->hangupcause)
pkt->owner->owner->hangupcause = AST_CAUSE_NO_USER_RESPONSE;
if (pkt->method == SIP_BYE) {
/* Ok, we're not getting answers on SIP BYE's. Who cares?
More information about the svn-commits
mailing list