[Devel] CVS commitlog: sip-server items.c items.h

Juha Heinanen jh at tutpro.com
Tue Dec 26 16:58:30 CET 2006


Dan Pascu writes:

 > Now I'm confused. Do you say that there is still a pseudo variable that 
 > coresponds to the Privacy header (other than $hdr(Privacy))?

no, i meant generic $hdr pvar.

 > I'm do not have so much use cases in mind, as I'm thinking of the fact 
 > that the pseudo variables should have symmetry and completeness (i.e. 
 > they should be able to pinpoint every element of the message as long as 
 > it is parsed). This is not something you cannot work around (for example 
 > by using $hdr(Privacy)), but it would be nice to have a $xx shortcut for 
 > every header element that is parsed IMO.

there are lots of message components today that cannot be referenced by
pvars.  the current pvar naming scheme does not scale to that.  for
example, there should be a common way to reference dn, uri host, uri
host etc. of any header uri.

-- juha




More information about the Devel mailing list