[Devel] is_domain_local
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jul 19 22:01:27 CEST 2006
i'm for this approach.
regards,
bogdan
Juha Heinanen wrote:
>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