[Serusers] selects for headers with "-"

Michal Matyska michal at iptel.org
Mon Jul 10 20:53:14 CEST 2006


You should convert the dash into underscore like this:
@msg.P_asserted_identity

or use the last select feature like this:
@msg["P-Asserted-Identity"]

This was introduced to access the authorization info, where the realm
string can contain the dot, e.g. @authorization["your.domain.org"].xxxx

Michal

On Mon, Jul 10, 2006 at 06:03:03PM +0000, Luis Silva wrote:
> Hi all!
> 
> I'm trying to get the value of the header "P-Asserted-Identity" using 
> selects, but because of the "-" I can't get the value. Do I need to use a 
> different way for accessing this type of headers?
> 
> tks in advance
> Regards,
> luis silva
> 
> 
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list