On Wednesday 16 January 2008 16:34:40 Iñaki Baz
Castillo wrote:
It doesn't fails if SIP URI doesn't
contain "<" and ">".
So I assume that, in my case, it will fail if a UAC generates a "Refer-To"
with "<" and ">", while it's perfectly valid according to
RFC 3515:
Refer-To: <sip:carol@cleveland.example.org;method=SUBSCRIBE>
Oh, but it doesn't fail because $rt takes off the "<" and
">" symbols from the
URI. :)
So forget me, it's not a bug. The SIP URI in the AVP or variable should be
without < > (as a good SIP URI it's) ;)
But this would be other very useful transformation - getting display
name and SIP URI from name-addr (should work with plain SIP URI too).
name-addr = [ display-name ] LAQUOT addr-spec RAQUOT
regards
klaus