[Freeswitch-users] Dialplan Bridge

Robert Clayton rjcajax at gmail.com
Thu Aug 14 07:31:45 PDT 2008


Is it possible to bridge to other extensions in the dial plan such as
below where extension 100 would ring 9000, 9001 and 9002.

<?xml version="1.0" encoding="utf-8"?>
<!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
<include>
	<context name="default">

		<extension name="Main Line">
			<condition field="destination_number" expression="^100$">
				<action application="bridge"
				data="sofia/sip/9000 at 192.168.1.222,sofia/sip/9001 at 192.168.1.222,sofia/sip/9002 at 192.168.1.222"/>
			</condition>
		</extension>

		<extension name="DictationLines">
			<condition field="destination_number" expression="^900[0-2]$">
				<action application="answer"/>
				<action application="sleep" data="2000"/>
				<action application="ivr" data="demo_ivr"/>
			</condition>
		</extension>

	</context>
</include>




More information about the FreeSWITCH-users mailing list