Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freeswitch calls back the same event multiple times #2420

Open
Suoweiwuu opened this issue Apr 5, 2024 · 5 comments
Open

freeswitch calls back the same event multiple times #2420

Suoweiwuu opened this issue Apr 5, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Suoweiwuu
Copy link

Describe the bug
When esl listens for freeswitch events, it is found that freeswitch calls back the same event multiple times, which increases the pressure on esl applications

To Reproduce
Use esl outbound mode to listen for freeswitch CHANNEL_HANGUP events

Expected behavior
There is only one CHANNEL_HANGUP callback event for a call

Package version or git hash
FreeSWITCH Version 1.6.20~64bit ( 64bit)

@Suoweiwuu Suoweiwuu added the bug Something isn't working label Apr 5, 2024
@andywolk
Copy link
Contributor

andywolk commented Apr 5, 2024

1.6 is a pretty old version of FreeSWITCH. Please confirm this is an issue in the latest as well.

@Suoweiwuu
Copy link
Author

I tried version 1.10.6 again and still had the same problem

@Suoweiwuu
Copy link
Author

My business scenario is that I send a bridge command to freeswitch through esl. When the bridge fails, I want to be able to listen to this through some event. I tried CHANNEL_EXECUTE_COMPLETE, but it called back too many times. So much so that my esl server can't handle it

@suiyuemanbu
Copy link

You test it with fs_cli first, if it's ok, it could be that you have multiple events subscribed in your esl

@Suoweiwuu
Copy link
Author

I tried to subscribe to events in fs_cli, but a call still triggers the same event multiple times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants