[Freeswitch-users] "mute" channel programmatically with mod_event_socket
Mathieu Rene
mrene_lists at avgs.ca
Wed Aug 19 06:02:19 PDT 2009
Hi,
Eavesdrop kind of works yeah, you can use the intercept application to
re-bridge the channels together, like:
SendMsg <uuid_channel_making_mute>
call-command: execute
execute-app-name: intercept
execute-app-arg: <uuid_participator>
The same can be done with the uuid_bridge api.
api uuid_bridge <uuid1> <uuid2>
If you want the cleaner way you could implement a media bug that
replaces all the audio of the channel by silence, but that'd require
some C coding.
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
On 19-Aug-09, at 7:13 AM, Artem Shiyanov wrote:
> The point is - a simple call flow is desired- if I have a ordinary 1-
> to-1 call and one of the participators decides to mute call - I
> don't want to put both channels into a conference room but it looks
> like I have no other choices.
>
> BUT:
> I found brilliant app - eavesdrop! If I do this for one-to-one call
> - mute works!
> SendMsg <uuid_channel_making_mute>
> call-command: execute
> execute-app-name: eavesdrop
> execute-app-arg: <uuid_participator>
>
> But the problem appears when I want to unmute.. the call! I've tried
> to re-bridge channels, intercept them- nothing happens- one channel
> (muted one) doesn't hear the participator. And CLI command 'show
> channels' shows that channel with uui=<uuid_channel_making_mute>
> still process eavesdrop app. Maybe someone know how to switch off
> eavesdrop app?
>
>
> Artem
>
>
> On Wed, Aug 19, 2009 at 1:17 PM, Rudolf Denert <rdenert at tng.de> wrote:
> You can use the caller controlls in the conference.conf.xml to
> implement your own features something like mute or kick. Or do you
> want to mute mute other conference members like a moderator can do
> this.
>
> BR
>
> ----- Ursprüngliche Mail -----
> Von: "Artem Shiyanov" <shiyanov at gmail.com>
> An: freeswitch-users at lists.freeswitch.org
> Gesendet: Dienstag, 18. August 2009 14:54:04 GMT +01:00 Amsterdam/
> Berlin/Bern/Rom/Stockholm/Wien
> Betreff: [Freeswitch-users] "mute" channel programmatically with
> mod_event_socket
>
>
> Hello all!
>
> I'm trying to implement "mute" feature with mod_event_socket: I want
> programmatically mute/unmute some channel in a call.. And I don't
> see any other ways except to use conference room with special rule
> "mute".
> Anybody knows the better way?
>
>
> Thanks,
> Artem
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090819/64870c1d/attachment-0002.html
More information about the FreeSWITCH-users
mailing list