[Freeswitch-users] How to select audio from the initiator of a conference and play it to all participants
Fabio Bigliardi
fabio.bigliardi at gmail.com
Wed Jan 5 18:20:40 MSK 2011
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
More information about the FreeSWITCH-users
mailing list