Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor notes

...

Code Block
languagexml
themeEmacs
titleOutbound 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_utils_auto_outcall_flags=mute"/>
    <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="set" data="conference_auto_outcall_prefix={sip_auto_answer=true,execute_on_answer='bind_meta_app 2 a s1 transfer::intercept:${uuid} inline'}"/>
	<action application="set" data="conference_auto_outcall_timeout=60"/>
    
    <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="sofia/internal/gateway/signalwire/12024561000"/>
    
    <action application="conference" data="$1@default"/>
    
  </condition>
</extension>

Note that the internal extensions 1000 and 1001 will provide no ringback to avoid polluting the conference bridge with excessive noise, but the gateway is not under control of FreeSWITCH so it will provide early media.

Alternatively, you can set multiple destinations in one line, just remember to escape your variables if you have more than one or any non-escaped chars in it.

...