> > > I've tested it with my SIP parser which is 100% strict
> > > according to RFC 3261 grammar and RFC 3966 (TEL). Such
> > > SIP URI is valid according to BNF.
> >
> > Does your parser allow invalid characters within the 
> > local-number-digits or does it not allow 
> > "anonymous;phone-context=national" to successfully
> > decode into a telephone-subscriber?
> 
> Do you mean a tel uri like this?:
> 
>   tel:anonymous;phone-context=national

I was referring to telephone-subscriber include within sip-uri.  The 
telephone-subscriber is defined for inclusion within both sip-uri and 
telephone-uri.

telephone-uri = "tel:" telephone-subscriber

sip-uri = "sip:" [ userinfo ] hostport uri-parameters [ headers ]

userinfo =  ( user / telephone-subscriber ) [ ":" password ] "@"


> No, the parser doesn't allow it as it's invalid according 
> to tel-subscriber grammar.

I agree; it is invalid as telephone-subscriber within telephone-uri.  It is 
also invalid as telephone-subscriber within sip-uri.  Since user=phone 
indicates that the user portion is decodable as telephone-subscriber, it is 
invalid if it doesn't.


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

Reply via email to