Error while using jack_hook application


#1

Hi,

We are trying to use the Jack_Hook application for streaming the call conversation.

My dialplan is as follow ;

exten => _+91NXXXXXXXXX,1,Set(CALLERID(all)=“Trunk Test” <+91980017XXX>)
same => n,Set(JACK_HOOK(manipulate,s(localJack))=on) ;jack server name = localJAck
same => n,Dial(SIP/twilio0/${EXTEN})

initially, we got the below error (and corresponding fix) ;
Error:-
Unknown driver “alsa”
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Fix:-
changed jack audio server setup and restarted pulseaudio

Now we are getting the below error
“[warning] try to write 1024 bit to ringbuffer, but wrote 0 byte”

and this is continuous while the call is going on.

Kindly help.Thanks in advance.


DEBUG statements are not getting logged
#2

Hi Abhiraj,

Sorry to hack this discussion. I am also in the same path.

We need to get the audio stream channel during emergency paging announcement and want to play the same at end point who is in offline with url or path of the audio stream.

Please suggest if you have any relevant information.