Iñaki Baz Castillo wrote:
 
> 
> The current "support" of TEL uri is also a "hack", since after parsing
> a TEL URI what we have is:
> - $rU = null
> - $rd = the TEL number
> (note: parhaps is the opposite)
> 
> I'd realy would like to have something as:
> - $rtU = RURI TEL number
> - $rtparams = RURI TEL parameters

Call me biased, but I do prefer the select stuff:

   @ruri.type -> "tel"
   @ruri.user -> number
   @ruri.params -> parameters
   @ruri.params["phone-context"] -> phone-context parameter

The only thing I always need to look up is whether it is user or
username. One could probably add a sub-select "number" which is only
valid if the type is "tel" or if the username part of the URI consists
of characters valid in a TEL URI.

I know C people like their functions and variables to have cryptical
names for hyst[eo]rical reasons, but this is so 20th century.

Regards,
Martin

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to