[Devel] is_domain_local
Juha Heinanen
jh at tutpro.com
Wed Jul 19 21:37:55 CEST 2006
Bogdan-Andrei Iancu writes:
> My opinion is that the functions should take as parameter an URI and not
> just the domain. Normally the script handles SIP uris and not just
> domain name, so has no sense to start extending the pvs to just for this
> purpose.
> The function should properly parse the received URI and to extract the
> domain.
fine with me. i'll re-write is_domain_local(pv) as follows:
1.4.3. is_domain_local(pseudo-variable)
This function checks if host part of URI contained in the
pseudo-variable is local.
-- juha
More information about the Devel
mailing list