[Users] How to check the ip address of dst_uri

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Mar 27 16:24:45 CEST 2006


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 at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the sr-users mailing list