<div dir="ltr"><div dir="ltr">On Fri, Oct 1, 2021 at 10:35 AM Killian Matter <<a href="mailto:matter.killian@gmail.com">matter.killian@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello !<div dir="auto">I wanted to ask, is there a way to put the use count of my custom module to 0 so that it's possible to unload without forcing ? </div><div dir="auto"><br></div><div dir="auto">Becaus once I've made a call, impossible to unload cause use count isn't 0.<br></div></div></blockquote><div><br></div><div>There's not really enough information in your query. It depends how the use count is being managed. If you're managing it, then it's up to you to use the API to decrement it. If something else is managing it (for example the PBX core if it's a dialplan application) then you can't force that - it will happen automatically when it's no longer in use. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>