Summary:ASTERISK-17443: [patch] MixMonitor does not record FollowMe calls when "on bridge" flag set
Reporter:jeffery palmer (darren1713)Labels:
Date Opened:2011-02-20 23:40:32.000-0600Date Closed:2011-06-07 14:04:47
Versions:1.8.2 Frequency of
Environment:Attachments:( 0) freshdiff.diff
Description:When a outbound call is generated through FollowMe, using MixMonitor(file,b) never starts recording the call. Using MixMonitor(file) records the entire file.

I suspect the FollowMe app is bridging the call in a non traditional fashion and MixMonitor is not catching on.



exten => 123456789,n,Followme(XXXXXXXX)
exten => _1NXXNXXXXXX,1,MixMonitor(${UNIQUEID}_${CDR(accountcode)}.wav,b)
exten => _1NXXNXXXXXX,n,Dial(SIP/${EXTEN}@vitel-outbound)

Comments:By: jeffery palmer (darren1713) 2011-02-22 13:41:41.000-0600

As a side note, my intended behavior for MixMonitor + FollowMe is that only the audio is recorded after follow me successfully finds a recipient who presses 1.

Without the "on bridge" flag set on MixMonitor, the audio of every recipient, including ringing, is recorded. So if FollowMe has 10 recipients to dial, you get 10 audio files instead of just the winner.

Thanks guys.

By: Jonathan Rose (jrose) 2011-03-04 16:02:20.000-0600

Unfortunately Darren, the patch I just submitted won't quite fit your intended behaviour and the MixMonitor will start recording once whoever is dialled picks up the phone.  If you want MixMonitor to not start recording until confirmation is made, currently you have to engage the MixMonitor before you start FollowMe.

The new patch will make it record with the 'b' option on MixMonitor if you use an option of 'l' on FollowMe.

By: jeffery palmer (darren1713) 2011-03-04 16:06:54.000-0600

Thank you sir.

Running MixMonitor prior to FollowMe is no problem.

I did quite a bit of research in the inner workings of MixMonitor and Monitor last night, and did not come up with a clear difference between the two. It looks to me like Monitor is actually MixMonitor but deeper in the core of *.

Regardless, it is working properly!

Thanks again.