On date Friday 2008-06-27 10:03:46 +0200, Jean Dumercq wrote: > > Hello, this is my first message and i'm a sofia-sip newbie. I have to do a > simple application with sdp negotiation, but the problem is I need to > negotiate specific attributes. My sdp looks like: > > SOATAG_USER_SDP_STR("v=0\r\nm=audio 5000 RTP/AVP 18 8\r\n" > "a=rtpmap:18 G729/8000\r\n" > "a=rtpmap:8 PCMA/8000\r\n" > "a=interval:5 10\r\n" > "a=method:M1 M2 M3\r\n") > > I succeed to negotiate the codec but not the specific attributes > "interval" and "method". How can I do that? Is there a tag I missed? > Perhaps I need to modify the stack but I have a lot of difficulties > to understand it.
Just a little suggestion, since I'm a sofia-sip newbie myself and I'm facing the same difficulties. Read and study the code of the relatively simple reference implementation of a sofia-sip application sifsip-cli, also it would help to check here and there the code of libsofia-sip itself, the code at first appears huge and complicated so you have to spend some time within its gutters before to catch the big scheme (as an incentive for doing that: there is a lot to learn by doing that). Basically this is the main layout of sofsip_cli: * sofsip_cli is the application context * root is the application root, where is registered the keyboard event handler callback * ssc is the signaling event subsystem, it contains a nua object which is created during the system startup, and manages all signaling events (Incoming messages and Response messages) * media events are managed through GStreamer Also, both for the archive and to incentive readers to post some feedback it would help to provide some code snippet showing the problem you're trying to tackle. HTH, regards. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel