I am running Asterisk 20.4.0 and trying to use AMI.
I can successfully generate the call using originate action. Now, I want to use below two features :
Mute/Unmute
When I have a call connected between two channels, I want to put a caller leg A on Mute using AMI. After a some I want to unmute the same channel and the caller and callee can communicate with each other.
I cant find a way to do it as asterisk 20.x has no AMI action like MuteAudio. I tried with Redirect Action but in that the other channel just hangs up.
The res_mutestream module should be loaded. It can be confirmed by doing âmodule show like muteâ in the Asterisk console. If it is not loaded it can be done manually using âmodule load res_mutestream.soâ and then youâd have to investigate why it wasnât loaded originally, such as examining modules.conf to see if only certain modules are loaded.
sip/8002 is a dialstring, not a channel. The action requires a channel. It is possible for SIP peer 8002 to have multiple channels open to it (in fact that is normal during an attended transfer).
Also note that SIP/ will cease to be valid in the next release of Asterisk, due in just over two months. Support will no longer be optional; it wonât exist.