[asterisk-dev] Use count

Joshua C. Colp jcolp at sangoma.com
Fri Oct 1 08:36:55 CDT 2021

On Fri, Oct 1, 2021 at 10:35 AM Killian Matter <matter.killian at gmail.com>

> Hello !
> 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 ?
> Becaus once I've made a call, impossible to unload cause use count isn't 0.

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.

Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20211001/3e187077/attachment.html>

More information about the asterisk-dev mailing list