#590 Inconsistent $rP contents

ver 1.4.x
closed-fixed
nobody
core (125)
5
2009-11-10
2009-11-05
No

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]

Discussion

  • Daniel-Constantin Mierla

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

     
  • Alex Hermann

    Alex Hermann - 2009-11-10

    It is ok now, thanks for the quick fix.

    (SF is getting worse by the day. Now it is impossible to see comments....)

     
  • Alex Hermann

    Alex Hermann - 2009-11-10
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks