After upgrading to 5.0.0, I've found that using an IPv6 range such as

is_in_subnet("$si", "2001:db8::/32"))

no longer works. In fact, the script just terminates without error or response:

ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1150 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1148 a=25 n=is_method
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1160 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1150 a=41 n=isflagset
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1151 a=25 n=setbflag
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1164 a=16 n=if
ERROR: *** cfgtrace:request_route=[REGISTRAR] c=[/etc/kamailio/kamailio.cfg] l=1160 a=26 n=is_in_subnet
DEBUG: <core> [core/receive.c:275]: receive_msg(): request-route executed in: 1240 usec
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list 0x7f5860b8e778
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/usr_avp.c:631]: destroy_avp_list(): destroying list (nil)
DEBUG: <core> [core/xavp.c:446]: xavp_destroy_list(): destroying xavp list (nil)
DEBUG: <core> [core/receive.c:368]: receive_msg(): cleaning up

If I remove the IPv6 range from the is_in_subnet function, things work normally.

Prior to today's upgrade, I was using 4.4.5 with updates from the 4.4 branch applied to the build (up to an including 4180f5b).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.