Skinny: add example dialplan and directory config
This commit is contained in:
parent
e66e9fa878
commit
1bfcc17e54
|
@ -268,6 +268,12 @@
|
|||
</condition>
|
||||
</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">
|
||||
<condition field="destination_number" expression="^2000$">
|
||||
<action application="bridge" data="${group_call(sales@${domain_name})}"/>
|
||||
|
|
|
@ -4,5 +4,10 @@
|
|||
<action application="skinny-route"/>
|
||||
</condition>
|
||||
</extension>
|
||||
<extension name="Local_Extension_Skinny">
|
||||
<condition field="destination_number" expression="^(20[01][0-9])$">
|
||||
<action application="skinny-route"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</include>
|
||||
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
<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 @@
|
|||
/opt/freeswitch/conf/directory/default/brian.xml
|
||||
/opt/freeswitch/conf/directory/default/default.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/extensions.conf
|
||||
/opt/freeswitch/conf/freeswitch.xml
|
||||
|
|
|
@ -83,6 +83,7 @@ opt/freeswitch/conf/directory/default/1019.xml
|
|||
opt/freeswitch/conf/directory/default/brian.xml
|
||||
opt/freeswitch/conf/directory/default/default.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/extensions.conf
|
||||
opt/freeswitch/conf/freeswitch.xml
|
||||
|
|
Loading…
Reference in New Issue