First of All, thanks to all you guys. My work is actually far from programming (I’m in the health sector).
I had a professional setup the local network and installed FreePBX (he didn’t want to mess with the phone system lol). From there on, I configured the FreePBX system because of all the knowledge gained in this forum. At this point, all is good except I could not seem to fix my incoming calls problem.
It would episodically failover to a secondary phone. Sometimes it would connect to my IVR (I guess the port is opened per comments on the forum, when I call successively hence it lets calls through at times)
I asked my DID number/SIP account provider (DIDforSale) and they told me it would episodically take 40secs from the DID to connect to my sip trunk hence it fails over to my cell phone. They said all looked good on their side.
I have already checked the STUN server settings (based on recommendations here) and it was actually left blank so I’m ok there.
I am seeing that I need to check the DNS or NAT settings as the next step, is that correct? What should it be?
My setup:
FreePBX installed in a virtual machine.
Trunk Settings:
Outbound
PEER Details:
type=friend
secret=password
username=accountname
qualify=no
host=domaingivenbydidforsale
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=ulaw
insecure=port,invite
fromdomain=domaingivenbydidforsale
Inbound
USER Details:
type=friend
secret=password
username=accountname
qualify=no
host=domaingivenbydidforsale
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=ulaw
insecure=port,invite
fromdomain=domaingivenbydidforsale
Register String: accountname:password@domaingivenbydidforsale
Thanks again.