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

Reply via email to