Conversation Record Prematurely
I have following line in a context:
… exten => _587NXXXXXX,n,Set(recordfilename=${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},MST,%C%y-%m-%d-%H%M)}.wav)
exten => _587NXXXXXX,n,MixMonitor(${recordfilename},b)
…
It records the conversation but it ends prematurely, after 10min. Why?
Where is the setting to records until a user hangup the handset.
3 thoughts on - Conversation Record Prematurely
Without further information the only reason I could see would be the
‘b’ option in use for MixMonitor. If the channels were no longer bridged it would stop recording. That is according to the documentation.. which every once in a while is wrong. Other than that, it should record as long as the channel is bridged.
Can you pastebin a log showing that particular call?[1]
[1]: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
How do I find out/verify if “b” option is used with “MixMonitor”?
I’ll try to set the debugger on this one.
In the help text for an application you’ll find the available arguments and options.
On the Asterisk CLI you can view an application’s help text with “core show application“. You might be interested in checking out a wiki page (on this same subject) I added recently.[1]
In addition, the help text for applications, functions and more gets added onto the wiki by scripts.[2]
[1]: https://wiki.asterisk.org/wiki/display/AST/CLI+Syntax+and+Help+Commands
[2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Command+Reference