[Devel] is_uri_user_e164 function
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Jul 18 22:04:49 CEST 2006
Hi Juha,
sounds ok with me.
regards,
bogdan
Juha Heinanen wrote:
>i implemented in uri module is_uri_user_e164 function:
>
>1.4.7. is_uri_user_e164(pseudo-variable)
>
> Checks if userpart of URI stored in pseudo variable is E164
> number.
>
> This function can be used from REQUEST_ROUTE and
> FAILURE_ROUTE.
>
> Example 1-7. is_uri_user_e164 usage
>...
>if (is_uri_user_e164("$re")) { # Check RPID header URI user part
> ...
>}
>if (is_uri_user_e164("$fu")) { # Check From header URI user part
> ...
>}
>if (is_uri_user_e164("$avp(i:705)") {
> # Check user part of URI stored in $avp (i:705)
> ...
>};
>...
>
>is it ok to commit this and remove enum/is_from_user_e164() and
>auth/is_rpid_user_e164() functions?
>
>-- juha
>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
More information about the Devel
mailing list