Channel not returning to normal media after JACK_HOOK detach

General discussions about Asterisk.

Moderators: Moderator, Support

Channel not returning to normal media after JACK_HOOK detach

Postby vageesh » Fri Jan 22, 2016 1:49 am

[HELP]: Hi Friends, I am trying to use pure data with asterisk. I am connecting using the JACK interface. Once I have turned the JACK_HOOK on, is there a way to turn it back to normal.

What I have done right now is that in my features.conf, I have defined a feature as follows:
Code: Select all
change_to_jack0 => #0,self/caller,Set(JACK_HOOK(manipulate)=off)

but when I press #0 during a bridged call the complete audio stops going from caller to the callee. Although what I expect is that instead of going through

Caller->Jack->puredata->Callee

it should go in the normal fashion i.e.

Caller->Callee.

extensions.conf
Code: Select all
[jacknjill]
exten =>1001,1,Answer()
exten =>1001,n,Set(__DYNAMIC_FEATURES=change_to_jack0)
exten =>1001,n(menu),Read(voice_type,/usr/src/prompts/menu-e,1,,,5)
exten =>1001,n,Set(JACK_HOOK(manipulate,i(pure_data_${voice_type}:input0)o(pure_data_${voice_type}:output0))=on)
exten =>1001,n,Dial(DAHDI/g0/XXXXXXXX, 30)
vageesh
Newsterisk
 
Posts: 1
Joined: Fri Jan 22, 2016 1:39 am

Return to Asterisk General

Who is online

Users browsing this forum: Google [Bot] and 5 guests