Hi, thanks for your response.
When I put the flag "sdp_f_mode_always" in sdp_print(), all works fine the
mode attribute is well printed. But when I use it in sdp_parse() the program
shut down. I haven't analysed the problem because I don't need to use this
attribute anymore (optional now). I work with sofia-sip 12.8, I will try
with a newer version. Thanks
2009/3/26 Jarod Neuner <j.neu...@networkharbor.com>
> 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
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel