Hi,

Am I the only one who finds debugging a "900 Internal NUA Error" difficult
to isolate?  After a unit is deployed to a customer, if they get "900
Internal NUA Error", I think it will be an order magnitude more difficult to
debug, without amplified information.

Could you make a permanent change to the sofia-sip as described in the Email
below?  That is, the following:

Add uniqueness to all uses of NUA_INTERNAL_ERROR like,

    nua_stack_event(nua, nh, NULL, e, NUA_INTERNAL_ERROR
            "at" __FILE__ ":" __LINE__, NULL);

And then re-define NUA_INTERNAL_ERROR as

#define NUA_INTERNAL_ERROR 900, "Internal NUA Error"

This likely applies to 904 internal error also.

Best Regards,
Jerry

 

-----Original Message-----
From: Pekka Pessi [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 10, 2007 10:38 AM
To: Jerry Richards
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: [Sofia-sip-devel] FW: Determining cause of 900 Internal NUA
Error

2007/9/8, Jerry Richards <[EMAIL PROTECTED]>:
> Can anyone help me with this problem?  I'm really beginning to 
> flounder on this one.  The scenario is as follows:
>
> 1) Receive/connect incoming call.
> 2) Put call on hold.
> 3) Send/connect secondary outgoing call.
> 4) Transfer call 1 to call 2 using nua_refer().
> 5) -- I expect both calls to disconnect here ---
>
> The problem is that when I invoke nua_refer(), it kicks back with 900 
> Internal NUA Error and I don't know why.

If you can use debugger, set breakpoint to nua_stack_event before calling
nua_refer().

If you can't, it looks like you have to add something unique to all uses of
NUA_INTERNAL_ERROR like

    nua_stack_event(nua, nh, NULL, e, NUA_INTERNAL_ERROR
            "at" __FILE__ ":" __LINE__, NULL);

and then re-define NUA_INTERNAL_ERROR as

#define NUA_INTERNAL_ERROR 900, "Internal NUA Error"

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