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