Re: [sipX-dev] Global Call Pickup: "*allcredentials" in SUBSCRIBE To: field
On Tue, 2007-04-03 at 14:34 -0400, Paul Mossman wrote:
> In comparing traces of the two scenarios I found that in the Global
> scenario the NOTIFY from the called phone has no Message Body, despite
> being involved in a dialog. I was then surprized to find that the To:
> field in the corresponding Dialog Event Package SUBSCRIBE request has
> "*allcredentials" in the URI.
> So, should sipX not be sending a To: "*allcredentials" URI, or are the
> LG phones just getting confused too easily?
"*allcredentials" is a valid SIP URI user-part. See RFC 3261 section
25.1. The relevant grammar rules are:
SIP-URI = "sip:" [ userinfo ] hostport uri-parameters [ headers ]
userinfo = ( user / telephone-subscriber ) [ ":" password ] "@"
user = 1*( unreserved / escaped / user-unreserved )
unreserved = alphanum / mark
mark = "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")"
(Note that "#", though it is also a DTMF symbol, is *not* a valid
character in a user part, and has to be represented by "%23".)
Dale