asterisk-audiofork icon indicating copy to clipboard operation
asterisk-audiofork copied to clipboard

Send audio back ?

Open lucky-ali opened this issue 1 year ago • 3 comments

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.

lucky-ali avatar Oct 07 '23 22:10 lucky-ali

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.

nadirhamid avatar Dec 03 '23 20:12 nadirhamid

+1 for this! :)

Willing to help test.

jmordica avatar Dec 10 '23 03:12 jmordica

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.

lucky-ali avatar Mar 18 '24 14:03 lucky-ali