[Devel] is_domain_local
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jul 19 12:35:15 CEST 2006
Hi Juha,
yes, it makes sense. But with this new function, I thing is_from_local()
and is_uri_host_local() become obsolete.
regards,
bogdan
Juha Heinanen wrote:
>is_domain_local is currently used like this:
>
>1.4.3. is_domain_local(variable)
>
> This function checks if the domain contained in the variable
> is local. The variable can be an avp_name, an avp_alias or a
> special keyword pointing to certain SIP headers from where the
> domain should be taken.
>
> The input variable can be one of the following:
>
> * $ruri - take the domain part of the request URI
> * $from - take the domain part of the From header
> * avp - the domain is given by the value of the avp which is
> either an avp_name or an avp_alias
>
>would it be ok to generalize it to take a pseudo variable as argument?
>
>-- juha
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
More information about the Devel
mailing list