[ openser-Bugs-2892560 ] Inconsistent $rP contents

1 message Options
Embed this post
Permalink
SourceForge.net

[ openser-Bugs-2892560 ] Inconsistent $rP contents

Reply Threaded More More options
Print post
Permalink
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@invalid';
        TRACE("Transport=[$rP]");
       
        $ru = 'sip:123@invalid;transport=udp';
        TRACE("Transport=[$rP]");
       
        $ru = 'sip:123@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

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev