[Freeswitch-users] Eavesdrop a call.

Brian West brian at freeswitch.org
Fri Jul 10 00:11:07 MSD 2015


You can also just say 'all', and cycle thru them all see the confluence
page over this its fairly detailed.

On Thu, Jul 9, 2015 at 11:17 AM, Igor Olhovskiy <igorolhovskiy at gmail.com>
wrote:

> Thanks for an answer, but while calling eavesdrop I'm giving as a
> parameter existing call-leg ID (answered one)
> But I'll try with originate one command, thanks.
>
> четверг, 9 июля 2015 г. пользователь Steven Szeto написал:
>
>>  Igor,
>>
>>
>>
>> You need a call leg to perform the eavesdrop. The <channel-uuid> is the
>> channel of an active call that is to be eavesdropped upon.
>>
>>
>>
>> These examples work from the fs_cli command window. You will have to
>> modify the commands with extensions and the correct uuid:
>>
>>
>>
>> Step 1: establish a 2 party call:
>>
>>
>>
>> two party call:
>>
>> originate sofia/internal/5401 at 10.47.41.109 &bridge(sofia/internal/
>> 5901 at 10.47.41.109)
>>
>>
>>
>> Step 2: invoke eavesdrop with the desired behavior:
>>
>>
>>
>> whisper/coach:
>>
>> originate sofia/internal/5902 at 10.47.41.109 'queue_dtmf:w2 at 500,eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861'
>> inline
>>
>>
>>
>> originate sofia/internal/4901 at 10.47.32.159 'queue_dtmf:w2 at 500,eavesdrop:35b70871-78d4-4587-a186-5c0457482515'
>> inline
>>
>>
>>
>> silent monitor:
>>
>> originate sofia/internal/5401 at 10.47.41.109
>> 'eavesdrop:a28739d0-00f0-4a59-8c82-7a5a74ab6861' inline
>>
>> originate sofia/internal/5002 at 10.47.32.159 'queue_dtmf:w0 at 500,eavesdrop:abefa174-12dc-4ccb-956e-67c51475c414'
>> inline
>>
>>
>>
>>
>>
>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Igor
>> Olhovskiy
>> *Sent:* Thursday, July 09, 2015 7:48 AM
>> *To:* FreeSWITCH Users Help
>> *Subject:* [Freeswitch-users] Eavesdrop a call.
>>
>>
>>
>> Hi!
>>
>> I'm using Freeswitch 1.4.20 (git b95362f 2015-07-03 16:42:15Z 64bit))
>> (stable one)
>>
>> and trying to get eavesdropping. But no luck.
>>
>> Main scheme:
>>
>> DID - > extension (210). 210 answers
>>
>> eavesdropping from extension 110.
>>
>> While giving a command
>>
>> *eavesdrop <channel-uuid> *
>>
>> I've got log full of messages
>>
>> *2015-07-09 13:29:00.325667 [ERR] switch_core_io.c:1531 Write Buffer 0
>> bytes Failed!*
>>
>> and silence on 110 extension
>>
>>
>>
>> While giving a command
>>
>> *userspy 210@${domain_name}* or *userspy <channel-uuid>*
>>
>> I've got music-on-hold on 110, no errors on log.
>>
>>
>>
>> In both cases used <channel-uuid> of extension 210 (answered one)
>>
>>
>>
>> Is this a bug or I'm doing something wrong?
>>
>> --
>>
>> Best regards,
>>
>> Igor
>>
>> ------------------------------
>> NOTE: This e-mail (including any attachments) is for the sole use of the
>> intended recipient(s) and may contain information that is confidential
>> and/or protected by legal privilege. Any unauthorized review, use, copy,
>> disclosure or distribution of this e-mail is strictly prohibited. If you
>> are not the intended recipient, please notify Mitel immediately and destroy
>> all copies of this e-mail. Mitel does not accept any liability for breach
>> of security, error or virus that may result from the transmission of this
>> message.
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> --
> Best regards,
> Igor
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150709/d63cd235/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list