Asterisk websocket audio transmition

Hi. I’m having a hardtime trying to install an external module to asterisk. The external module in question is GitHub - nadirhamid/asterisk-audiofork: Stream Asterisk audio over Websockets

The first thing that i had problem with was installing it. I didnt found any content on the internet about installing custom modules, but after having a hardtime i found something related to being needed to install asterisk-dev so i did it, and after installing it i was able to install the module. But the asterisk didnt runs up after it. I managed to make it work by recompilying it but when i try to load the module i recieve Unable to load module app_audiofork.so Command 'module load app_audiofork.so' failed. [Aug 30 19:19:57] ERROR[14463]: loader.c:283 module_load_error: Error loading module 'app_audiofork.so': /usr/lib/asterisk/modules/app_audiofork.so: undefined symbol: __ast_test_suite_event_notify

I`m using asterisk 20.9
This could be a version incompatibility?
I really need to install asterisk-dev to use external modules? it makes the asterisk laggy to start/restart

I also tried to use audiosocket for this but i found out that its kinda similiar to speechbackground where when i send a event the application continues, but i wanted to pass the audio stream to a socket while the dialplan is running

Maybe the results that i want that is stream a call during its dialplan could only be possible using ari?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.