On 10/21/06, Kai Vehmanen <[EMAIL PROTECTED]> wrote:
> >  * nua_stack.c: send nua_r_authenticate error events to the application.
> >
> >    M ./libsofia-sip-ua/nua/nua_stack.c -6 +11
>
> hmm, this is a bit tricky. With the latest tree, I'm not getting a
> nua_r_register after a succesful authentication anymore - should I?
> Returning 'nua_r_authenticate' is probably better, but many old apps rely
> on getting the nua_r_register to see whether auth succeeded or not.
>
> How to fix this...?

That is funny, I get nua_r_register or nua_r_unregister as usual. Here
is some output from test_nua -A -B -C

TEST NUA-2.3.0.3: un-REGISTER c
c.nua(0x81ec3e8): call nua_unregister()
c.nua(0x81ec3e8): event nua_r_unregister status 401 Unauthorized
c.nua(0x81ec3e8): call nua_authenticate()
c.nua(0x81ec3e8): event nua_r_unregister status 200 OK
TEST NUA-2.3.0.3: PASSED
TEST NUA-2.3.1: REGISTER a
a.nua(0x81e93e0): call nua_register()
a.nua(0x81e93e0): event nua_i_outbound NAT detected
a.nua(0x81e93e0): event nua_r_register status 401 Unauthorized
a.nua(0x81e93e0): call nua_authenticate()
a.nua(0x81e93e0): event nua_r_register status 200 OK
TEST NUA-2.3.1: PASSED

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to