signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.61k stars 1.43k forks source link

Failed Gateways Register breaks Inbound and Outbound Calls #1960

Open aribedo opened 1 year ago

aribedo commented 1 year ago

Describe the bug FreeSWITCH Registered Gateway fails breaks SIP in that all calls fail. Phones will still register fine. SIP profiles still start. Inbound and outbound calls are not working even when they don't rely on the gateway. Unsure if every gateway fail causes this but know it happens on gateways that are set to register.

To Reproduce Create a gateway

  1. Enable registration on the gateway
  2. Make the gateway fail

Expected behavior Expect calls to work on other gateways. Expect calls to work for inbound or outbound when not related to the failed gateway

Package version or git hash

dragos-oancea commented 1 year ago

any logs and pcaps ?

markjcrane commented 1 year ago

I've seen this issue 4 to 5 times spanning 1.10.6, 1.10.7, 1.10.8 and 1.10.9. I'm not sure how far back it goes. I consider it a major problem. Super dangerous for anyone using registered Gateways as it affects all Gateways even if register is set to false. Affects inbound calls even if not dependent on a Gateway.

In the logs you see the calls with a Wrong Call State but it doesn't process any dialplans. Not even for local calls between extensions.