The music on hold (on a mixing bridge) stops automatically whenever asterisk implicitly stops the recording (due to no audio available or silence in the bridge). This seems to occur because the bridge transitions from softmix technology to simple_bridge whenever asterisk stops the recording.
What is the possible solution to fix it? Or any other alternative approach?
Step1) Created mixing bridge: 72b7edd9a8b1d5250b50bcbdb9210526 (Line no.3)
Step2) Created new PJSIP channel (Line no.558)
Step3) Added PJSIP channel 64a47eb1ff499d8b3c725902b172ba19 to the bridge (Line no.1058)
Recording started (Recorder added to the bridge) (Line no.1195)
Music on hold started (Moh channel added to the bridge) (Line no.1734)
…
After some time
…
Step4) PJSIP channel 64a47eb1ff499d8b3c725902b172ba19 removed from the mixing bridge (Line no.7113)
Recorder channel left the bridge (Line no.7131)
Moh channel left the bridge (Line no.7154)
I see, so you’re expecting it to record the music on hold because no other channel is there. Do you have a sample that reproduces it so if someone chooses to work on it they can easily test?