Hello. To limit amount of total concurrent calls in a specific domain, including internal calls, I have tried the code attached below.
It works very well, but I don't know if it is the most correct way to perform this task. I would appreciate if someone gives me their opinion on this.
<extension name="call-limit" continue="true" uuid="xxxxxxxxxxxxxxxxxxxxxxxxxxx">
<condition field="context" expression="subdominio.dominio.com">
<action application="limit" data="hash inbound ${domain_uuid} ${max_calls} !USER_BUSY"/>
</condition>
</extension>
It works very well, but I don't know if it is the most correct way to perform this task. I would appreciate if someone gives me their opinion on this.
<extension name="call-limit" continue="true" uuid="xxxxxxxxxxxxxxxxxxxxxxxxxxx">
<condition field="context" expression="subdominio.dominio.com">
<action application="limit" data="hash inbound ${domain_uuid} ${max_calls} !USER_BUSY"/>
</condition>
</extension>