I’m hoping someone can assist an Asterisk noobie with an Outbound SIP issue. I’ve successfully set up an inbound route, user details on the trunk, and register string - inbound calls are coming in fine to one of my local DIDs.
Outbound calls are where i’m stuck. The CLI is showing this error when attempting to call an external mobile number from one of the VoIP phones: (sip:XXXXXXXX = VoIP username, @XX.XX.XX.XX = external IP)
[2017-06-08 23:15:19] NOTICE[C-00000050]: chan_sip.c:23862 handle_response_invite: Failed to authenticate on INVITE to ‘sip:XXXXXXXX@XX.XX.XX.XX;tag=as398bc573’
MyNetFone is my provider, and this is the Outgoing Trunk Peer Details provided:
allow=alaw&ulaw dtmfmode=rfc2833 host=sipXX.mynetfone.com.au fromdomain=XX.XX.XX.XX[My External IP] nat=yes type=peer port=5060 qualify=6000 context=from-trunk fromuser=XXXXXXXX [MNF number]
I can provide a debug of both the outbound trunk and extension of an attempted call - i just wanted to know if there’s anything obvious in my outgoing trunk that could/is causing this? Strange as inbound calls are working.