Hi,
this currently breaks the SIP-Utils module:
* 0(32154) ERROR: <core> [core/sr_module.c:582]: load_module(): could not open module </usr/lib/x86_64-linux-gnu/kamailio/modules/siputils.so>: /usr/lib/x86_64-linux-gnu/kamailio/modules/siputils.so: undefined symbol: is_alphanum
0(32154) CRITICAL: <core> [core/cfg.y:3401]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 128, column 12-21: failed to load module
is_alphanum is linked, but no longer defined.
Maybe, some wrapper for the old "is_alphanum" is needed?
Thanks,
Carsten
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/76c5da5ec048cd62c0f3cab6bf38aef…
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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1018