> -----Ursprüngliche Nachricht----- > Von: "Linus Surguy" <[EMAIL PROTECTED]> > Gesendet: 18.11.08 11:20:29 > An: sofia-sip-devel@lists.sourceforge.net > Betreff: [Sofia-sip-devel] New user - using sofia as B2BUA
> Hi All, > > Just starting out with Sofia and NUA, and so far its all going smoothly. > Creating a B2BUA application as a control with all SDP media to be > transmitted transparantly between both sides. > > I don't want SOA to try and get involved in this, so I've used > NUTAG_MEDIA_ENABLE(0). > > I can access the SDP payload from the incoming INVITE with > sip->sip_payload->pl_data and send this onwards with nua_invite & > SIPTAG_PAYLOAD_STR(). > > However, how do I get to see what comes in on 180/183/200 OK messages as > nua_i_state etc. do not set sip->. I've tried using > nua_current_request() but this seems to return NULL at this point. > > What is the correct way to access the payload on response messages? > > Thanks! > > Linus > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > Hi, did you try extract the sdp part from nua_r_invite events instead of taking it from the nua_i_state? I don't use sofia-sip this way, but i think this could work. Regards, Timo ____________________________________________________________________ Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel