What is good to use Mixmonitor/Chanspy/monitor for individual recording

Hi,
Please suggest solution for individual participant recordings.
In our scenario, during group discussion, participant(student) will press 1 for unmute for two minutes to share their query. We need that specific users recording only(not conference) during conf discussion. pls guide what is good to use mixmonitor/chanspy/monitor with detailed command.

confbridge.conf
1=dialplan_exec(addaudio22,77777,1)
2=dialplan_exec(addaudio11,77777,1)

extensions.conf
[addaudio22]
exten => 77777,1,Playback(beep)
exten => 77777,n,System(echo -e “asterisk -x ‘confbridge mute ${CONFERENCEROOM} ${CHANNEL}’” > /root/Log/script2/${CALLER_ID}.sh)
;exten => 77777,n,MixMonitor(${CALLERID(num)}-${STRFTIME(|EST5EDT|%m%d%Y-%H%M%S)}.wav)
;exten => 77777,n,ChanSpy(${CHANNEL},oqSx(#)r(REC-chanspy1))
exten => 77777,n,System(asterisk -x ‘confbridge unmute ${CONFERENCEROOM} ${CHANNEL}’)

Your ChanSpy() invocation arguments seem fairly reasonable, maybe drop the x(#), but it looks like what will happen above is that you’ll start the recording and never stop. Not sure about the script2 either…

You might want to use your posted dialplan in a wrapper that gets executed separately via Originate() application eg.

confbridge.conf
1=dialplan_exec(addaudio22,77777,1)
2=dialplan_exec(addaudio11,77777,1)
3=dialplan_exec(addaudio33,77777,1)

extensions.conf
[addaudio22]
exten => 77777,1,Playback(beep)
exten => 77777,n,System(echo -e “asterisk -x ‘confbridge mute ${CONFERENCEROOM} ${spiedchan}’” > /root/Log/script2/${spiedcidnum}}.sh)
exten => 77777,n,ChanSpy(${spiedchan},oqSx(#)r(REC-chanspy1-${spiedcidnum}-${EPOCH}))
exten => 77777,n,System(asterisk -x ‘confbridge unmute ${CONFERENCEROOM} ${spiedchan}’)

[addaudio33]
exten => 77777,1,Playback(beep)
exten => 77777,n,Originate(Local/77777@addaudio22,exten,addaudio44,77777,1,120,av(spiedcidnum=${CALLERID(num)}^spiedchan=${CHANNEL}))

[addaudio44]
exten => 77777,1,Answer()
exten => 77777,n,Wait(120)
exten => 77777,n,Hangup()

Thanks you @penguinpbx for your reply.
after a long time you reverted and suggested my post.

will review your suggestion and let you know result.

Hello @penguinpbx
Here I am giving you brief.

As informed , in our education system, we only need 2 minutes unmute for speak for students, for that we are using at command for schedule. After 2 minutes student mute again, we are using this script for last one year and working. conference recordings is working but we need individual recording to trace any wrong activity. I am sharing dialplan , hope you understood our requirement. I have reviewed your dialplan but it seems that it may stuck on ChapSpy command.

[addaudio22]
exten => 77777,1,Playback(beep)
exten => 77777,n,set(dgtcallerid=${CALLER_ID})
exten => 77777,n,System(echo -e “asterisk -x ‘confbridge mute ${CONFERENCEROOM} ${CHANNEL}’” > /root/Log/script2/${CALLER_ID}.sh)
exten => 77777,n,System(/usr/bin/at now +2 minutes -f /root/Log/script2/${CALLER_ID}.sh)
;exten => 77777,n,Monitor(wav,confrecord_test,mb)
;exten => 77777,n,MixMonitor(${CALLERID(num)}-${STRFTIME(|EST5EDT|%m%d%Y-%H%M%S)}.wav)
;exten => 77777,n,ChanSpy(${CHANNEL},oqSx(#)r(REC-chanspy1))
exten => 77777,n,System(asterisk -x ‘confbridge unmute ${CONFERENCEROOM} ${CHANNEL}’)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.