[Devel] is_uri_user_e164 function

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jul 19 02:53:10 CEST 2006


Hi!

I just wondered how we can make transitions to new functions easy. Maybe
we should have a list of obolete/removed functions and the new
alternatives?

regards
klaus

On Tue, July 18, 2006 22:04, Bogdan-Andrei Iancu said:
> 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
>>
>>
>>
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>





More information about the Devel mailing list