提交 1bfcc17e authored 作者: Mathieu Parent's avatar Mathieu Parent

Skinny: add example dialplan and directory config

上级 e66e9fa8
...@@ -268,6 +268,12 @@ ...@@ -268,6 +268,12 @@
</condition> </condition>
</extension> </extension>
<extension name="Local_Extension_Skinny">
<condition field="destination_number" expression="^(20[01][0-9])$">
<action application="bridge" data="skinny/internal/${destination_number}"/>
</condition>
</extension>
<extension name="group_dial_sales"> <extension name="group_dial_sales">
<condition field="destination_number" expression="^2000$"> <condition field="destination_number" expression="^2000$">
<action application="bridge" data="${group_call(sales@${domain_name})}"/> <action application="bridge" data="${group_call(sales@${domain_name})}"/>
......
...@@ -4,5 +4,10 @@ ...@@ -4,5 +4,10 @@
<action application="skinny-route"/> <action application="skinny-route"/>
</condition> </condition>
</extension> </extension>
<extension name="Local_Extension_Skinny">
<condition field="destination_number" expression="^(20[01][0-9])$">
<action application="skinny-route"/>
</condition>
</extension>
</include> </include>
<include>
<user id="SEP001120AABBCC">
<params>
<!-- for devices requesting firmware via SCCP, like ATA186
<param name="skinny-firmware-version" value="ATA030101SCCP04"
-->
<param name="foo" value="bar"/>
</params>
<skinny>
<buttons>
<!--
position: 1..
type: one of line, speed-dial
label: button label
-->
<!--
value is the directory number (or user)
caller-name is shown to the calling party during call
-->
<button position="1" type="Line" label="Line 1" value="2001" caller-name="Calling as 2001"/>
<button position="3" type="Line" label="Shared Line 10" value="2010" caller-name="Calling as 2010"/>
<!--
value is the directory number to call
-->
<button position="5" type="SpeedDial" label="Test" value="2011"/>
<!--
value is the URL
-->
<button position="6" type="ServiceUrl" label="Some URL" value="http://phone-xml.berbee.com/menu.xml"/>
</buttons>
</skinny>
</user>
</include>
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
/opt/freeswitch/conf/directory/default/brian.xml /opt/freeswitch/conf/directory/default/brian.xml
/opt/freeswitch/conf/directory/default/default.xml /opt/freeswitch/conf/directory/default/default.xml
/opt/freeswitch/conf/directory/default/example.com.xml /opt/freeswitch/conf/directory/default/example.com.xml
/opt/freeswitch/conf/directory/default/skinny-example.xml
/opt/freeswitch/conf/directory/default.xml /opt/freeswitch/conf/directory/default.xml
/opt/freeswitch/conf/extensions.conf /opt/freeswitch/conf/extensions.conf
/opt/freeswitch/conf/freeswitch.xml /opt/freeswitch/conf/freeswitch.xml
......
...@@ -83,6 +83,7 @@ opt/freeswitch/conf/directory/default/1019.xml ...@@ -83,6 +83,7 @@ opt/freeswitch/conf/directory/default/1019.xml
opt/freeswitch/conf/directory/default/brian.xml opt/freeswitch/conf/directory/default/brian.xml
opt/freeswitch/conf/directory/default/default.xml opt/freeswitch/conf/directory/default/default.xml
opt/freeswitch/conf/directory/default/example.com.xml opt/freeswitch/conf/directory/default/example.com.xml
opt/freeswitch/conf/directory/default/skinny-example.xml
opt/freeswitch/conf/directory/default.xml opt/freeswitch/conf/directory/default.xml
opt/freeswitch/conf/extensions.conf opt/freeswitch/conf/extensions.conf
opt/freeswitch/conf/freeswitch.xml opt/freeswitch/conf/freeswitch.xml
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论