Sip trunk Unauthorized

Hello
I am trying to setup a sip connection to Nodephone and can get the outgoing calls working fine however when I try and make a call in I am getting unauthorized. I have tried setting insecure=port,invite but this does not help.
Below is what I am getting in the CLI. Anyone have any ideas as to what else I can try. I am ready to give up and have spent weeks trying to get this working.
Any help would be greatly appreciated.