group examples
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10918 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ed100f44ea
commit
a66645c55d
|
@ -240,6 +240,24 @@
|
|||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="group_dial_sales">
|
||||
<condition field="destination_number" expression="^2000$">
|
||||
<action application="bridge" data="group/sales@${domain_name}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="group_dial_support">
|
||||
<condition field="destination_number" expression="^2001$">
|
||||
<action application="bridge" data="group/support@${domain_name}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<extension name="group_dial_billing">
|
||||
<condition field="destination_number" expression="^2002$">
|
||||
<action application="bridge" data="group/billing@${domain_name}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<!-- voicemail operator extension -->
|
||||
<extension name="operator">
|
||||
<condition field="destination_number" expression="^operator$|^0$">
|
||||
|
|
|
@ -31,7 +31,43 @@
|
|||
<variable name="transfer_fallback_extension" value="operator"/>
|
||||
</variables>
|
||||
|
||||
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
|
||||
<groups>
|
||||
<group name="default">
|
||||
<users>
|
||||
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
|
||||
</users>
|
||||
</group>
|
||||
|
||||
<group name="sales">
|
||||
<users>
|
||||
<user id="1000" type="pointer"/>
|
||||
<user id="1001" type="pointer"/>
|
||||
<user id="1002" type="pointer"/>
|
||||
<user id="1003" type="pointer"/>
|
||||
<user id="1004" type="pointer"/>
|
||||
</users>
|
||||
</group>
|
||||
|
||||
<group name="billing">
|
||||
<users>
|
||||
<user id="1005" type="pointer"/>
|
||||
<user id="1006" type="pointer"/>
|
||||
<user id="1007" type="pointer"/>
|
||||
<user id="1008" type="pointer"/>
|
||||
<user id="1009" type="pointer"/>
|
||||
</users>
|
||||
</group>
|
||||
|
||||
<group name="support">
|
||||
<users>
|
||||
<user id="1010" type="pointer"/>
|
||||
<user id="1011" type="pointer"/>
|
||||
<user id="1012" type="pointer"/>
|
||||
<user id="1013" type="pointer"/>
|
||||
<user id="1014" type="pointer"/>
|
||||
</users>
|
||||
</group>
|
||||
</groups>
|
||||
|
||||
</domain>
|
||||
</include>
|
||||
|
|
Loading…
Reference in New Issue