sendrecv is the default when the mode is omitted, so if you can, file a bug report with your vendor.
If that isn't an option, you could hack the sdp_print() attribute 'sdp_f_mode_always' into soa.c and get the same result. On Thu, 2009-03-26 at 04:07 -0500, Jean Dumercq wrote: > Hello everybody, > I have a problem when sending an sdp offer/response. I have to send > the attribute a=sendrecv. I create an sdp session with: > ------------------------------------------------------------------------------ > char const dummy_sdp_session[] = > "v=0\n" > "m=audio 5010 RTP/AVP 0\n" > "a=rtpmap:0 X-PTT-PCMA/8000\n" > "a=sendrecv\n" > ; > > sdp_parser_t * parser = sdp_parse (appl->home, dummy_sdp_session, > sizeof(dummy_sdp_session), sdp_f_config); > sdp_session_t * local_sdp_session = sdp_session (parser); > ------------------------------------------------------------------------------ > > But when I send the session, the sip stack/parser? seems to suppress > this attribute. Someone has an idea? > Many thanks in advance. > > Jean ------------------------------------------------------------------------------ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel