Hi Bernhard,

> >
> > my nua application has to do something if it receives a P-Asserted Header
> > in the 180 Ringing and/or in the 181 Call Is Being Forwarded. The problem
> > is, that it is not possible to get the header value of the SIP struct
> > (using sip_p_asserted_identity), because the SIP pointer is NULL.:
>

Isn't that part of the extended SIP headers?

Did you try the following when your app starts?

    /* Use the extended SIP parser as default one. */
    su_init();
    if (sip_update_default_mclass(sip_extend_mclass(NULL)) < 0)
    {
        su_deinit();
        g_critical("Can't use the extended SIP parser!");
        return -1;
    }

I think I faced the same issue, and enabling extended headers was the
solution.

Cheers,
-Aleksander
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to