Hello,

On Wednesday 22 September 2004 17:50, Rob Phillips wrote:
> I think it all involves intent.  If your intent is that the "#" is to be
> used as a telephone-subscriber, then sure, the # is OK.  In the example
> Srini gave:
>
>    sip:[EMAIL PROTECTED]
>
> it works because a telephone-subscriber can be "#123".  But, if you're

sorry but can you then explain this paragraph from RFC3261 to me:

   The BNF for telephone-subscriber can be found in RFC 2806 [9].  Note,
   however, that any characters allowed there that are not allowed in
   the user part of the SIP URI MUST be escaped.

I think this says that even if it is allowed to use # in telephone-subscriber 
part, you have to escape it if you are going to use it in a SIP message, 
because # is not allow in a SIP message at that place. If I'm wrong then 
please explain to me why and how do you interpret the above paragraph.

Thanks and regards
  Nils

> asking *in general*, i.e. you had a SIP URI as:
>
>    sip:[EMAIL PROTECTED]
>
> then it won't work, because then you're going to follow the BNF for "user"
> and not "telephone-subscriber".  And "user" does not allow for the "#"
> character.
>
> - rob
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Attila
> Sipos
> Sent: Wednesday, September 22, 2004 10:03 AM
> To: Nils Ohlmeier; [EMAIL PROTECTED]
> Cc: Miriyala Srinivas-FSM016
> Subject: RE: [Sip-implementors] Question on including character "#" in
> theuserportion of the IN VITE message
>
>
>
> Hi Nils,
>
> Thanks for your reply.
>
> > And in the SIP username # is not allowed.
>
> Can you help me understand why the # is not allowed.
>
> >From RFC3261, the relevant grammar (I think) is:
>
> SIP-URI          =  "sip:" [ userinfo ] hostport
>                     uri-parameters [ headers ]
> SIPS-URI         =  "sips:" [ userinfo ] hostport
>                     uri-parameters [ headers ]
> userinfo         =  ( user / telephone-subscriber ) [ ":" password ] "@"
>
>
> Is "userinfo" what you refer to as the "SIP username"?
> If so, then I thought the # is allowed since it is part
> of the "telephone-subscriber" definition.
>
> Have I misunderstood something?
>
> Regards,
>
> Attila
>
> > -----Original Message-----
> > From: Nils Ohlmeier [mailto:[EMAIL PROTECTED]
> > Sent: 22 September 2004 15:50
> > To: [EMAIL PROTECTED]
> > Cc: Attila Sipos; Miriyala Srinivas-FSM016
> > Subject: Re: [Sip-implementors] Question on including character "#" in
> > the userportion of the IN VITE message
> >
> >
> > Cite from the BNF part of RFC 3261:
> >
> >    The BNF for telephone-subscriber can be found in RFC 2806
> > [9].  Note,
> >    however, that any characters allowed there that are not allowed in
> >    the user part of the SIP URI MUST be escaped.
> >
> > And in the SIP username # is not allowed.
> >
> > Regards
> >    Nils Ohlmeier
> >
> > On Wednesday 22 September 2004 16:21, Attila Sipos wrote:
> > > The # is technically Ok.
> > >
> > > INVITE sip:[EMAIL PROTECTED] should work.
> > >
> > > The # is allowed because it is part of "telephone-subscriber"
> > > in the sip grammar.  (The BNF for telephone-subscriber can be
> > > found in RFC 2806)
> > >
> > > Regards,
> > >
> > > Attila
> > >
> > >
> > > Attila Sipos
> > > Software Engineer
> > > <http://www.vegastream.com/>
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]
> >
> > Behalf Of Miriyala
> >
> > > > Srinivas-FSM016
> > > > Sent: 21 September 2004 23:37
> > > > To: '[EMAIL PROTECTED]'
> > > > Subject: [Sip-implementors] Question on including
> >
> > character "#" in the
> >
> > > > userportion of the IN VITE message
> > > >
> > > >
> > > > Hello All,
> > > >
> > > > How can I send "#" (no quotes) in the Request-URI and To
> > > > header of INVITE
> > > > message. Can I send the character directly or should I use %
> > > > HEXDIG HEXDIG
> > > > (%35) instead.
> > > >
> > > > E.g : INVITE sip:[EMAIL PROTECTED] or should it be INVITE
> > > > sip:[EMAIL PROTECTED]
> > > >
> > > >
> > > > Best Regards
> > > > Srini
> > > > _______________________________________________
> > > > Sip-implementors mailing list
> > > > [EMAIL PROTECTED]
> > > > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> > >
> > > _______________________________________________
> > > Sip-implementors mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> >
> > --
> > snom technology AG            Pascalstrasse 10b    D-10581 Berlin
> > Nils Ohlmeier
> > mailto:[EMAIL PROTECTED]  http://www.snom.com
>
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
>
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to