[Asterisk-Dev] masquerade and ZOMBIE problem and question

Sergio Chersovani mlists at c-net.it
Wed Oct 26 13:54:46 MST 2005


Kevin P. Fleming ha scritto:

> Sergio Chersovani wrote:
>
>> uhm, well I will take a closer look to the code, but I really don't 
>> see where the ast_channel_free is called when the channel goes ZOMBIE 
>> in the "else" statement of the ast_do_masquerade
>
>
> It's not. It's done by the top-level caller of ast_read(), after 
> ast_read() returns NULL to it signifying that the channel is dead. It 
> may even be done by the function that called _it_... you have to work 
> your way all the way up the chain.

I understand, but the clone channel is created in the ast_do_masquerade 
so I see no reason to keep it up even if marked as ZOMBIE.

well I need to take a closer look to the code :-)

Sergio



More information about the asterisk-dev mailing list