IƱaki Baz Castillo wrote:
Hi, does/will SR implement TEL URI properly? This is: OpenSer/Kamailio doesn't support it (just a very basic support).
Also, some useful funtions would be:
- "is_sip?": returns true if RURI has SIP URI.
if($ru =~ "^sip:")
- "is_sips?": returns true if RURI has SIPS URI.
if($ru =~ "^sips:")
- "is_sip_ips?": returns true if RURI has SIP or SIPS URI.
if($ru =~ "^sip([s]*):)
- "is_tel?": returns true if RURI has TEL URI.
if($ru =~ "^tel:")
?
Or are you looking for something more involved than that, i.e. validation of the actual contents of the values and not just the alleged URI scheme?
-- Alex