[Asterisk-Dev] masquerade and ZOMBIE problem and question

Kevin P. Fleming kpfleming at digium.com
Wed Oct 26 13:49:01 MST 2005


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.



More information about the asterisk-dev mailing list