[asterisk-users] Getting calee audio in Asterisk (real time)
Motiejus Jakštys
desired.mta at gmail.com
Wed May 5 02:46:18 CDT 2010
Update:
I thought this may be the solution:
*CLI> core set chanvar SIP/poly1-ab23jadf234 JACK_HOOK(manipulate) on
(For 1.6.2 it's *dialplan*set chanvar SIP/poly1-ab23jadf234
JACK_HOOK(manipulate) on)
Source: voip-info.org<%20http://www.voip-info.org/wiki/view/Asterisk+cmd+jack>
The command opens two jack ports: Channel:input and channel:output. At once
command is executed, sound on the caller is gone.
Question: what should this CLI command do in reality? Is it a bug or
expected behaviour?
Then I connect those two ports hoping it will return the sound to the
caller:
jack_connect SIP/PBX2-0000000d:output SIP/PBX2-0000000d:input
Then the calee hears garbled sound. Sample of all process is
here<http://www.megaupload.com/?d=10LN8QRH>.
It is recorded by MixMonitor on the machine where jack takes process.
Asterisk 1.6.2.6 (upgrading/downgrading/patching is not a problem).
Waiting for your suggestions... Maybe I can do this in totally different
approach?
Regards
Motiejus Jakštys
http://m.jakstys.lt/
2010/5/5 Motiejus Jakštys <desired.mta at gmail.com>
> Hello,
> 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:
> http://github.com/Motiejus/SoundPatty/).
> Jack does the following:
> Incoming call audio -> audio in to jack, audio out from jack -> current Asterisk application
>
> Outgoing call audio <- current Asterisk application
>
> However, I need vica-versa:
> Incoming call audio -> current Asterisk application
> Outgoing call audio <- Audio from jack, Audio into Jack
> <- current Asterisk application
> or at least
> Incoming call audio -> current Asterisk application
> Audio to jack <- current Asterisk application
> Outgoing call audio <- current Asterisk application
>
> Any idea how I could accomplish this?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100505/1c530967/attachment.htm
More information about the asterisk-users
mailing list