Is there a way to pause in the middle of recording? (similar to ControlPlayback)


#1

Is there a way to pause in the middle of recording? I am using a custom dialplan (see below). I know you can pause playback use ControlPlayback, is there something similar to that for recording?

Thank you

[test]
exten => s,1,Wait(2)
exten => s,2,Authenticate(1234) 
exten => s,3,Record(/tmp/202:gsm)
exten => s,4,Wait(2)
exten => s,5,Playback(/tmp/202)
exten => s,6,Wait(2)
exten => s,7,Hangup

(Emilio) #2

I don’t know much about it. But always interested in learning new things.


(Dave Burgess) #3

We were talking about this in the VoiceMail context last week and there wasn’t anything thing in there that would do what you’re talking about. On the other hand, the Transcription Interface should have something, so maybe you could drop your recording onto that system and make yourself a chimera…


#4

From

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Record

Perhaps you could stop recording (with # or something else you choose), then can append to the same file you started with with -a .
Add a “featurecode” to an “applicationmap” to coincide with the -a choice.