summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-09-12 14:22:55 +0000
committerOlle Johansson <oej@edvina.net>2006-09-12 14:22:55 +0000
commit948533a7916f4d7bacc4a204abdae67662042593 (patch)
treef46c4f6636ba009edc4b4ac6a27627822f187cb7 /channels
parent50b6a222ef7b2393658382cf2c3e9f3e00a00124 (diff)
Issue #7924 - cmaj - Turn off silence suppression if no channel owner
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 162cfb62d..362713293 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5996,7 +5996,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
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))