[asterisk-dev] Please reopen bug #13409
Daniel Ferrer
daniel at ipcontact.com.uy
Fri Sep 5 10:09:51 CDT 2008
Perfect, I didn't notice function ast_cdr_discard(), and in my patch I
used ast_cdr_free(), but getting ugly messages "CDR on channel xxx lacks
end", that I didn't find a good way to avoid.
I'll test it today on our PBX.
Thanks!
bye
daniel
Steve Murphy escribió:
> On Thu, 2008-09-04 at 18:36 -0300, Daniel Ferrer wrote:
>> I tested today 1.4.22-rc3, as I see it includes patch for issue #13409.
>>
>> This patch is causing me CDR problems, I use cdr_mysql (from addons
>> package) as backend, and in a normal call A->B, this patch causes to
>> post the CDR twice, giving me a constraint key violation (uniqueid is
>> primary key in cdr table).
>>
>> Can you reopen this? I've a slighty modified patch that calls also
>> ast_cdr_detach but doesn't post a new cdr. I cannot post it or write a
>> note to this issue because it is in 'fixed' state.
>>
>> thanks
>> bye
>>
>
> Daniel--
>
> I have verified that detaching the CDR's was not a good idea. I opted
> to call instead the routine "ast_cdr_discard" in the previous patch,
> which will silently free the CDR. I have committed this fix to 1.4,
> trunk, 1.6.0, and 1.6.1; via versions 141156, 141157, 141158, and
> 141159,
> respectively.
>
> Try it out and let me know if there are any problems. I've run testing
> on the code both before and after the fix, and this seems to work as
> one would expect.
>
> murf
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
--
Ing. Daniel Ferrer
IPContact Software S.R.L.
(+5982) 4025420
More information about the asterisk-dev
mailing list