automixmonfeature. This feature is built into Asterisk. You just have to enable it in a couple of configuration files. First, set the
features.confto the key sequence you would like to use for enabling or disabling recording:
[featuremap] automixmon = *3
Now that the key sequence has been set, you must modify extensions.conf to allow callers to use this feature. This is done by setting the
Xoptions in the
; ; When someone calls my extension, dial my phone and give ; me the ability to enable recording on the fly. ; exten => 7001,1,Dial(SIP/myphone,30,x)
featuremapsection of features.conf has some other features that are configured and enabled in this same manner. You configure the key sequence for the feature in features.conf and then enable the feature on a per-call basis using arguments to the
Queue()applications. Here is a list of all of the features in the
MixMonitor()application. Enable it using the
Monitor()application. We recommend using the
automixmonfeature instead of this one unless you have a specific need for using
MixMonitor(). Enable this feature by specifying the
Learn more about this topic from Asterisk Cookbook.
Asterisk has a wealth of features to help you customize your PBX to fill very specific business needs. This short cookbook offers recipes for tackling dialplan fundamentals, making and controlling calls, and monitoring channels in your PBX environment. Each recipe includes a simple code solution you can put to work immediately, along with a detailed discussion that offers insight into why and how the recipe works.