Hello,
I am using Asterisk 16 under a FreePBX GUI. One of my SIP providers gives a separate “authentication name” and “username”, and after some troubleshooting and help from others I’ve managed to register the SIP with the Asterisk trunk and I can make outgoing calls. However, incoming calls fail. It rings about 5 times but then it just gets redirected to my SIP provider’s own voicemail box. My PBX connected phones do not ring.
Registration string I’m using that works: [authname]:[password]@[host domain]/[username]
PEER Details that work (UUUU=username, AAAA=auth name, PPPP=password, DDDD=SIP provider’s hostname):
type=peer
host=DDDD
outboundproxy=DDDD
username=AAAA
fromuser=UUUU
fromdomain=DDDD
secret=PPPP
insecure=port,invite
disallow=all
allow=ulaw&alaw
It appears that I may need to tweak some of these settings, or fill up the USER Details section and USER Context.
Please see the following Asterisk error log for what happens when I try an inbound call (PBX server hosted on AWS): https://pastebin.freepbx.org/view/d4adbc2d
Thank you!