Use the domain_name as the context

This commit is contained in:
FusionPBX 2025-01-03 09:01:03 -07:00 committed by GitHub
parent eb7645772a
commit 5e8271ecc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<extension name="operator-forward" number="*000" context="${domain_name}" continue="false" app_uuid="a90d3639-3b82-4905-a65d-85f58b6c4a19" enabled="true" order="485">
<condition field="destination_number" expression="^\*000$" >
<action application="set" data="dial_string=loopback/operator/${context}/XML" />
<action application="set" data="dial_string=loopback/operator/${domain_name}/XML" />
<action application="set" data="direction=both" />
<action application="set" data="extension=true" />
<action application="lua" data="dial_string.lua" />