I know the destination uri (dst_uri) is accessible through the functions setdsturi(), resetdsturi(), isdsturiset(), but is there a way to check the IP address of the destination Uri? I need to know what is the IP address of the destination Uri to take a decision inside the script, how can I do it?
I'll appreciate any help. Thanks
Hi Dioris,
you can perform only string-based checks on the dst_uri via pseudo-variables and AVPS. http://openser.org/docs/pseudo-variables-1.1.x.html#pv_du
but if the dst uri is DNS name, there is no way to check it against an IP.
regards, bogdan
Dioris Moreno wrote:
I know the destination uri (dst_uri) is accessible through the functions setdsturi(), resetdsturi(), isdsturiset(), but is there a way to check the IP address of the destination Uri?
I need to know what is the IP address of the destination Uri to take a decision inside the script, how can I do it?
I’ll appreciate any help. Thanks
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users