Hello, I have a question for [1] config function.

Can I extend it to work with INTs too? e.g. if pv not NULL and INT flag, return 1. This would help, because one won't need to know the type of the pvar beforehand, for using this function.

Or is it meant to be used only with string pv only?


[1] https://www.kamailio.org/docs/modules/devel/modules/pv.html#pv.f.not_empty


Thank you,
Stefan