Skip to main content

mod_dptools: mutex

About

Block on a call flow only allowing one at a time.

Click here to expand Table of Contents

Usage

mutex <keyname> [on|off]

Examples

<extension name="mutex_example">                                                                                                                            
<condition field="destination_number" expression="^5000$">
<action application="set" data="mutex_feedback=$${us-ring}"/>
<action application="set" data="execute_on_post_originate=mutex $destination_number off "/>
<action application="mutex" data="$destination_number on"/>
<action application="bridge" data="group/$destination_number"/>
</condition>
</extension>

See Also