I have a question on the matching algorithm in callerprefs.

Suppose I need a rule that requires multiple distinct values for the
same kind of param - for instance I need a contact that supports both
English and Spanish.

If I match:

   Accept-Contact *;language="en,es"

against:

   Contact: sip:[EMAIL PROTECTED];language="en"
   Contact: sip:[EMAIL PROTECTED];language="de,en"
   Contact: sip:[EMAIL PROTECTED];language="en,es,fi"

it will match both joe and alice, which is not what I want.

I believe that the following should do the right thing:

   Accept-Contact *;language="en";language="es"

I find nothing in the draft that forbids this, but neither do I find
anything that convinces me that this is intended behavior either. 

Can someone confirm that this is valid usage, and that a server which
failed to support it would be non-conforming?

        Paul Kyzivat
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to