[OpenSIPS-Devel] [ opensips-Bugs-2985429 ] Parameter transformation fails on space (parse_params)
SourceForge.net
noreply at sourceforge.net
Wed May 26 10:38:58 CEST 2010
Bugs item #2985429, was opened at 2010-04-11 17:27
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2985429&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: coxx ()
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: Parameter transformation fails on space (parse_params)
Initial Comment:
If From or To headers contains display name with a SPACE (for ex. "ABC XYC") then transformation $(hdr(From){param.value,tag} fails with message:
ERROR:core:parse_params: invalid character, ; expected, found X
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-05-26 11:38
Message:
$(hdr(From){param.value,tag} is invalid from logic perspective.
$hdr(From) returns the body of the FROM hdr (display name + URI + hdr
params), so you cannot apply directly the "param" transformation over it
(as the string is more than only params).
Correct way is $(hdr(From){nameaddr.param,tag} - see
http://www.opensips.org/Resources/DocsCoreTran16#toc37
Regrads,
Bogdan
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-04-20 14:01
Message:
Please post the entire FROM hdr.
Thanks.
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2985429&group_id=232389
More information about the Devel
mailing list