For int, it returns -1, if it sees the INT flag.
I think of the following behavior:
if it sees the INT flag and pv is NULL, return -1; else, return 1;
_______________________________________________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
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org