Max, I believe there is nothing secret in this technical discussion and we should continue this discussion at the mailing list.
To the point - Doug could you plase point us to the place which you have modified to workaround the problem? It would greatly help us to move forward to the everyone benefit.
Sent from my Android device. Sorry for my brevity.On Dec 25, 2011 1:36 PM, <email@example.com> wrote:
24.12.2011 03:50, David Burgess пишет:
> Doug did it by hand. He didn't patch oSIP. The code he wrote to do that is in theI've compared SIPEngine.cpp and SIPInterface.cpp in my branch and in public a3a8
> ../a3a8 bran...
branch and they looks pretty much the same (with more verbose logging in my case).
In my tests code works like this:
- 401 response arrive from SR
- the incoming buffer is parsed by osip_message_parse() in SIPInterface::drive()
- the parsed message is handed over to randy401() in SIPEngine.cpp
www-authenticates part with nonce is eaten out by osip_message_parse() so randy401()
fails to obtain nonce.
If my understanding is correct then Doug's workaround (e. g. manual parsing) should
kick in someplace before randy401() is called. Unfortunately I do not see anything
Doug, could you point me to where exactly you parse www-authenticates for randy401()?
Which file/revision should I look for?