Hi Jan, 2007/3/19, Jan Van den bosch <[EMAIL PROTECTED]>: > So far, I've tried this: > > nua_set_params(nua, SIPTAG_AUTHORIZATION(NULL), TAG_END()); > nua_set_hparams(nh, SIPTAG_AUTHORIZATION(NULL), TAG_END()); > > both in my nua_r_register() callback, and this: > > nua_unregister(op->op_handle, SIPTAG_AUTHORIZATION(NULL), TAG_NULL()); > > in my unregister method. Still no luck, I'm afraid. :( Can someone help me > out here? It's driving me mad.
I'm afraid the current nua code does not allow one to remove the authorization headers from the request. The SIPTAG_AUTHORIZATION(NULL) trick you tried could be a nice API for indicating the stack that it should not add the authorization header on its own, however, I think you expect stack to add one later when it gets the challenge from the server? An extra tag to nua_authenticate() is probably needed. By the way, do you get an Authentication-Info header in the 200 OK response to the initial INVITE? --Pekka > > Thanks, > Jan > > > On 3/16/07, Jan Van den bosch <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Apparently, nua_authenticate attaches credentials to an operation so they > can be re-used in the future. However, my application requires that > re-REGISTERs/un-REGISTERs start from a clean REGISTER message (without a > WWWAuthentication header). Is there a way to keep a re-REGISTER from sending > an Authorization header with it and make it repeat the HTTP Digest sequence? > > > > Thanks, > > Jan > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Sofia-sip-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > > -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sofia-sip-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
