ivanuschak left a comment (kamailio/kamailio#4258)
@miconda please take a look at the configuration in [this issue](https://github.com/kamailio/kamailio/issues/4257). Yes avp is allocated within `allow_address` function of the `permissions` module. This allocation occurs within `slow timer` process, which does not call avp release functions, so avp is allocated every time when the execution goes through `event_route[siptrace:msg]`. As an another solution I tried to change avp type in permissions module to `AVP_CLASS_GLOBAL`, but it did not help. I'd appreciate if you adviced on a better solution, because the current one does not seem to be perfect.