Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Brett Tate
> > > 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

Re: [Sip-implementors] Is anonymous user allowed in si p-uri with user=phone?

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, Paul Kyzivat escribió: > This says that if the user field contains an e164 telephone-subscriber > than user=phone SHOULD be present. It doesn't state the converse: that > if the user part *doesn't* contain a telephone-subscriber then there > should not be a use

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, Neel Neelakantan escribió: > True, for example a TEL URI allows "#" symbol while it's not allowed in a > SIP URI userinfo part. > > > [Neel] > The # should be escaped in the userinfo part. The following SIP URI can be "converted" into a TEL URI: sip:%2312

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Paul Kyzivat
I'm going to get a bit nit-picky here. The text from 3261 says: The set of valid telephone-subscriber strings is a subset of valid user strings. The user URI parameter exists to distinguish telephone numbers from user names that happen to look like telephon

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Neel Neelakantan
See below. -Original Message- From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of Iñaki Baz Castillo Sent: Wednesday, January 13, 2010 2:54 PM To: sip-implementors@lists.cs.columbia.edu Subject: Re: [Sip-implementors]

Re: [Sip-implementors] What do you do with a REFER that arrives before an ACK.

2010-01-13 Thread M. Ranganathan
On Wed, Jan 13, 2010 at 3:17 PM, Neel Neelakantan wrote: > See below. > > -Original Message- > From: sip-implementors-boun...@lists.cs.columbia.edu > [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of M. > Ranganathan > Sent: Wednesday, January 13, 2010 1:37 PM > To: si

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, Brett Tate escribió: > > > In case it matters, "anonymous" does violate the character > > > set for the digits portion of telephone-subscriber. Thus > > > although maybe not desirable, a strict parser may reject > > > the INVITE with a 400 response. > > > > It's

Re: [Sip-implementors] What do you do with a REFER that arrives before an ACK.

2010-01-13 Thread Neel Neelakantan
See below. -Original Message- From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of M. Ranganathan Sent: Wednesday, January 13, 2010 1:37 PM To: sip-implementors Subject: [Sip-implementors] What do you do with a REFER th

[Sip-implementors] What do you do with a REFER that arrives before an ACK.

2010-01-13 Thread M. Ranganathan
I am talking to an automaton which transfers a call as soon as it sends an ACK for the call. Problem is the REFER may arrive before the ACK does. What should be done with the REFER : 1. Drop silently. 2. Send error ( 5xx with retry-after ? ) 3. Accept the REFER and hope the ACK shows up soon ( an

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Brett Tate
> > In case it matters, "anonymous" does violate the character > > set for the digits portion of telephone-subscriber. Thus > > although maybe not desirable, a strict parser may reject > > the INVITE with a 400 response. > > It's just a semantic subject. No strict SIP parser should > reject s

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, Brett Tate escribió: > > > Of course, "anonymous" is not a valid TEL number so the above > > > SIP URI (which comes from a TEL URI due to the presence of > > > "user=phone") makes no sense (IMHO). > > > > It makes no sense. But the decision that it makes no sense

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Brett Tate
> > Of course, "anonymous" is not a valid TEL number so the above > > SIP URI (which comes from a TEL URI due to the presence of > > "user=phone") makes no sense (IMHO). > > It makes no sense. But the decision that it makes no sense is up > to a server for the domain of the URI. In case it mat

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Paul Kyzivat
Iñaki Baz Castillo wrote: > El Miércoles, 13 de Enero de 2010, ROHIT CHAUDHARY escribió: >> Hi experts, >> >> A sip-uri with user part as "anonymous" is allowed. But if the user >> parameter is phone, ie, the user part is to be treated as >> telephone-subscriber of tel-url (RFC 3966), then shou

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, Pandurangan R S escribió: > > A UA cannot send a BYE for a call until it has received an ACK for > > the initial INVITE. This was allowed in RFC 2543 but leads to a > > potential race condition. > > Probably that should read > > A UA cannot send a BYE

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread sunil.bhagat
Thanks. Regards, Sunil -Original Message- From: Pandurangan R S [mailto:pandurangan@gmail.com] Sent: Wednesday, January 13, 2010 4:30 PM To: Sunil Bhagat (WT01 - Telecom Equipment) Cc: i...@aliax.net; sip-implementors@lists.cs.columbia.edu; rohit.aggar...@aricent.com; vivek.tal...@r

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread Pandurangan R S
> A UA cannot send a BYE for a call until it has received an ACK for > the initial INVITE. This was allowed in RFC 2543 but leads to a > potential race condition. Probably that should read A UA cannot send a BYE for a call until it has received an ACK for the initial INVITE or *server

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread sunil.bhagat
Thanks for the reply. But the in the RFC (28.1 Major Functional Changes) it is mentioned that: A UA cannot send a BYE for a call until it has received an ACK for the initial INVITE. This was allowed in RFC 2543 but leads to a potential race condition. Please let me know the correct

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, sunil.bha...@wipro.com escribió: > Hi, > > I have one doubt in this. > If ACK is not properly sent by the UAC, how will the call be terminated? > Will the UAC send a CANCEL How can now the UAC that its ACK didn't arrive to the UAS? just by inspecting the arri

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread Rohit Aggarwal
UAS shall send a BYE on 200 OK retransmission timeout. This way, call will be cleared at both the sides. Regards Rohit Aggarwal -Original Message- From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of sunil.bha...@wip

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread ViVeK tAlWaR
BYE will be sent by UAS if correct ACK is not received before time out. Regards, Vivek -Original Message- From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of sunil.bha...@wipro.com Sent: Wednesday, January 13, 2010 3:3

Re: [Sip-implementors] INVITE Transaction

2010-01-13 Thread sunil.bhagat
Hi, I have one doubt in this. If ACK is not properly sent by the UAC, how will the call be terminated? Will the UAC send a CANCEL or will the other end send a BYE to terminate the call? Regards, Sunil -Original Message- From: sip-implementors-boun...@lists.cs.columbia.edu [mailto:sip-

Re: [Sip-implementors] Is anonymous user allowed in sip-uri with user=phone?

2010-01-13 Thread Iñaki Baz Castillo
El Miércoles, 13 de Enero de 2010, ROHIT CHAUDHARY escribió: > Hi experts, > > A sip-uri with user part as "anonymous" is allowed. But if the user > parameter is phone, ie, the user part is to be treated as > telephone-subscriber of tel-url (RFC 3966), then should it be allowed, > something lik