[OpenSER-Devel] [ openser-Bugs-1827360 ] transformation evaluation error

SourceForge.net noreply at sourceforge.net
Wed Nov 7 08:04:27 UTC 2007


Bugs item #1827360, was opened at 2007-11-07 09:31
Message generated for change (Comment added) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1827360&group_id=139143

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: core
Group: ver devel
Status: Open
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Dan (dan_pascu)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: transformation evaluation error

Initial Comment:
I have this uri:

$var(x) = "sip:10.0.0.1:5060;origin=\"sip:193.230.183.51:5060;transport=tcp\";socket=udp:1.2.3.4:5060;expire=60";

$(var(x){uri.transport}) evaluates to tcp" (including the end double quote). This is wrong as the transport parameter is part of the inner uri which is quoted inside the origin parameter of the original uri.

However $(var(x){uri.param,transport}) correctly evaluates to an empty string.

Also $(var(x){uri.param,origin}) correctly evaluates to sip:193.230.183.51:5060;transport=tcp



----------------------------------------------------------------------

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-11-07 10:04

Message:
Logged In: YES 
user_id=1246013
Originator: NO

The s.param transformation was not intended take in consideration the
quotes. It looks simply just  for name1=value1;name2=value2;... If it is
not working now, please add as feature request.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1827360&group_id=139143



More information about the Devel mailing list