[asterisk-app-dev] [External] Re: ARI play to channel without muting channel
Joshua C. Colp
jcolp at digium.com
Mon Oct 24 04:30:42 CDT 2022
On Mon, Oct 24, 2022 at 5:37 AM Joshua C. Colp <jcolp at digium.com> wrote:
> On Mon, Oct 24, 2022 at 3:21 AM Fridrich Maximilian <
> M.Fridrich at commend.com> wrote:
>
>> > You would use a snoop channel either for sending the audio to external
>> > media or for playback.
>>
>> We have created a snoop channel on the incoming channel and then call
>> /play
>> on the snoop channel to play audio. However, no audio is transmitted to
>> the
>> original channel. Is that expected?
>>
>> If so, is there a way to play to the original channel without blocking
>> incoming
>> audio and without having to stream audio (i.e. use builtin Asterisk
>> features
>> like file playback)?
>>
>
> It is not expected, and I do believe there are people doing this. You'd
> need to show the precise things you are doing and what events occur.
> Underneath it's using the same stuff as ChanSpy, so if that works then
> Snoop should work.
>
Oh, there IS an inherent limitation in the underlying API that all this
uses - it requires media flowing to the channel in order to whisper into
it. If that's not happening, then it won't occur.
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20221024/a9f28531/attachment.html>
More information about the asterisk-app-dev
mailing list