[sr-dev] [ openser-Bugs-2892560 ] Inconsistent $rP contents
SourceForge.net
noreply at sourceforge.net
Thu Nov 5 13:18:57 CET 2009
Bugs item #2892560, was opened at 2009-11-05 13:18
Message generated for change (Tracker Item Submitted) made by axlh
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]
----------------------------------------------------------------------
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