I don't manage it so it's through the dialplan ... Even so it's useless to
try to decrease it through an API call ?

Le ven. 1 oct. 2021 à 15:37, Joshua C. Colp <jc...@sangoma.com> a écrit :

> On Fri, Oct 1, 2021 at 10:35 AM Killian Matter <matter.kill...@gmail.com>
> wrote:
>
>> 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
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to