[SR-Users] generating cdrs
Timo Reimann
sr at foo-lounge.de
Mon Apr 23 17:15:03 CEST 2012
Hey Pirjo,
sorry for the delay!
Am 20.04.2012 um 20:05 schrieb Pirjo Ahvenainen:
> That would sort of make sense... Although, 'kamdbctl create' generates
> cdrs table along with all others, why have a table (+ 3.2
> documentation), with nothing to populate that table in code?
I cannot find any instances of the word "cdr" in any file of the util/kamctl and lib/ directories. Are you sure that there are CDR-related tables being created with that script?
With regards to the acc documentation, there's no mentioning of any database storage as far as I can tell. I wrote the original piece of documentation, so unless someone has extended the code base and updated the docs there shouldn't be any reference (yet) to the feature you desire. What the original CDR-generating implementation allowed you to do was to create a syslog-based stream of CDRs similar to how transaction logging works in the acc module. Pumping that CDR stream into a database had to be done via an external process, however.
Cheers,
--Timo
> 20. huhtikuuta 2012 20.48 Timo Reimann <sr at foo-lounge.de> kirjoitti:
>> Hey Pirjo,
>>
>>
>> Am 20.04.2012 um 15:21 schrieb Pirjo Ahvenainen:
>>> Hi Karsten,
>>>
>>> Thanks for the tip, I do have that defined but no cdrs.
>>>
>>> cheers,
>>> Pirjo
>>
>> I haven't looked at the acc module in quite a while but to my knowledge, direct-to-DB storage of CDRs is still in the making. The second to last commit messages by Sven Knoblich (7b4567) mentions that the patch is "necessary for the upcoming db-storage of cdr's."
>>
>>
>> HTH,
>>
>> --Timo
>>
>>
>>
>>> 20. huhtikuuta 2012 16.15 Karsten Horsmann <khorsmann at gmail.com> kirjoitti:
>>>> Hi Pirijo,
>>>>
>>>> try
>>>>
>>>> #!define WITH_ACCDB
>>>>
>>>> in your kamailio.cfg
>>>>
>>>>
>>>> --
>>>> Mit freundlichen Grüßen
>>>> *Karsten Horsmann*
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>>
>>> --
>>>
>>> --
>>> Pirjo Ahvenainen
>>> +35844 559 7729
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
>
> --
>
> --
> Pirjo Ahvenainen
> +35844 559 7729
More information about the sr-users
mailing list