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 _______________________________________________ Devel mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/devel
