[asterisk-commits] file: branch 1.2 r68921 - /branches/1.2/rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 12 07:18:57 MST 2007


Author: file
Date: Tue Jun 12 09:18:57 2007
New Revision: 68921

URL: http://svn.digium.com/view/asterisk?view=rev&rev=68921
Log:
Bring RTP back to Asterisk at the end of a native bridge no matter what.

Modified:
    branches/1.2/rtp.c

Modified: branches/1.2/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/rtp.c?view=diff&rev=68921&r1=68920&r2=68921
==============================================================================
--- branches/1.2/rtp.c (original)
+++ branches/1.2/rtp.c Tue Jun 12 09:18:57 2007
@@ -1768,6 +1768,12 @@
 		cs[1] = cs[2];
 		
 	}
+
+	if (pr0->set_rtp_peer(c0, NULL, NULL, 0, 0))
+		ast_log(LOG_WARNING, "Channel '%s' failed to break RTP bridge\n", c0->name);
+	if (pr1->set_rtp_peer(c1, NULL, NULL, 0, 0))
+		ast_log(LOG_WARNING, "Channel '%s' failed to break RTP bridge\n", c1->name);
+
 	return AST_BRIDGE_FAILED;
 }
 



More information about the asterisk-commits mailing list