[asterisk-commits] oej: trunk r42827 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 12 07:22:56 MST 2006


Author: oej
Date: Tue Sep 12 09:22:55 2006
New Revision: 42827

URL: http://svn.digium.com/view/asterisk?rev=42827&view=rev
Log:
Issue #7924 - cmaj - Turn off silence suppression if no channel owner

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=42827&r1=42826&r2=42827&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Sep 12 09:22:55 2006
@@ -5996,7 +5996,7 @@
 	if (option_debug > 2)
 		ast_log(LOG_DEBUG, "-- Done with adding codecs to SDP\n");
 
-	if(!ast_internal_timing_enabled(p->owner))
+	if(!p->owner || !ast_internal_timing_enabled(p->owner))
 		ast_build_string(&a_audio_next, &a_audio_left, "a=silenceSupp:off - - - -\r\n");
 
 	if ((m_audio_left < 2) || (m_video_left < 2) || (a_audio_left == 0) || (a_video_left == 0))



More information about the asterisk-commits mailing list