Outbound Conference Calls
About
Dial a list of destination phone numbers and add them to a conference.
Usage
Use conference_set_auto_outcall to have mod_conference call one or more conferees when a conference starts. To have it call more than one endpoint, simply repeat the conference_set_auto_outcall action in the dialplan for each destination number.
<action application="conference_set_auto_outcall" data="dialstring"/>
Example
Here is an example of using conference_set_auto_outcall with some of the other conference_auto_outcall_* parameters to start a conference when someone dials 12345. Extensions 1000, 1001, and 1004 will be dialed when the conference starts.
Because 1004 is in a noisy environment that station has the "mute" flag set initially; when that station presses 0 it will toggle the mute as normal, it simply starts in the muted state to avoid disrupting the conference with noise. Note the use of square brackets around the mute flags for 1004; when FS builds the originate string the square brackets apply their contents only to that one destination, not to the whole dial string.
Conference Dialplan Example
<extension name="Demonstrate conference_set_auto_outcall">
<condition field="destination_number" expression="^(12345)$">
<action application="answer"/>
<action application="set" data="conference_auto_outcall_timeout=5"/>
<action application="set" data="conference_auto_outcall_flags=none"/>
<action application="set" data="conference_auto_outcall_caller_id_name=$${effective_caller_id_name}"/>
<action application="set" data="conference_auto_outcall_caller_id_number=$${effective_caller_id_number}"/>
<action application="set" data="conference_auto_outcall_profile=default"/>
<action application="conference_set_auto_outcall" data="user/1000@$${domain}"/>
<action application="conference_set_auto_outcall" data="user/1001@$${domain}"/>
<action application="conference_set_auto_outcall" data="[conference_member_flags=mute]user/1004"/>
<action application="conference" data="$1@default"/>
</condition>
</extension>
It is also possible to autocall multiple destination at once, just remember to escape your variables if you have more than one or any non-escaped chars in it. Again, note the use of square brackets to apply settings to only one destination.
Overall, it is much easier to use the individual outcall lines as shown above.
Single-Line Conference Outdial
<action application="conference_set_auto_outcall" data="['var1=a,var2=b']user/1001@$${domain},['var1=c,var2=d']user/1002@$${domain}"/>
See Also
"Mad Boss" example extensions in Vanilla XML dialplan
mod_conference - shows syntax and examples