[Freeswitch-users] Tell Conference to stop music by ESL/progammatically?

Dragos Oancea dragos at freeswitch.org
Tue May 19 13:19:07 UTC 2020


All the commands you can execute via fs_cli should be ok to run via
api/bgapi ESL .

On Mon, May 18, 2020 at 10:33 PM SamyGo <govoiper at gmail.com> wrote:

> Hi,
>
> conference API command shows this:
>
> <conf name> moh <file_path>|toggle|[on|off]
>
> I have done per participant deafen/mute/unmute and other controls but not
> tested this particular moh toggling. For per participant control you'll
> need to have their conference member_id to execute the actions as
>
> <conf name> deaf <[member_id|all]|last|non_moderator>
>
> Check output of conference command in freeswitch console for all other
> actions you can perform via ESL.
>
> Regards,
> Sammy
>
>
> On Fri, May 15, 2020 at 6:24 AM Richard Chan <richard at treeboxsolutions.com>
> wrote:
>
>> Can I tell the Cnference application to stop the music even if there is
>> only one user programmatically or by ESL?
>>
>> Scenario:
>> I want the default behaviour: when there is one participant, Conference
>> will play music.
>>
>> However one of my "participants" is actually another Conference
>> application (not FreeSWITCH) that can signal to me the number of callers it
>> is currently muxing. In this case if it signals two or more I want to stop
>> the music. From FreeSWITCH POV there is only one channel.
>>
>> Is there a way to use ESL to stop/start the music?
>>
>> (At the moment Confluence seems to be down, and google is drawing a blank
>> here.)
>>
>>
>>
>> --
>> Richard Chan
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200519/84da02a4/attachment.html>


More information about the FreeSWITCH-users mailing list