2007/6/1, Jerry Richards <[EMAIL PROTECTED]>: > You mentioned SOA flags. What are SOA flags and what are they used for? > Where are SOA flags described as to how I need to use them?
I think Mikhail meant NUTAG_OFFER_RECV(), NUTAG_ANSWER_RECV(), see nua_i_state documentation on http://sofia-sip.sourceforge.net/refdocs/nua/nua_8h.html --Pekka > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, May 25, 2007 1:28 AM > To: [EMAIL PROTECTED]; sofia-sip-devel@lists.sourceforge.net > Subject: RE: [Sofia-sip-devel] Accessing SOATAG_REMOTE_SDP_STR() In > CallbackFunction > > > Hi, > > I believe the SDP is expected only with nua_i_state event, and only if > respective SOA flags are true. > > BR, > Mikhail > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED] On > >Behalf Of ext Jerry Richards > >Sent: Wednesday, May 23, 2007 2:17 AM > >To: sofia-sip-devel@lists.sourceforge.net > >Subject: [Sofia-sip-devel] Accessing SOATAG_REMOTE_SDP_STR() > >In CallbackFunction > > > >Hello, > > > >The following snippet shows how I am attempting to extract the > >SOATAG_REMOTE_SDP_STR() in my callback function, however, it > >always comes up > >with a NULL string. What am I doing wrong? > > > >void ce_SipEventCb(nua_event_t event, > > int status, > > char const *phrase, > > nua_t *nua, > > nua_magic_t *magic, > > nua_handle_t *nh, > > nua_hmagic_t *hmagic, > > sip_t const *sip, > > tagi_t tags[]) > >{ > > ... > > char remoteSDP[120]; > > tl_gets(tags, SOATAG_REMOTE_SDP_STR(remoteSDP), TAG_END()); > > printf(" remoteSDP='%s'\n", remoteSDP); > > ... > >} > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > > > -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel