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

[mod_event_socket] Unable to get command output as an INBOUND Mode from event socket #2455

Open
surabhigarg1234 opened this issue May 3, 2024 · 1 comment

Comments

@surabhigarg1234
Copy link

Requirement:

  1. Need to connect freeswitch command line from an external application
  2. To achieve that "mod_event_socket" is the one can help out
  3. while doing TCP connection from my application to FreesSWITCH on 127.0.0.1:8021
  4. Connection is successful
  5. But when I am firing command on socket "api callcenter_config agent set state 7999903 Idle"
  6. I am getting response: "ACK : Revieved : Content-Type: auth/request"

But nothing got updated when I checked on freeswitch CLI.

Similarly, when I hit "api getcputime", same response I am getting "ACK : Revieved : Content-Type: auth/request" but nothing else received on my application related to getcputime.

do we need something related to password "Cluecon" which is required for "mod_event_socket"?
if yes how can we do password auth in TCP socket connection?

@suiyuemanbu
Copy link

you need send "auth ClueCon" to freeswitch

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

No branches or pull requests

2 participants