[Freeswitch-users] Dialplan actions
Sluschny, Thomas
Thomas.Sluschny at siemens.com
Wed Feb 21 06:28:27 PST 2007
Hi Jonas,
i know the action "application" from XML dialplan section.
Here you can find answer, playback, bridge, javascript, set and so on.
Interesting variables to set with "set"-application you can find under:
http://wiki.freeswitch.org/wiki/FreeSwitch_Channel_Variables
I use windows and this is working for me:
<extension name="testextension14">
<condition field="destination_number" expression="^14$">
<action application="answer" data=""/>
<action application="playback" data="D:\download\sip\freeswitch\snapshot_freeswitch\debug\sounds\Track8_30s_mono_8kS.wav"/>
</condition>
</extension>
Hope this helps.
Thomas
-----Ursprüngliche Nachricht-----
Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Jonas Gauffin
Gesendet: Mittwoch, 21. Februar 2007 14:57
An: freeswitch-users at lists.freeswitch.org
Betreff: [Freeswitch-users] Dialplan actions
Hello
What kind of actions can I use in a diaplan and what kind of
parameters do they have?
How should sound files be specified in win32?
I tried this:
<extension name="testmusic">
<condition field="destination_number" expression="^1234$">
<!-- Request a certain tone/file to be played while you wait for
the call to be answered-->
<action application="set" data="ringback=C:/windows/Media/ringin.wav"/>
<action application="bridge"
data="sofia/$${domain}/1234 at conference.freeswitch.org"/>
</condition>
</extension>
Regards,
Jonas
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list