VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
shiyanov at gmail.com Guest
|
Posted: Tue Aug 18, 2009 8:04 am Post subject: [Freeswitch-users] "mute" channel programmatically |
|
|
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 |
|
Back to top |
|
|
rdenert at tng.de Guest
|
Posted: Wed Aug 19, 2009 4:21 am Post subject: [Freeswitch-users] "mute" channel programmatically |
|
|
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@gmail.com>
An: freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
shiyanov at gmail.com Guest
|
Posted: Wed Aug 19, 2009 6:22 am Post subject: [Freeswitch-users] "mute" channel programmatically |
|
|
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@tng.de (rdenert@tng.de)> wrote:
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Wed Aug 19, 2009 8:07 am Post subject: [Freeswitch-users] "mute" channel programmatically |
|
|
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@avgs.ca (mrene@avgs.ca)
On 19-Aug-09, at 7:13 AM, Artem Shiyanov wrote:
Quote: | 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@tng.de (rdenert@tng.de)> wrote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
shiyanov at gmail.com Guest
|
Posted: Thu Aug 20, 2009 9:40 am Post subject: [Freeswitch-users] "mute" channel programmatically |
|
|
Mathieu,
have to confess- you are right! uuid_bridge works as expected. Usual saying - is didn't work last time I tried!
Anyway, thank you much!
Artem
On Wed, Aug 19, 2009 at 5:02 PM, Mathieu Rene <mrene_lists@avgs.ca (mrene_lists@avgs.ca)> wrote:
Quote: | 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@avgs.ca (mrene@avgs.ca)
On 19-Aug-09, at 7:13 AM, Artem Shiyanov wrote:
Quote: | 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@tng.de (rdenert@tng.de)> wrote:
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@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@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|