[sr-dev] [ openser-Bugs-2892560 ] Inconsistent $rP contents

SourceForge.net noreply at sourceforge.net
Fri Nov 6 14:01:55 CET 2009


Bugs item #2892560, was opened at 2009-11-05 14:18
Message generated for change (Comment added) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2892560&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 1.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inconsistent $rP contents

Initial Comment:
The $rP (request-uri's transport) is broken. When $ru is set with a ";transport=XXX" parameter, the contents of $rP show the entire parameter instead of its parsed value.

The following config snippet:
	$ru = 'sip:123 at invalid';
	TRACE("Transport=[$rP]");
	
	$ru = 'sip:123 at invalid;transport=udp';
	TRACE("Transport=[$rP]");
	
	$ru = 'sip:123 at invalid;transport=tcp';
	TRACE("Transport=[$rP]");

creates the following log:
Nov  5 13:14:26 Transport=[UDP]
Nov  5 13:14:26 Transport=[transport=udp]
Nov  5 13:14:26 Transport=[transport=tcp]

Expected would be:
Nov  5 13:14:26 Transport=[UDP]
Nov  5 13:14:26 Transport=[UDP]
Nov  5 13:14:26 Transport=[TCP]


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

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-11-06 15:01

Message:
Should be fixed on 1.4, 1.5 and 3.0 (git), please test and let me know if
is ok. Thanks.

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

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



More information about the sr-dev mailing list