Hi,

If I call "sip_update_default_mclass(sip_extend_mclass(NULL))" during
initialization as you mention below, then which field of the (INVITE) sip
message (in the NUA callback function) would I find the "Alert-Info" header?

Up until now, I have been pulling it out of the "sip->sip_unknown->un_name
field", but it looks like that will no longer work?

Best Regards,
Jerry


-----Original Message-----
From: Pekka Pessi [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 21, 2008 11:16 AM
To: Jerry Richards
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: SIPTAG_P_PREFERRED_IDENTITY()

2008/1/18, Jerry Richards <[EMAIL PROTECTED]>:
> If I add the SIPTAG_P_PREFERRED_IDENTITY() tag to my nua_invite(), 
> then I get a "900 NUA Internal Error" generated after the second call 
> to
> sip_add_tagis() function in the nua_client_init_request() function of 
> libsofia-sip-ua/nua/nua_stack.c.  Do you know why?  Is there something 
> special I need to do for this tag?

Unfortunately there are special hoops you have jump through.

You have to call

sip_update_default_mclass(sip_extend_mclass(NULL))

after su_init() and before nua_create().

--Pekka

--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to