On 02.08.17 11:06, Yu Boot wrote:
31.07.2017 17:35, Daniel-Constantin Mierla пишет:
On 31.07.17 13:18, Yu Boot wrote:
How to make Kamailio write "normal"
CDRs?
Can you provide more details about what you consider a 'normal' CDR?
It
is hard to guess what you expect here.
Like Asterisk/FS/Yate one :)
Many here never did CDRs with something these apps
...
sourceIP (detected with NAT), callerID number, destIP(detected with
NAT), called number, startdate, starttime, duration, release_code
See the acc module -- you have the option to get START and STOP records
for each call, or if you use dialog module, you can get one CDR.
For the first option, you need to aggregate START and STOP, one option
is via a stored procedure -- for example, siremis does something like
this, see:
-
https://kb.asipto.com/siremis:install40x:accounting
-
https://github.com/asipto/siremis/blob/master/siremis/modules/sipadmin/mod.…
[...]
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com