2009/4/24 Saurav SAHU <saurav.s...@st.com>: > I am using Sofia-sip 1.12.10 for running my applciation. > > In my application with Sofia-sip 1.12.10, I would like to send an INVITE > message with SDP attribute parameter "a=sendrecv". ... > However, the problem is that we do not observe SDP attribute "a=sendrecv" in > the transmitted SIP INVITE packet. If we were to use "a=sendonly" or > "a=recvonly", it works with first method. But I want to send specifically > "a=sendrecv" attribute in INVITE (even though, its absence may corresspond to > default presence). > > Could you please advise us on how we could use nua_invite() to have > "a=sendrecv" in the transmitted INVITE SDP.
The sdp_print() function does not include the a=sendrecv as it is considered the default. What you can do is to modify the soa.c source code and include the flag sdp_mode_always as the last parameter to sdp_print() calls, that should do the trick. You can also include a=sendrecv at the session level, I believe, but then it might not work as intended. There probably should be a SOATAG_SDP_FLAGS() etc. that could be used to pass the sdp_parse()/sdp_print() flags to soa. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel