Hi everyone,
to forward the audio stream inside Asterisk to the outside, we have the nice application JACK(). However, the problem with JACK() is that it blocks the dialplan. I try to call it in parallel, but I still can’t manage to have it parallel with DIAL(). JACK_HOOK() is the nice function to forward the audio stream in the background and not block the dialplan. But why is the functionality of JACK() and JACK_HOOK() different?
When you use the JACK application, you get:
Incoming call audio → Jack Application
Outgoing call audio ← Jack Application
JACK_HOOK does the following:
Incoming call audio → audio in to jack, audio out from jack → current Asterisk application
Outgoing call audio ← current Asterisk application
JACK() is perfect but blocks the dialplan.
JACK_HOOK() does not block the dialplan but works differently and only supports the “manipulate” function.
Can someone please improve JACK_HOOK() to have another function like “forward” to allow the same flow as JACK()?
Thanks for your answer!