I have installed the latest FreePBX distro with FreePBX 14.0.11 and Asterisk 13.22.0. It is working nicely.
I signed up with a trunk provider and obtained the credentials. Entered these data in Connectivity | Trunks. Also entered register string in the incoming. I made chan_sip port as 5060, pfsip as 5160. My FreePBX connects to the SIP trunk provider as seen in the Reports | Asterisk Info | Registries:
12.123.123.24:5060 N 902124000212 285 Registered Tue, 14 May 2019 18:41:10
Created some Outbound patterns in Connectivity | Outbound Route. To me, so far, so good.
My problem starts here: I cannot register any phone to my FreePBX. I have a Yealink T29G. IP of my FreePBX is 10.10.1.20. I try to register the phone using 10.10.1.20:5060. No way! Web page of the phone says “Register Failed”.
Chan_Sip Peers:
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
200 (Unspecified) D No No A 0 UNKNOWN
201 (Unspecified) D No No A 0 UNKNOWN
202 (Unspecified) D No No A 0 UNKNOWN
xyzTelecom/902124000 12.123.123.24 Yes Yes 5060 OK (4 ms)
4 sip peers [Monitored: 1 online, 3 offline Unmonitored: 0 online, 0 offline]
Furthermore, I noticed something on Dashboard. System overview box says Default bind port for CHAN_PJSIP is: 5060, CHAN_SIP is: 5160 although the bind port is 5060 on Settings | Asterisk SIP settings | ChanSIP settings.
What gives? What am I doing wrong? It is quite possible that I misunderstand the setup process.
I would appreciate any help.