[asterisk-users] Possible bug in chan_sip:add_sdp

Richard Kenner kenner at gnat.com
Thu May 6 16:36:42 CDT 2010


Am I missing something here?  I see 

        if (needvideo) { /* only if video response is appropriate */
                add_line(resp, m_video->str);
                add_line(resp, a_video->str);
                add_line(resp, hold);   /* Repeat hold for the video stream */
        } else if (p->offered_media[SDP_VIDEO].offered) {
                snprintf(dummy_answer, sizeof(dummy_answer), "m=video 0 RTP/AVP\
 %s\r\n", p->offered_media[SDP_VIDEO].text);
                add_line(resp, dummy_answer);

But "len", which was used to set Content-Length, isn't updated to onclide
that dummy.  Doesn't it need to be?

I think this may be a problem with a connection to my Polycom VSX.



More information about the asterisk-users mailing list