update comment (bug #2999)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Russell Bryant 21 years ago
parent 7e3f8ee419
commit 2583e00e03

@ -3449,7 +3449,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p)
snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(0, x)); snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(0, x));
strncat(a, costr, sizeof(a) - strlen(a) - 1); strncat(a, costr, sizeof(a) - strlen(a) - 1);
if (x == AST_RTP_DTMF) { if (x == AST_RTP_DTMF) {
/* Indicate we support DTMF... Not sure about 16, but MSN supports it so dang it, we will too... */ /* Indicate we support DTMF and FLASH... */
snprintf(costr, sizeof costr, "a=fmtp:%d 0-16\r\n", snprintf(costr, sizeof costr, "a=fmtp:%d 0-16\r\n",
codec); codec);
strncat(a, costr, sizeof(a) - strlen(a) - 1); strncat(a, costr, sizeof(a) - strlen(a) - 1);

Loading…
Cancel
Save