OK, I will look a the code and try to add an option to skip storing cdrs for failed dialogs with the first chance.
Cheers, Daniel
On 02/04/15 15:02, Mickael Marrache wrote:
Yes, the duration is set to 0.
*From:*sr-users [mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Daniel-Constantin Mierla *Sent:* Thursday, April 02, 2015 3:59 PM *To:* Kamailio (SER) - Users Mailing List *Subject:* Re: [SR-Users] Dialog based CDRs and failed dialogs
Hello,
On 02/04/15 14:36, Mickael Marrache wrote:
Hi, I'm using the ACC module to generate dialog based CDRs and I see that CDRs are generated even for failed calls. For example, a CDR is generated for cancelled calls. At first, I thought that dialog based CDRs are generated only for successfully established dialogs but it doesn't seem to be the case.
at least, is the duration 0?
I didn't have time to look in the source yet, but I guess it won't be hard to add an option to skip storing those records.
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda http://twitter.com/#%21/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com