Hi Everybody,
I have a question regarding avp_check() and reverse-DNS-Lookups: I
wanted to do the following in the routing logic (simplified):
loose_route();
if (avp_check("$dd","re/192\.168.123.(1|2)/g")) {
The idea was to allow flexible re-routing to another proxy in case of
loose-routing. One proxy would be the alias of the other, and so far,
everything was fine.
What happened now: We had a customer, who's IP could not be
"reverse-lookuped" properly, the DNS-Server ran into an timeout. After
we removed the code-snipplet from the routing, everything was fine
(again); except this functionality drawback.
I believe, in OpenSER 1.2 i could replace it with the following, to
avoid the reverse-lookups:
if (($dd == 192.168.123.1) || ($dd == 192.168.123.2)) {
Am i right? Would this work?
Can i somehow avoid the reverse-lookup in OpenSER 1.1?
Thank you everybody,
Carsten