[asterisk-commits] mmichelson: branch 1.6.2 r186840 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 7 19:03:02 CDT 2009


Author: mmichelson
Date: Tue Apr  7 19:02:58 2009
New Revision: 186840

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186840
Log:
Merged revisions 186837 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r186837 | mmichelson | 2009-04-07 19:01:49 -0500 (Tue, 07 Apr 2009) | 7 lines
  
  Fix bad merge from fix for issue 13867.
  
  (closes issue #14686)
  Reported by: davidw
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=186840&r1=186839&r2=186840
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Tue Apr  7 19:02:58 2009
@@ -5022,11 +5022,9 @@
 	res = update_call_counter(p, INC_CALL_RINGING);
 
 	if (res == -1) {
+		ast->hangupcause = AST_CAUSE_USER_BUSY;
 		return res;
-	} else {
-		ast->hangupcause = AST_CAUSE_USER_BUSY;
-	}
-
+	}
 	p->callingpres = ast->cid.cid_pres;
 	p->jointcapability = ast_translate_available_formats(p->capability, p->prefcodec);
 	p->jointnoncodeccapability = p->noncodeccapability;




More information about the asterisk-commits mailing list