[sr-dev] [kamailio/kamailio] Incorrect translation of tel: uri to sip: uri in tel2sip() (#1173)

Juha Heinanen jh at tutpro.com
Wed Jul 12 13:57:22 CEST 2017


Donald Carr writes:

> Are you interested in the fix? I agree it is a bit esoteric, but, I
> think worth it to help reduce problems in the future. Especially
> removing the double domain name in the sip uri, and removing visual
> separators from the phone-context when it is a global number. Well,
> the parameters really should be sorted to meet the spec, but, not sure
> if any program would ever have a problem if they were not sorted. It
> is nice if equivalent uris look exactly the same.

How about making a new function that "normalizes" tel uri (does sorting,
etc.)?  That function would then be called before calling simple tel2sip
if all the fancy stuff is needed.

-- Juha



More information about the sr-dev mailing list