for sure it's something like that, but then how to get the IP range... In fact, I have 2 interfaces, users are registered under the local one, 10.0.X.X with subnet 255.255.0.0 I need to know if their IPs are local or not. It's not even possible to 'print' via xlog the dst_ip. I am lost :( Thanks Klaus, Olivier Klaus Darilion a écrit :
Olivier Taylor schrieb:
hi all,
when checking dst_ip with an expression like 'if(dst_ip=~ "10\.1\.*")' I
Maybe dst_ip is not a string representation of the IP address, but some internal structure, and thus the regexp fails?
regards klaus
always have a 'false' as answer... What do I wrong there?
Olivier
_______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users