Hi everybody!
I did an installation of asterisk and freepbx to Ubunto 22.04.
Perhaps I should use VM and FreePBX distro instead. Anyhow.
I wanted to learn a bit and make a few LAN calls. And it works fine with two sip client apps on the host connected through a Hyper-V adapter. I tried to connect the phone sip app to the host and port forward to the sip server
netsh interface portproxy show all
Listen on ipv4: Connect to ipv4:
Address Port Address Port
--------------- ---------- --------------- ----------
192.168.0.105 8080 172.30.49.238 80
192.168.0.105 5060 172.30.49.238 5060
It didn’t work. Ports 5060 are opened both on the host and WSL2. But 8080 → 80 works.
I set up Local Networks in FreePBX as 172.30.48.0/20 and tried to set External Address as 172.30.48.1 (Windows Host from WSL2 POV)
In Wireshark, I found Status-Line: SIP/2.0 405 Method not allowed when trying to connect through 192.168.0.105:5060 proxy.
Can someone point me in the right direction?