Reply To: RE: pause/resume call recording

VitalPBX Community Support General Discussion pause/resume call recording Reply To: RE: pause/resume call recording


    hi mrivera


    think i have it working

    had to change  entries in features__10-application-map.conf from “both” to “self” , then dumpchan shows the mixmonitor_filename variable and i can use in the pause/resume macros.


    InPauseMonitor => #2,self/both,Macro(recpause),recording-disabled
    InUnpauseMonitor => #3,self/both,Macro(recunpause),recording-disabled

    exten => s,1,Playback(/var/lib/asterisk/sounds/en/beep)
    exten => s,n,dumpchan()
    exten => s,n,NoOP(Call file name MIXMon file ${MIXMONITOR_FILENAME})
    exten => s,n,Noop(“pause code pressed”)
    exten => s,n,StopMixMonitor()

    exten => s,1,Playback(/var/lib/asterisk/sounds/en/beep)
    exten => s,n,Playback(/var/lib/asterisk/sounds/en/beep)
    exten => s,n,dumpchan()
    exten => s,n,Noop(“resume code pressed”)
    exten => s,n,Noop(rec file = ${MIXMONITOR_FILENAME})
    exten => s,n,MixMonitor(${MIXMONITOR_FILENAME},a,${MIXMON_POST})