Files
fusionpbx/app/dialplans/resources/switch/conf/dialplan/200_agent_status.xml
T
konradSC 65ebdf38ac Update BLF for agents when making changes in the GUI. Also use BLF as a speed dial for login/logout. (#3949)
* Create call_center_notify.php

Function for sending BLF notify to ELS.

* Update call_center_agent_status.php

* Update 200_agent_status.xml

* Update 200_agent_status.xml
2018-12-25 22:25:24 -07:00

12 lines
527 B
XML

<context name="{v_context}">
<extension name="agent_status" number="*22" continue="false" app_uuid="2eb032c5-c79d-4096-ac90-8a47fe40f411">
<condition field="destination_number" expression="^\*22$" break="never">
<action application="set" data="agent_id=${sip_from_user}"/>
</condition>
<condition field="destination_number" expression="^(agent\+)(.*)$">
<action application="set" data="agent_id=${sip_from_user}"/>
<action application="lua" data="app.lua agent_status"/>
</condition>
</extension>
</context>