[asterisk-dev] Help, can't get out of while loop

Killian Matter matter.killian at gmail.com
Thu Jan 14 02:00:17 CST 2021


Hello ,

I'm developing a module on asterisk, while debugging i've come across a
problem I don't quite understand.
I'm using a noise filter, at the end of the call I stop my filter , so
clean up everything, detach the audiohook and there is the problem. It's
stuck in the while loop in *ast_audiohook_detach*.
As far as I understand, to detach audiohook, the status should not be *NEW*
nor *DONE*, then it's update its status to *SHUTDOWN* which will then put
it to *DONE*, so why does it get stuck in the while loop and don't update
it's status to *DONE* ?

Thank you in advance for your help.
K.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20210114/785eae43/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.PNG
Type: image/png
Size: 83376 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20210114/785eae43/attachment-0001.png>


More information about the asterisk-dev mailing list