Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] "mute" channel programmatically with mod_event_socket


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
shiyanov at gmail.com
Guest





PostPosted: Tue Aug 18, 2009 8:04 am    Post subject: [Freeswitch-users] "mute" channel programmatically Reply with quote

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





PostPosted: Wed Aug 19, 2009 4:21 am    Post subject: [Freeswitch-users] "mute" channel programmatically Reply with quote

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





PostPosted: Wed Aug 19, 2009 6:22 am    Post subject: [Freeswitch-users] "mute" channel programmatically Reply with 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:
Quote:
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 (shiyanov@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (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 (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
mrene_lists at avgs.ca
Guest





PostPosted: Wed Aug 19, 2009 8:07 am    Post subject: [Freeswitch-users] "mute" channel programmatically Reply with 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:
Quote:
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 (shiyanov@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (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 (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


_______________________________________________
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





PostPosted: Thu Aug 20, 2009 9:40 am    Post subject: [Freeswitch-users] "mute" channel programmatically Reply with quote

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:
Quote:
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 (shiyanov@gmail.com)>
An: freeswitch-users@lists.freeswitch.org (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 (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


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services