Turn off silence suppression in SDP
authorMark Spencer <markster@digium.com>
Sun, 14 Mar 2004 22:13:18 +0000 (22:13 +0000)
committerMark Spencer <markster@digium.com>
Sun, 14 Mar 2004 22:13:18 +0000 (22:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2423 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 542f677..715d2a1 100755 (executable)
@@ -2733,6 +2733,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p, struct ast_rtp *
                        }
                }
        }
                        }
                }
        }
+       strncat(a, "a=silenceSupp:off - - - -\r\n", sizeof(a) - strlen(a));
        if (strlen(m) < sizeof(m) - 2)
                strcat(m, "\r\n");
        if (strlen(m2) < sizeof(m2) - 2)
        if (strlen(m) < sizeof(m) - 2)
                strcat(m, "\r\n");
        if (strlen(m2) < sizeof(m2) - 2)