I have an Asterisk PBX hosted in Amazon AWS. All ports are open on it for all incoming and outgoing connections for all protocols. I have registered successfully with my provider and created a peer for outgoing calls. I am able to dial numbers and have my phone ring but there is absolutely no audio and caller id transmission is incorrect. What’s worse is that just after 5 seconds of the call connecting it automatically disconnects.
I have included a link to the log file which I have collected and it shows some pretty strange things. Lines 103 and 119 show Unauthorised messages, and lines 287 and 363 show “Proxy Authentication Required”.
What am I doing wrong ?
FYI I have removed actual IP addresses from the file, for example, < softphone_ip > refers to the IP of my softphone, < pbx_public_ip > refers to my pbx IP that I am connecting to. So on and so forth. If there are any confusions about what is what in the log please let me know.
My PBX is on the cloud, and has both public and private IP, do I have to enable NAT on it ? My softphone is on my laptop and definitely has NAT.
Please let me know where I am going wrong, since I need this for my startup.