Files
freeswitch/src/mod/endpoints/mod_khomp/examples/intercept.xml
T
Geovani Ricardo Wiedenhoft 5df1683c38 - Notifies the pre_answer
- Dialplan examples
- New version of commons
- Priority of contexts
- New K3L install script - getk3l.sh
- CLI return in XML
- More options in GET and SET commands
- Events (ESL) to send/receive SMS.
- fax-adjustment-timeout implemented
- accountcode and language
- Owner destroy
- Destroy wait for resources release
- static const expression
- Hangup cause
2010-12-01 16:40:35 -02:00

27 lines
877 B
XML

<include>
<!-- ########################### FXS Context ############################### -->
<context name="khomp-fxs-00">
<extension name="main">
<condition field="destination_number" expression="^(\d{4})$">
<action application="set" data="called_party_callgroup=1"/>
<action application="db" data="insert/last_dial/${called_party_callgroup}/${uuid}"/>
<action application="bridge" data="khomp/r$1"/>
</condition>
</extension>
<extension name="intercept">
<condition field="destination_number" expression="^55$">
<action application="answer"/>
<action application="set" data="intercept_unbridged_only=true"/>
<action application="intercept" data="${db(select/last_dial/1)}"/>
</condition>
</extension>
</context>
<!-- ####################################################################### -->
</include>