mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove an unconventional memory leak hash with an different name every time and value will take up more and more memory. It was used to do intercept or eavesdrop by I found a better way to get the uuid on demand. Also remove call debug I saw it only as an example that isn't used and can learned from the freeswitch wiki.
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="global" continue="true" app_uuid="34dd307b-fffe-4ead-990c-3d070e288126">
|
||||
<condition field="${call_debug}" expression="^true$" break="never">
|
||||
<action application="info"/>
|
||||
</condition>
|
||||
<condition>
|
||||
<action application="hash" data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
|
||||
<action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>
|
||||
<action application="hash" data="insert/${domain_name}-last_dial/global/${uuid}"/>
|
||||
<action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
Reference in New Issue
Block a user