2013-08-26 22:36:43 +02:00
|
|
|
<context name="{v_context}">
|
2019-10-18 20:16:40 +02:00
|
|
|
<extension name="group-intercept" number="*8" continue="false" app_uuid="15332e83-12f5-44d3-8472-633736eb4b9b" order="230">
|
2017-10-26 16:56:37 +02:00
|
|
|
<condition field="destination_number" expression="^\*8$"/>
|
|
|
|
|
<!-- if it is call from another node then needed UUID already in sip header -->
|
|
|
|
|
<!-- So we can just do intercept without calling Lua script again on current node -->
|
|
|
|
|
<condition field="${sip_h_X-intercept_uuid}" expression="^(.+)$" break="on-true">
|
|
|
|
|
<action application="intercept" data="$1"/>
|
|
|
|
|
</condition>
|
|
|
|
|
<condition>
|
2013-08-26 22:36:43 +02:00
|
|
|
<action application="answer"/>
|
2018-11-29 18:18:19 +01:00
|
|
|
<action application="lua" data="intercept_group.lua inbound"/>
|
2013-08-26 22:36:43 +02:00
|
|
|
</condition>
|
|
|
|
|
</extension>
|
2018-11-29 18:18:19 +01:00
|
|
|
</context>
|