Failed to authenticate on INVITE to '<sip:XXXXXXX@XXXXXX'

Thank you! You solved my issue years later…
I was coming crazy not understanding the reason of this issue affecting only the outgoing calls!