Slow system when there is an ETH problem?

Just asking… I’ve resigned myself to buy an appliance as I can’t make FreePBX work reliably and potentially for this reason - but this may apply in either case so I’m asking.

My desired config has 3 ETH ports, Phones, Gateway and business lan.
When I have all these configured AND CONNECTED the system works quite well, dial an extension and it rings, dial a ring group and that rings too.

Brought it on location and I have a gateway problem - it cant dial out. Working on that with provider but what I see is that the entire system is crawling. I dial an extension and it might be 20-30 seconds before it even rings. Same for Ring groups, even nested ones. i.e. ring group 500 calls ring group 501 if 500 doesn’t answer in 10 seconds. so its 20 to 30 seconds between each segment of the dialing process.

At home where the gateway worked and I could dial out this was not a problem. So my question is, why would the system slow down because one of the ETH isn’t working when it should not even be paying attention to that ETH. This sort of problem may still exist even if I buy the xact appliance.

The system relies heavily on the remote DNS to work correctly, so if you can’t get to the Internet reliably, all sorts of things will slow down and simply stop working. If you have a working, caching DNS at the location, you should be able to add it to the mix and improve your performance.

Chan-SIP is also very touchy when it comes to DNS and Ethernet problems, so that might be contributing to your issues.

Finally, you need to make sure that all of the IP addresses in the system are reset correctly in your new network environment.

1 Like

I found and corrected the gateway so all 3 interfaces worked - response time of the system is back to normal. But it doesn’t dial out still. All Circuits busy.
I tried to upload the while asterisk log file but I can’t upload anything but a picture. SO here is a portion. There are “unable to resolve” messages in the log referring to sbc.e4sip.com so I tried to ping that address and was successful… so DNS was able to resolve it, So I’m not sure what to look for next…

Blockquote[2018-01-18 18:26:34] VERBOSE[10760] asterisk.c: Remote UNIX connection disconnected
[2018-01-18 18:26:36] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:36] ERROR[2171] netsock2.c: getaddrinfo(“sbc.e4sip.com”, “(null)”, …): Name or service not known
[2018-01-18 18:26:36] WARNING[2171] acl.c: Unable to lookup ‘sbc.e4sip.com
[2018-01-18 18:26:36] WARNING[2171] acl.c: Cannot connect to (null): Invalid argument
[2018-01-18 18:26:36] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:36] NOTICE[2171] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #91)
[2018-01-18 18:26:37] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:38] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:40] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:44] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:48] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:52] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:56] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb000c6fb0 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:57] ERROR[2171] netsock2.c: getaddrinfo(“sbc.e4sip.com”, “(null)”, …): Name or service not known
[2018-01-18 18:26:57] WARNING[2171] acl.c: Unable to lookup ‘sbc.e4sip.com
[2018-01-18 18:26:57] WARNING[2171] acl.c: Cannot connect to (null): Invalid argument
[2018-01-18 18:26:57] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:57] NOTICE[2171] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #92)
[2018-01-18 18:26:57] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:26:58] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:00] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:04] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:08] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:12] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:16] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb00041960 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:17] ERROR[2171] netsock2.c: getaddrinfo(“sbc.e4sip.com”, “(null)”, …): Name or service not known
[2018-01-18 18:27:17] WARNING[2171] acl.c: Unable to lookup ‘sbc.e4sip.com
[2018-01-18 18:27:17] WARNING[2171] acl.c: Cannot connect to (null): Invalid argument
[2018-01-18 18:27:17] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb0001d040 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:17] NOTICE[2171] chan_sip.c: – Registration for ‘[email protected]’ timed out, trying again (Attempt #93)
[2018-01-18 18:27:18] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb0001d040 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:19] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb0001d040 (len 402) to (null) returned -1: Invalid argument
[2018-01-18 18:27:21] WARNING[2171] chan_sip.c: sip_xmit of 0x7feb0001d040 (len 402) to (null) returned -1: Invalid argument

Hi there again, let me know if you would like some help, I’m sure we can figure this out without the need to buy the appliance.

Hi Again Ariel
I fixed the gateway problem (it wasn’t at .1 like every other gw setting in my tiny world, it was at .254… didn’t expect that) and then added DNS entries to the ETH files and that made the system snap back into life and also able to ping internet locations.

I still cant make outgoing calls so I posted the asterisk logfile (And will also contact e4sip and ask them about it too).

I am so interested now in finding out out why on earth the extension to extension calling is affected by a network interface that is not part of the phones themselves. As I recal you even witnessed it yourself while you were helpnig and you knoew that the slowdown was related to an ETH interface. As you recall the phones in this setup have their own network so why does the phone system need to “phone home” just to connect to the next cubicle. Barring a real reason it could be easily interpreted as a privacy concern.

If I can understand why things are the way they are and document it so I can remember what I did a year from now I might be able to stick with this home built system. If not, I will have to just buy the box and move on. As interesting as this truly is, I have other project I want to do for myself and I don’t want to be married to this phone system. I need to be able to just let it run for years like a phone system should. Doesn’t feel like that’s how this works just yet.

UPDATE: went to E4SIP portal and there is a message saying “SIP registration is not active, you will not be able to make or receive calls” Thats encouraging :slight_smile: at least they agree.

Appliance or FreePBX Distro, you are going to have that issue either way, it is not a matter of that. If there is more than one network card in play, all of them have to be correctly configured. If either one is not connected or not going to be used, then it must be brought down. Regarding your issue about not being able to make outgoing calls without registering, you need to get in touch with your provider and demand they provide the correct trunk configuration, with all the details needed, including registration string if needed.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.