PJSIP INVITE Authentication Fails While REGISTER/OPTIONS Succeed (Identical Credentials) — HT813 gateway

An FXO device should be configured as a Trunk in FreePBX. An extension (even if it works) does not provide the functionality usually needed. You would have no caller ID on incoming (it would always be 190) and you could make outgoing calls to only one number (unless you use two-stage dialing).

For the immediate issue, in the HT FXO page, set Caller ID Transport Type to Disable.

For a proper setup as a trunk, try

as a start and post any troubles you still have.