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

fixed eavesdrop channel management via ESL #2429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sergey-safarov
Copy link
Contributor

The current switch_ivr_eavesdrop_session implementation does not call switch_ivr_parse_all_events and leads to the case when executing eavesdrop application blocks any command execution sent via ESL.

This PR fix this.
I have tested locally.

@signalwire-ci
Copy link

signalwire-ci bot commented Apr 12, 2024

@sergey-safarov
Copy link
Contributor Author

sergey-safarov commented Apr 12, 2024

The issue can be reproduced using this test script

#!/bin/perl

use ESL;

my $uuid = shift;
my $args = join(" ", @ARGV);

my $con = new ESL::ESLconnection("127.0.0.1", "8021", "ClueCon");

my $e = $con->execute('info', '', $uuid);

need to call the script using commands like

./test.pl a0aac03e-0956-4adc-82b5-08a19b6155be

Without this patch, the channel variables will not printed with the active eavesdrop application.
With this patch channel variables will be printed into the FreeSwitch log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant