[Freeswitch-users] How to select audio from the initiator of a conference and play it to all participants
Steven Ayre
steveayre at gmail.com
Wed Jan 5 20:58:23 MSK 2011
There's an API command for mod_conference to play a file to a conference.
http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference - see play.
-Steve
On 5 January 2011 15:20, Fabio Bigliardi <fabio.bigliardi at gmail.com> wrote:
> Hi all,
> I would like to configure a dialplan so that the initiator of a
> conference can select an audio file and play it simultaneously to all
> the participants in the conference.
>
> I tried the following:
>
> <extension name="my_mad_boss">
> <condition field="destination_number" expression="^0916$">
> <action application="set"
> data="conference_auto_outcall_caller_id_name=my mad boss"/>
> <action application="set"
> data="conference_auto_outcall_caller_id_number=0916"/>
> <action application="set" data="conference_auto_outcall_timeout=60"/>
> <action application="set" data="conference_auto_outcall_flags=mute"/>
> <action application="set"
> data="conference_auto_outcall_prefix={sip_auto_answer=true}"/>
> <action application="set" data="sip_exclude_contact=${network_addr}"/>
> <action application="conference_set_auto_outcall"
> data="${group_call(sales)}"/>
> <action application="bind_digit_action"
> data="cool,11,exec:playback,ivr/ivr-welcome_to_freeswitch.wav"/>
> <action application="bind_digit_action"
> data="cool,12,exec:playback,ivr/ivr-thank_you.wav"/>
> <action application="digit_action_set_realm" data="cool"/>
> <action application="conference"
> data="my_mad_boss at default+flags{endconf}"/>
> </condition>
> </extension>
>
> but it plays the right audio file only to the initiator of the conference.
> How to have it played to all members of the conference instead?
>
> Thank you in advance for your answer.
>
> F. Bigliardi
>
> _______________________________________________
> 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
>
More information about the FreeSWITCH-users
mailing list