- ast_channel_lock(chan); + while(ast_channel_trylock(chan));