Hi,<br>
you can solve this problem by using ast_mutex_lock function.<br>
may be solve your problem.<br>
Bhrugu<br>