[asterisk-commits] schmidts: trunk r334712 - in /trunk: ./ main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 7 09:23:43 CDT 2011


Author: schmidts
Date: Wed Sep  7 09:23:38 2011
New Revision: 334712

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=334712
Log:
Merged revisions 334682 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r334682 | schmidts | 2011-09-07 13:26:50 +0000 (Wed, 07 Sep 2011) | 3 lines
  
  Adding the Feature to sent a Reason Header in a SIP Cancel message by set the flag AST_FLAG_ANSWERED_ELSEWHERE before doing a masquerade in the pickup function.
........

Modified:
    trunk/   (props changed)
    trunk/main/features.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.

Modified: trunk/main/features.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/features.c?view=diff&rev=334712&r1=334711&r2=334712
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Wed Sep  7 09:23:38 2011
@@ -7067,6 +7067,9 @@
 	/* setting this flag to generate a reason header in the cancel message to the ringing channel */
 	ast_set_flag(chan, AST_FLAG_ANSWERED_ELSEWHERE);
 
+	/* setting this flag to generate a reason header in the cancel message to the ringing channel */
+	ast_set_flag(chan, AST_FLAG_ANSWERED_ELSEWHERE);
+
 	if (ast_channel_masquerade(target, chan)) {
 		ast_log(LOG_WARNING, "Unable to masquerade '%s' into '%s'\n", chan_name,
 			target_name);




More information about the asterisk-commits mailing list