[Sip-implementors] pres Uri

2008-04-01 Thread Vijay.KS
Hi, Can a pres Uri have port information? i.e. whether the following pres Uri is correct? pres:[EMAIL PROTECTED]:12345 Thanks and Regards, Vijay K S DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is

[Sip-implementors] Can NOTIFY replace PUBLISH ?

2008-04-01 Thread Pascal Maugeri
Hi I've seen that my VoIP client X-Lite is sending NOTIFY request to publish changes in its availability. I was expecting to see PUBLISH request instead of NOTIFY ... Is it so that one could use NOTIFY instead of PUBLISH request ? I'm curious to know where this is defined in standard. Please

Re: [Sip-implementors] Can NOTIFY replace PUBLISH ?

2008-04-01 Thread Iñaki Baz Castillo
El Tuesday 01 April 2008 13:55:21 Pascal Maugeri escribió: Very interesting this peer-to-peer presence mode ! I did not see this configuration option. Of course all clients should be in the same mode I guess ? Right. -- Iñaki Baz Castillo [EMAIL PROTECTED]

Re: [Sip-implementors] Can NOTIFY replace PUBLISH ?

2008-04-01 Thread Pascal Maugeri
Very interesting this peer-to-peer presence mode ! I did not see this configuration option. Of course all clients should be in the same mode I guess ? Gracias Iñaki -pascal On Tue, Apr 1, 2008 at 3:27 PM, Iñaki Baz Castillo [EMAIL PROTECTED] wrote: El Tuesday 01 April 2008 13:09:17 Pascal

Re: [Sip-implementors] Why Content-Length is just mandatory in TCP? (in UDP if there isn't it assumes 0 bytes)

2008-04-01 Thread Iñaki Baz Castillo
El Tuesday 01 April 2008 15:02:26 Robert Sparks escribió: 3261 says you SHOULD include the Content-Length on UDP. That's only not a MUST because there was some deployed 2543 stuff at the time that 3261 went out. I haven't read anywhere that it SHOULD include Content-Length in UDP request: 6231

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Frank W. Miller
I've been following this discussion for a bit. I agree that the grammar is probably overly permissive but it is what it is. Just for fun, I decided to contribute a bit here. In my implementation, I run the following little preprocessor bit over all incoming messages. The idea is to try to

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread M. Ranganathan
On Tue, Apr 1, 2008 at 11:55 AM, Frank W. Miller [EMAIL PROTECTED] wrote: I've been following this discussion for a bit. I agree that the grammar is probably overly permissive but it is what it is. Just for fun, I decided to contribute a bit here. In my implementation, I run the

[Sip-implementors] Please provide explanation on strict-routing

2008-04-01 Thread Mohammad Farooq
In RFC 3261, section 12.2.1.1 it gives example of strict routing. It explains that uac has route set: sip:proxy1, sip:proxy2, sip:proxy3;lr,sip:proxy4,sip:[EMAIL PROTECTED] Since uac see the proxy1 is strict route it create the following request: METHOD sip:proxy1 Route: sip:proxy2,

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Frank W. Miller
Right now when I run it, its run over the entire message, there's no check for a body. The only bodies I deal with currently are SDP and PIDF. The former is line oriented and the latter is XML so I suppose it hasn't been an issue to date. Good point on the quoted strings. Funny I've never

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Paul Kyzivat
Frank W. Miller wrote: Right now when I run it, its run over the entire message, there's no check for a body. The only bodies I deal with currently are SDP and PIDF. The former is line oriented and the latter is XML so I suppose it hasn't been an issue to date. Good point on the

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Frank W. Miller
You can't really just check for quotes out of context. In some contexts they might not always come in pairs. FM: Where does the syntax allow for unpaired quotes? I did a quick search on 3261 for DQUOT and didn't see any place where they are allowed to be unmatched. Forgive my ignorance?

Re: [Sip-implementors] Please provide explanation on strict-routing

2008-04-01 Thread bharat.sarvan
Mohammed, Strict Router is the one that follows route processing rules as described in RFC 2543. And with reference to your question below, The route set at UAC consists of sip:proxy1,sip:proxy2,sip:proxy3;lr,sip:proxy4;lr As the first entry in the route set does not contain the lr

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Paul Kyzivat
Frank W. Miller wrote: You can't really just check for quotes out of context. In some contexts they might not always come in pairs. FM: Where does the syntax allow for unpaired quotes? I did a quick search on 3261 for DQUOT and didn't see any place where they are allowed to be

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Frank W. Miller
-Original Message- From: Paul Kyzivat [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 3:35 PM To: Frank W. Miller Cc: 'Iñaki Baz Castillo'; sip-implementors@lists.cs.columbia.edu Subject: Re: [Sip-implementors] Why SIP abnf is so permissive??? Frank W. Miller wrote: You

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Paul Kyzivat
Frank W. Miller wrote: -Original Message- From: Paul Kyzivat [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 3:35 PM To: Frank W. Miller Cc: 'Iñaki Baz Castillo'; sip-implementors@lists.cs.columbia.edu Subject: Re: [Sip-implementors] Why SIP abnf is so permissive???

Re: [Sip-implementors] Why SIP abnf is so permissive???

2008-04-01 Thread Frank W. Miller
Well, my parser works as follows: 1) Collapse white space and more importantly, continuation lines 2) Load the message into a line oriented data structure that allows for quick searching of the headers 3) On-demand parse the headers as they are needed by higher level UA functions I do not