Hello All, Well, I figured out the problem with my nua_refer() invocation. The problem is the sofia-sip stack was rejecting the Refer-To header because it was not surrounded by <> brackets. I'm a bit surprised by this.
I thought sofia-sip normally adds <> brackets if they are missing. This is not true? Best Regards, Jerry -----Original Message----- From: Sent: Friday, September 07, 2007 3:44 PM To: 'sofia-sip-devel@lists.sourceforge.net' Subject: FW: Determining cause of 900 Internal NUA Error Hello All, 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. I believe I'm sending the correct parameters as follows: nua_refer(nh, SIPTAG_REFER_TO_STR("sip:[EMAIL PROTECTED] bad-9fabf0848051;from-tag=pcDZjjNHS4a0e;to-tag=as209505db"), SIPTAG_REFERRED_BY_STR("sip:[EMAIL PROTECTED]:5061"), TAG_NULL()); where nh = handle of 1st call, sip:[EMAIL PROTECTED] = far-end URL of 2nd call, 7957d0b6-3dc5-1225-abad-9fabf0848051 = Call-ID of 2nd call, pcDZjjNHS4a0e = from tag of 2nd call, as209505db = to tag of 2nd call, sip:[EMAIL PROTECTED] URL of local phone. Best Regards, Jerry -----Original Message----- From: Sent: Tuesday, September 04, 2007 2:09 PM To: 'sofia-sip-devel@lists.sourceforge.net' Subject: Determining cause of 900 Internal NUA Error Hello All, What is the best way to determine the cause of a 900 Internal NUA Error event? I am getting these, but not sure why. In one case, I'm invoking nua_refer() in the following way, and it returns a 900 Internal NUA Error: nua_refer(nh, SIPTAG_REFER_TO_STR("sip:[EMAIL PROTECTED] bad-9fabf0848051;from-tag=pcDZjjNHS4a0e;to-tag=as209505db"), TAG_NULL()); And the refer message is not sent. Best Regards, Jerry
<<attachment: winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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