On Thu, 2005-11-24 at 23:46 -0800, Litty Preeth wrote: > My next question is about the q value of the Contact header. Which > contact should i be giving more priority, one with a q value or the > one without it. I meant, shall i assign a default q value suppose 0.8 > for all the contacts without q values and then sort them accordingly > or i sort the contacts with q value first and then consider the ones > without priorities assigned as having least priority.
RFC 3261 goes to a great deal of trouble to avoid requiring proxies to handle contacts in any particular order. But in all the systems in the real world, proxies process contacts in order of decreasing q-values, and contacts without specified q values are treated as having "q=1". Since the q value of a contact is usually supplied by the phone when it registers, there has to be agreement on how q values are interpreted. That RFC 3261 does not do so is a bug, in my opinion. Dale _______________________________________________ Sip-implementors mailing list [email protected] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
