Hi @ all,

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

void event_callback(nua_event_t event,  
int status,  
char const *phrase,  
nua_t *nua, sofia_profile_t *profile,
nua_handle_t *nh,
NULL,
sip_t const *sip,
tagi_t tags[])

So, If the event_callback does receive a "nua_i_invite" I get the P-asserted 
header, but in a "nua_i_state" not, because sip_t const *sip is NULL. 

Does somebody has a solution for this problem? Or is it maybe a bug in the 
sofia-sip? BTW: I am using 1.12.9.

Best regards,
Bernhard Suttner

------------------------------------------------------------------------------
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to