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
sorry, right after sending this email I discovered that i needed to use "_" underscored. sorry
From: "Luis Silva" lfs12@hotmail.com To: serusers@iptel.org Subject: [Serusers] selects for headers with "-" Date: Mon, 10 Jul 2006 18:03:03 +0000
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Tks for the answer. Another thing, is it possible to concatenate avps or strings
for exemple: I need to get from the message the request uri, then add him ",transport=tcp" and then insert it again in the message but in the destination uri (using avp_pushto??).
BTW, how can I take the request uri and the destination uri using @msg. .
Tks and regards, Luis Silva
From: Michal Matyska michal@iptel.org To: serusers@lists.iptel.org, serusers@iptel.org Subject: Re: [Serusers] selects for headers with "-" Date: Mon, 10 Jul 2006 20:53:14 +0200
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@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers