I made some more investigation.
I tried to use $si in a separate check and it is working correctly.
The problem seems to be related to the $ru or $rp PV.
Is it possible that the $rp passed to the allow_address function is not the actual one but the original request value? Even if the actual one has been changed in the script and if i print it i get the actual value?
Thanks,
Marcello

On Sep 18, 2009, at 5:18 PM, Marcello Lupo wrote:

Hi to all,
i'm using openser-1.2.2 and i'm getting the error:

"Error while converting IP address string to in_addr"

while using the allow_address function.

I tried both with:

allow_address("$(ru{uri.host})", "$rp")
allow_address("$rd", "$rp")

I made debugging printng content of both $rd and $(ru{uri.host}) and both return the correct value.
Don't know anymore where to search about it.
Any help?
Thank you,
regards,
Marcello


_______________________________________________
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

Reply via email to