<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&gt; core set chanvar SIP/poly1-ab23jadf234 JACK_HOOK(manipulate) on

  <br>
</span><span style="font-family: tahoma,sans-serif;">(For 1.6.2 it&#39;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">&lt;<a href="mailto:desired.mta@gmail.com">desired.mta@gmail.com</a>&gt;</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&#39;s audio in real-time in order to capture operator messages (I&#39;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 -&gt; audio in to jack, audio out from jack -&gt; current Asterisk application
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Outgoing call audio &lt;- 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 -&gt; current Asterisk application<br>
  Outgoing call audio &lt;- Audio from jack, Audio into Jack &lt;- 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
 -&gt; current Asterisk application<br>
  </font><font style="font-family: courier new,monospace;" size="2">Audio to jack       &lt;- current Asterisk application</font><br><font size="2"><span style="font-family: courier new,monospace;">Outgoing call audio &lt;- 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>