Hello, > The remote realm (from the 401 or 407) should always be used as the key > to find the correct credentials. But, if the realm is not correctly set then it will never be found and no response will be send. So, shouldn't we use the realm value associated with the line and use that instead? And for this I wanted to know how can we get the realm associated on a line (which will be used to lookup the credentials)?
> I think that what you want to do is catch the authentication failure > event from the sipXtapi API and then prompt the user to enter a > password for that realm. As opposed to trying to store a password in > the clear that is not yet assocated with a realm. I was just trying that my UA sends the authenticated response for 407 messages, which it presently fails to do. Offtopic: Sorry if it seems very obvious to you all, but I'm confused as to why sipXtapi doesn't use STL over UtlString, UtlList, etc :-/? Thanks. Best Regards, Hitesh _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
