<span style="font-family: tahoma,sans-serif;"></span>
<span style="font-family: tahoma,sans-serif;">Update:</span><br style="font-family: tahoma,sans-serif;">
<span style="font-family: tahoma,sans-serif;"><br>I thought this may be the
solution:</span><br style="font-family: tahoma,sans-serif;">
<span style="font-family: monospace;"> *CLI> core set chanvar SIP/poly1-ab23jadf234 JACK_HOOK(manipulate) on
<br>
</span><span style="font-family: tahoma,sans-serif;">(For 1.6.2 it's </span><span style="font-family: monospace;"><u>dialplan</u>
set chanvar SIP/poly1-ab23jadf234 JACK_HOOK(manipulate) on</span><span style="font-family: tahoma,sans-serif;"> )</span><br>
<span style="font-family: tahoma,sans-serif;">Source: <a href="%20http://www.voip-info.org/wiki/view/Asterisk+cmd+jack">voip-info.org</a><br>
</span><br style="font-family: tahoma,sans-serif;">
<span style="font-family: tahoma,sans-serif;">The command opens two jack
ports: Channel:input and channel:output.</span><span style="font-family: tahoma,sans-serif;"> At once command is executed, sound on the caller is gone.<br>Question: what should this CLI command do in reality? Is it a bug or expected behaviour?<br>
<br>Then I connect those two ports hoping it will return the sound to the caller:<br>
<span style="font-family: courier new,monospace;">jack_connect SIP/PBX2-0000000d:output SIP/PBX2-0000000d:input</span><br>Then the calee hears garbled sound. Sample of all process is <a href="http://www.megaupload.com/?d=10LN8QRH">here</a>. It is recorded by MixMonitor on the machine where jack takes process.<br>
<br>
Asterisk 1.6.2.6 (upgrading/downgrading/patching is not a problem).<br><br>Waiting for your suggestions... Maybe I can do this in totally different approach?<br></span><span style="font-family: monospace;">
</span><br><span style="font-family: tahoma,sans-serif;"></span><span style="font-family: tahoma,sans-serif;">Regards<br>Motiejus Jakštys<br><a href="http://m.jakstys.lt/">http://m.jakstys.lt/</a><br></span>
<br>
2010/5/5 Motiejus Jakštys <span dir="ltr"><<a href="mailto:desired.mta@gmail.com">desired.mta@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font size="2"><span style="font-family: tahoma,sans-serif;">Hello,</span><br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">I need to capture calee's audio in real-time in order to capture operator messages (I've written sound recognition software that works with Jack: <a href="http://github.com/Motiejus/SoundPatty/" target="_blank">http://github.com/Motiejus/SoundPatty/</a>).<br>
Jack does the following:</span><br><span style="font-family: courier new,monospace;">Incoming call audio -> audio in to jack, audio out from jack -> current Asterisk application
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Outgoing call audio <- current Asterisk application</span><span style="font-family: monospace;"><br><br></span></font><font style="font-family: tahoma,sans-serif;" size="2">However, I need vica-versa:<br>
</font><font style="font-family: courier new,monospace;" size="2">Incoming call audio -> current Asterisk application<br>
Outgoing call audio <- Audio from jack, Audio into Jack <- current Asterisk application<br>
</font><span style="font-family: tahoma,sans-serif;">or at least</span><br><font style="font-family: courier new,monospace;" size="2">Incoming call audio
-> current Asterisk application<br>
</font><font style="font-family: courier new,monospace;" size="2">Audio to jack <- current Asterisk application</font><br><font size="2"><span style="font-family: courier new,monospace;">Outgoing call audio <- current Asterisk application</span><span style="font-family: monospace;"></span></font><br>
<br><span style="font-family: tahoma,sans-serif;">Any idea how I could accomplish this?</span><br><font size="2"><span style="font-family: monospace;"></span><span style="font-family: tahoma,sans-serif;"></span></font><br>
</blockquote></div><br>