Hi Jerome,
the case sensitivity is automatically taken care by opense's pseudo variables. First of all, for the known (recognizable) headers, the name is replaced with an integer id at startup, so at runtime only an integer comparison is done. For the rest of the headers, a case insensitive string comparison is done.
so, this should not be an issue.
regards, bogdan
Jerome Martin wrote:
On Thu, 2006-12-14 at 21:41 +0100, Jerome Martin wrote:
Contact: <sip:alice@atlanta.com>;expires=3600
is equivalent to
CONTACT: <sip:alice@atlanta.com>;ExPiReS=3600
I mentionned the fact that the header parameters are case-insensitive, but as this example shows, headers themselves are. I'm not sure that $hdr("Foobar") is equivalent to $hdr("FooBar"). I would guess that static pseudo variables would handle this, but not for $hdr(XXX).
Bogdan, do you have the answer in mind or should I take a look at the code ? If that's not the case, then maybe that would be an interesting feature request for 1.2.0 ...
Regards, Jerome
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users