[asterisk-commits] oej: branch oej/pinefrog-1.4 r248401 - /team/oej/pinefrog-1.4/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 23 11:09:02 CST 2010


Author: oej
Date: Tue Feb 23 11:08:59 2010
New Revision: 248401

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248401
Log:
Sometimes I wonder if we should re-evaluate the usefulness of copy & paste

Modified:
    team/oej/pinefrog-1.4/channels/chan_sip.c

Modified: team/oej/pinefrog-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinefrog-1.4/channels/chan_sip.c?view=diff&rev=248401&r1=248400&r2=248401
==============================================================================
--- team/oej/pinefrog-1.4/channels/chan_sip.c (original)
+++ team/oej/pinefrog-1.4/channels/chan_sip.c Tue Feb 23 11:08:59 2010
@@ -4780,7 +4780,7 @@
 		ast_rtcp_setcname(p->rtp, p->callid, strlen(p->callid));
 	}
 	if (p->vrtp) {
-		ast_rtcp_setcname(p->rtp, p->callid, strlen(p->callid));
+		ast_rtcp_setcname(p->vrtp, p->callid, strlen(p->callid));
 	}
 	ast_string_field_set(p, mohinterpret, default_mohinterpret);
 	ast_string_field_set(p, mohsuggest, default_mohsuggest);
@@ -13558,7 +13558,7 @@
 		sip_rtcp_report(dialog, dialog->rtp, "audio", FALSE);
 	}
 	if (dialog->vrtp && ast_rtp_isactive(dialog->vrtp)) {
-		sip_rtcp_report(dialog, dialog->rtp, "video", FALSE);
+		sip_rtcp_report(dialog, dialog->vrtp, "video", FALSE);
 	}
 	return global_rtcptimer;
 }
@@ -13590,7 +13590,7 @@
 	}
 	if (p->vrtp) {
 		ast_rtp_stop(p->vrtp);
-		sip_rtcp_report(p, p->rtp, "video", TRUE);
+		sip_rtcp_report(p, p->vrtp, "video", TRUE);
 	}
 	if (p->udptl)
 		ast_udptl_stop(p->udptl);




More information about the asterisk-commits mailing list