[2018-07-27 18:52:48] NOTICE[25894]: chan_sip.c:30180 sip_poke_noanswer: Peer ‘Outgoing_ATTx’ is now UNREACHABLE! Last qualify: 27
[2018-07-27 18:53:03] NOTICE[25894]: chan_sip.c:15906 sip_reg_timeout: – Registration for ‘[email protected]’ timed out, trying again (Attempt #2)
then it gets to the 180th attempt and registers or if i do an amportal restart it registers right away and let me do call and receive them for a period of time then it unregisters again
Overall the settings look OK to me.
I would run a continuous ping to lets say google to maintain an internet connection.
This accomplishes 2 things in my mind.
prevents network from dropping since there is activity and if your trunk doesn’t drop, it may be some kind of timeout.
It tells you if maybe your internet provider is having an issue.
I had a similar issue that was caused by over-restrictive firewall. Make sure you’ve whitelisted any IP addresses your sip provider has given you. Many sip providers today will expect to send sip invites and acks from any of their IPs, not just the one you’ve registered to. PJSIP handles this much better as well in the “match” field.
Goot point @yois
Honestly you just have to check all your communications settings , firewall, and IP’s that everything is expecting and configured to.
It’s clearly not communicating.
Every time I’ve seen this is was a NAT settings problem on the trunk and/or a firewall not routing incoming traffic for the PBX correctly. I’d start with making sure you NAT is set up correctly. and then double check the settings in your router to make sure the inbound SYN packets for the system are getting routed correctly.
You’re saying you have nothing between freepbx and the internet? Then grab some packet captures from your firewall and make sure communication is taking place the way you want it to. Your sip traffic may be on the wrong NIC since you’re multihomed.
Make sure you have no gateway set on your internal nic.
change of tactics the telco At&t will do the registration for the pbx in their equipment an i get to delete all the registarion conf in the trunk now it works.