Yate server > Other Yate server issues
Record all call
dedulka:
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
cc08:
Hi, dedulka!
You are not closely watched in the archive maillists!
See my variant:
Piece from regexroute.conf
--- Code: ---[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
--- End code ---
Good luck !
peter_v:
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
marian:
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.
peter_v:
Thanks,
That answered my question.
Cheers,
Peter
Navigation
[0] Message Index
[#] Next page
Go to full version