"Markus Hofmann" <[EMAIL PROTECTED]> asked:

> Hello @all,
>
> I checked the RFC 3261 to find out if the hash mark is allowed in the
> SIP URL but did not find anything.
>
> reserved    =  ";" / "/" / "?" / ":" / "@" / "&" / "=" / "+"
>                      / "$" / ","
> unreserved  =  alphanum / mark
> mark        =  "-" / "_" / "." / "!" / "~" / "*" / "'"
>                     / "(" / ")"
> escaped     =  "%" HEXDIG HEXDIG
>
> SIP-URI          =  "sip:" [ userinfo ] hostport
>                     uri-parameters [ headers ]
> SIPS-URI         =  "sips:" [ userinfo ] hostport
>                     uri-parameters [ headers ]
> userinfo         =  ( user / telephone-subscriber ) [ ":" password ] "@"
> user             =  1*( unreserved / escaped / user-unreserved )
>
>
> Is a SIP URL which looks like: <sip:[EMAIL PROTECTED]> allowed?

The user rule doesn't allow a # character. However, RFC 2806 defines
telephone-subscriber, which references dtmf-digit, which looks like

  dtmf-digit = "*" / "#" / "A" / "B" / "C" / "D"

Thus, "003#xyz" is indeed a valid userinfo.

frank

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to