I have installed an Asterisk version 13.17.2 with FreePBX 220.127.116.11.
The server is on Hyper-V virtual machine on a provate network and it has a private IP 192.168.0.18
I have configured two SIP phones on two extensions and i can make calls between these two.
I had an issue with my SIP provider, but now Asterisk is able to register to them.
My server is behind a SonicWall. I think i have configured correctly the access rules and NAT policies.
This is what i did:
I allowed port 5060 and 5061 UDP, and made a NAT policy which translates it from my public IP to my SIP server’s private IP. This policy is reflexive.
Same way i allowed range 6000-60000 UDP (which my provider asks for media) and made a NAT policy for it.
In this stage this is what happens:
My SIP server registers to my provider.
If i call my public SIP number, the selected extension rings and display’s the callers CID correctly.
When i pick up the extension, i hear nothing and the caller’s phone keeps ringing.
Same way, if i try to dial out, it cannot connect and after a long silence the Asterisk tells me that “The number is not answering”.
I have both inbound and outbound routes set up, also set up the dialling patterns.
I think that it must be Firewall or NAT related, but everything seems te be fine.
If someone can help me, i can provide any log, debug info, tcpdump, etc.
Thanks in advance,