[click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route (#5974)

* [click_to_call] fix Call-Info header set on bleg and move dialplan order before outbound route

* Update and rename 530_click_to_call_auto_answer.xml to 25_click_to_call_auto_answer.xml
This commit is contained in:
agree
2021-10-14 02:44:10 -04:00
committed by GitHub
parent f9f730024c
commit 1fb6878734

View File

@@ -1,8 +1,8 @@
<context name="{v_context}">
<extension name="clear_sip_auto_answer" app_uuid="90c51470-dc31-11e3-9c1a-0800200c9a66" continue="true" order="530">
<extension name="clear_sip_auto_answer" app_uuid="90c51470-dc31-11e3-9c1a-0800200c9a66" continue="true" order="25">
<condition field="${click_to_call}" expression="true" />
<condition field="${sip_h_Call-Info}" expression="answer-after=0" >
<action application="unset" data="sip_h_Call-Info" />
<action application="export" data="sip_h_Call-Info="/>
</condition>
</extension>
</context>