[macro-pause-recording]
exten => s,1,Verbose(Stopping Recording)
exten => s,n,StopMixMonitor()
[macro-unpause-recording]
exten => s,1,Verbose(Resuming Recording)
exten => s,n,MixMonitor(${REC_FILE_NAME},a)
StopMixMonitor => #00,peer/both,Macro(pause-recording)
MixMonitor => #01,peer/both,Macro(unpause-recording)