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

Send audio back ? #27

Open
lucky-ali opened this issue Oct 7, 2023 · 3 comments
Open

Send audio back ? #27

lucky-ali opened this issue Oct 7, 2023 · 3 comments

Comments

@lucky-ali
Copy link

Hello will this audio me to the follow

ASTERISK -> AUDIO STREAM -> WS APP SERVER (speech to text) -> WS Client (text to speech) -> Audio Stream -> Asterisk

Basically being able to have a bi-directional call, without using google API.

@nadirhamid
Copy link
Owner

Hello @lucky-ali,

Unfortantely this is not possible with the current code, but it can be implemented. I have created a demo branch with functionality like this. You can view it here:

https://github.com/nadirhamid/asterisk-audiofork/tree/send-bidirectional-streams

I have yet to document it however. If you need this immediately I suggest you look into the following module:
https://github.com/CyCoreSystems/audiosocket

If you have any other questions or need more info let me know.

@jmordica
Copy link

+1 for this! :)

Willing to help test.

@lucky-ali
Copy link
Author

i have tried to run it but i am unable to get it running, if you can guide me to some sort of documentation on the setup or a demo code i would appreciate it.

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

3 participants