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

how to receive message from web socket #20

Open
khongquoctoan opened this issue Jun 6, 2023 · 1 comment
Open

how to receive message from web socket #20

khongquoctoan opened this issue Jun 6, 2023 · 1 comment

Comments

@khongquoctoan
Copy link

I have a scenario where I send a raw audio stream via websocke, then the web socket receives and responds to the url record for asterisk to receive and play that url record.
Please guide me how to get url record file from websocket under diaplan. thank you team

@nadirhamid
Copy link
Owner

nadirhamid commented Jun 24, 2023

Hello @khongquoctoan,

It is not possible to receive messages at this point. However, you can send the messages to another service which could use one of the Asterisk APIs to play the audio file back to the channel. For example, you may want to look into using AMI for this or something similar.

Let me know if you have any other questions or need more info.

Thanks

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