[Kamailio-Devel] Extra accounting crashes Kamailio 1.4.4

Daniel-Constantin Mierla miconda at gmail.com
Wed May 20 22:21:01 CEST 2009


Hello,

I made a patch that copies the message to pkg for acc events. Can you 
give it a try and if everything goes ok I will commit to svn.

Thanks,
Daniel

On 05/20/2009 11:04 AM, Robin Vleij wrote:
> Daniel-Constantin Mierla wrote:
>
> Hi Daniel!
>
>   
>> at first sight, the fix you pointed just adds the condition to do the
>> clean up only on 'response out' callbacks and will probably fix the acc
>> that happens on respective event. But if there are other callbacks that
>> do header parsing and access, will still result in crash.
>>     
>
> Oh, that's not that good. And if I understand right this only happens at
>  retransmits, right? Was that the bug that resulted in my core?
>
>   
>> A proper fix would be to use a private copy of uas request in callbacks
>> instead the shared version from transaction.
>>     
>
> Okay. :) That doesn't mean anything at all to me. How would I do that? I
> mean, will there be a fix in the official trunk? Ofcourse I can apply
> some fixes that I see on some site in opensips, but I don't have a full
> 100% understanding of what I'm doing, since I don't know the rest of the
> code.
>
> Does anyone know when this problem was introduced? Maybe it's smarter to
> downgrade since it's a pretty big problem for me if my stuff crashes. :)
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: acc-uas-to-pkg.patch
Type: text/x-patch
Size: 1733 bytes
Desc: not available
Url : http://lists.kamailio.org/pipermail/devel/attachments/20090520/3c518f7b/attachment.bin 


More information about the Devel mailing list