[svn-commits] mmichelson: trunk r223617 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Oct 11 17:19:25 CDT 2009


Author: mmichelson
Date: Sun Oct 11 17:19:22 2009
New Revision: 223617

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223617
Log:
Check the proper page for the SENDRPID flag.

If a pending reinvite were sent, we might not properly
send connected party info since we were checking the wrong
flag. This was a rare occurrence, but could still happen
nevertheless.


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=223617&r1=223616&r2=223617
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Oct 11 17:19:22 2009
@@ -10670,7 +10670,7 @@
 			add_header(&req, "X-asterisk-Info", "SIP re-invite (External RTP bridge)");
 	}
 
-	if (ast_test_flag(&p->flags[1], SIP_SENDRPID))
+	if (ast_test_flag(&p->flags[0], SIP_SENDRPID))
 		add_rpid(&req, p);
 
 	if (p->do_history)




More information about the svn-commits mailing list