Hi there @sboily @pc-m
I have tried this with Asterisk 17. The module is loaded ,
*CLI> module load res_ari_stream.so
Loaded res_ari_stream.so
== WebSocket registered sub-protocol 'stream-channel'
Loaded res_ari_stream.so => (Asterisk Websocket Channel Stream Module)
I pass the channel to the script and I see it starts to capture the audio,
python3 get.py 1626527094.40
WebSocket connection from '127.0.0.1:40548' for protocol 'stream-channel' accepted using version '13'
NOTICE[9548]: res_ari_stream.c:238 websocket_cb: channel 1626527094.40 : new call (interface id = 0x1)
----
----
[2021-07-17 13:06:23] NOTICE[9548]: res_ari_stream.c:247 websocket_cb: channel 1626527094.40 : end call
== WebSocket connection from '127.0.0.1:40548' closed
However, I don't seem to get anything in the wav file. The size is 0.
fpbx:/usr/src/wazo-hackathon-asterisk-stream-module/contribs# du -hs *
4.0K README.md
0 out.wav
4.0K record-channel-id.py
What could be wrong ?
Hi there @sboily @pc-m
I have tried this with Asterisk 17. The module is loaded ,
I pass the channel to the script and I see it starts to capture the audio,
However, I don't seem to get anything in the wav file. The size is 0.
What could be wrong ?