-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Hello,
I've encountered a peculiar issue with the GoESL package during automation of dialing through FreeSWITCH. After successfully originating 96 calls, no further calls are processed. The FreeSWITCH CLI does not log any additional attempts, yet when I terminate the Go application, all the queued calls are suddenly processed.
My Environment Details:
- FreeSWITCH Version: [Version 1.10.7]
- FreeSWITCH Operating System: [Debian 11]
- Go Version: [1.18.10]
- Go Application Operating System: [Debian 11]
Issue Description:
My FreeSWITCH setup is configured to allow for 1,000 concurrent channels and 50 calls per second (CPS). Despite this, the system halts call processing after 96 calls. There are no errors or relevant logs in FreeSWITCH indicating why further calls are not being processed.
To rule out any conflicts with other packages, I created a minimal Go application with minimal dependencies. This application's sole function was to dial numbers to test the limits. The same issue occurred, which suggests that the problem is not related to other package dependencies.
A tcpdump on the server, filtered by my IP address, confirmed that the originate commands are reaching the server, but no further action is observed.
Steps to Reproduce:
- Set up FreeSWITCH to allow 1,000 concurrent channels and 50 CPS.
- Use the GoESL package to originate calls.
- Observe that after 96 successful calls, no further calls are processed.
Expected Behavior:
The GoESL client should continue to originate calls until it reaches the configured limits of FreeSWITCH or has no more dials left.
Actual Behavior:
The GoESL client stops originating calls after 96 attempts, with no further processing observed until the application is terminated.
Additional Information:
A Stack Overflow post with more context can be found here: https://stackoverflow.com/questions/77428926/goesl-with-temporal-calls-not-originating-past-certain-point-in-freeswitch/77450560#77450560
I would appreciate any guidance on further debugging steps or insights into what might be causing this behaviour.