I set in my dialplan in context default via xml in extension TOD the variable office_status:
Is it possible to set the variable office_status for context default via fs_cli
Something like this:
I want set the variable office_closed for context default via commandexecution on linux.
it would be like:
But i want it for context default, not global.
XML:
<include>
<context name="default">
<extension name="TOD" continue="true">
<condition wday="2-6" hour="8-12" break="never">
<action application="set" data="office_status=open" inline="true"/>
<anti-action application="set" data="office_status=closed" inline="true"/>
</condition>
</extension>
</context>
</include>
Is it possible to set the variable office_status for context default via fs_cli
Something like this:
Code:
fs_cli -x "set office_status=closed"
I want set the variable office_closed for context default via commandexecution on linux.
it would be like:
Code:
fs_cli -x "global_setvar office_status=closed"
But i want it for context default, not global.
Last edited: