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);
        ...
}

Best Regards,
Jerry


-------------------------------------------------------------------------
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

Reply via email to