Yate Community Forum
Yate server => Other Yate server issues => Topic started by: dedulka on May 20, 2015, 10:48:22 PM
-
Good day! Tell me, please, in Yate configure recording of all calls? Internal and external. All documents scanned, but the answer is not found. Thank you
-
Hi, dedulka!
You are not closely watched in the archive maillists!
See my variant:
Piece from regexroute.conf
[extra]
call.cdr=120,operation
...
[call.cdr]
initialize=echo Start call ${chan} '${caller}' -> '${called}' coming from ${address} with context of ${context}
finalize=echo Finished call ${chan} '${caller}' -> '${called}' duration ${duration}'s with context of ${context}
update=if ${status}^answered$=if ${direction}^incoming$=goto r-answer
...
[r-answer]
.*=echo Answer call ${chan}, '${caller}' -> '${called}', duration of ring ${duration}'s, with context of ${context}
.*=;rec=wave/record//tmp/rec-${caller}-${called}-${billid}
.*=enqueue chan.masquerade;message=chan.record;id=${chan};call=${rec}-A.au;peer=${rec}-B.au
Good luck !
-
I'm also interested in this feature.
I don't really understand cc08's reply though.
Is he saying that in order to record all calls in Yate one simply has to use the code he posted in regexroute.conf?
Can anyone offer a more detailed explanation as to what exactly I have to do?
Cheers,
Peter
-
See
http://docs.yate.ro/wiki/Chan.record
To record a call leg you must send this message from regexroute (or some script you may write).
When to send this message is up to you.
cc08 does this when the call is answered.
-
Thanks,
That answered my question.
Cheers,
Peter
-
Hi
Is there any option to record all the calls by using external module in a single Wav file with every channel voice.?
Also as i found this perl file but there is a problem to execute this file and don't know what is the procedure to configure this perl file on yate.
https://gist.github.com/vir/b1a868ef1d4aa5239064/raw/cbbefce066148485dc0db7d02467b79c2fcf9356/record_all_calls.pl
-
I got empty files in temp folder and
2017-10-20_15:28:50.427852 <WARN> DataTranslator::attachChain [0x7fab8400b350] 'gsm' -> [0x7fabbc012a50] 'slin' failed
2017-10-20_15:28:50.427933 <WARN> DataTranslator::attachChain [0x7fabc40017a0] 'gsm' -> [0x7fabbc012c10] 'slin' failed
in the yate console. Can anyone help me to fix this?
-
gsm codec is not available
It is implemented in gsmcodec.yate module
-
fixed, thanks
-
i successfully recorded calls
but before restart my PC, record files automatically deleted
how can i fix this error?
-
Yate does not delete any recordings.
Check the location you are saving the files: it may be temporary directory cleaned by the OS or a directory mapped into memory whose contents are lost on reboot.