diff options
author | Olle Johansson <oej@edvina.net> | 2006-03-30 06:07:04 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-03-30 06:07:04 +0000 |
commit | 50f0b1288009aab4166c8d153509c87948581827 (patch) | |
tree | 57c1cb7f263e43e28f5b083076ff222662216773 /channels | |
parent | 2c4ebe356e19b02617fbaffe95d03610aeb6182e (diff) |
Issue #5374 - Enable internal timing of generators (cmantunes)
Thanks everyone involved for hard work, testing and testing!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4ce8a121f..ff0ce2250 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4699,7 +4699,8 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p) debug); } - ast_build_string(&a_audio_next, &a_audio_left, "a=silenceSupp:off - - - -\r\n"); + if(!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)) ast_log(LOG_WARNING, "SIP SDP may be truncated due to undersized buffer!!\n"); |