[Freeswitch-users] Dial plan help
Chad Vogel
cvogel at lyonl.com
Mon Sep 19 08:42:21 MSD 2011
I'm trying to build a dialplan however it doesn't seem to work. on the first number I would like to forward and all other numbers i would like to play an an audio file.
<include>
<extension name="14142211800">
<condition field="destination_number" expression=""^+14142211800$">
<action application="bridge" data="sofia/gateway/level3/+15618911806"/>
</condition>
</extension>
<extension name="13127567001">
<condition field="destination_number" expression=""^+(1{0,1}\d{10})$">
<action application="answer"/>
<action application="set" data="playback_terminators=#"/>
<action application="playback" data="C:\Program Files\FreeSWITCH\sounds\music\48000\danza-espanola-op-37-h-142-xii-arabesca.wav"/>
</condition>
</extension>
</include>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110919/5f10c45f/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list