Could be Firewall or Fail2Ban blocking you. Pls check below settings.
1- Firewall Add your Local IP Address on TrustedNetwork.
→ PBX GUI → Connectivity → Firewall → Networks → Add Your LAN network → 192.168.0.0/24 → Select TRUSTED Network → Save
2- Fail2Ban Add your LAN Network.
Admin → System Admin → Intrusion Detection → White List : Add your LAN Network 192.168.0.0/24 → Save / Submit → Intrusion Detection : Press To Restart
after reading your comments I tried again changing the configuration(without luck):
VirtualBox FreePBX running in bridged more with IP: 192.168.0.102
My FreePBX configuration:
(I deactivated the firewall for testing purposes)
(Also windows firewall deactivated, in the host machine)
(systen admin module is not activated so I guess fail2ban is neither)
This image has the screen shoots for all my configuration in the same order as the
points that I describe bellow.(I could not upload different images because the forum rules for new users).
That is the secret that I use in the Linphone SIP config.
Linphone configuration, the same happens just hangs till appears the icon that
tells that the connection failed:
Some log information in case it helps:
I logged into the console of asterisk(asterisk -r) and sip set debug on, I put a relevant screenshot, my guess is that this represents a communication in between the Linphone in the host machine(192.168.0.104:5060) to the FreePBX in the VM(192.168.0.102:5160)
Glad that you got it working. Regarding trunking providers, most do not require you to have an incoming number with them. Some allow you to send any caller ID, some require first verifying the number as yours, and some will send a number of theirs (which will give an error announcement to someone calling back).
If you are in US or Canada, this discussion may be useful: