From jungle-boogie, 3 Years ago, written in FreeSWITCH.
- view diff
Embed
  1. conf/dialplan/default.xml for the group:
  2.     <extension name="group_dial_support">
  3.       <condition field="destination_number" expression="^2001$">
  4.       <action application="set" data="call_timeout=20"/>
  5.       <action application="set" data="continue_on_fail=true"/>
  6.       <action application="set" data="hangup_after_bridge=true"/>
  7.       <action application="bridge" data="group/support@${domain_name}"/>
  8.       <action application="answer"/>
  9.       <action application="sleep" data="2000"/>
  10.       <action application="voicemail" data="default 2600"/>
  11.       </condition>
  12.     </extension>