We have opensip configured with UAC auth to register SIP provide. I have configured two provider and both got registered but very interesting thing happened.

Provider "A" sending me 407 challenge for authentication - Working

Provider "B" sending me 401 for authentication - its failed to auth

what is the solution here? does UAC module work with 401?