Request.getPoppedRoute() returns wrong route in case of double Record-Route
---------------------------------------------------------------------------
Key: CIPANGO-196
URL:
http://jira.cipango.org/browse/CIPANGO-196
Project: cipango
Issue Type: Bug
Components: core
Affects Versions: 3.0.0.M0
Reporter: Nicolas Trangosi
Assignee: Nicolas Trangosi
Fix For: 3.0.0.M1
For the request
{noformat}
BYE sip:al...@rg93z8uymmvu.invalid;transport=ws;ob SIP/2.0
Call-ID: z2849qc92wfk4jyaurf6
Content-Length: 0
CSeq: 8634 BYE
From:
sip:b...@pierrick.bzh;tag=7c419zfil9
Max-Forwards: 68
Route: <sip:192.168.2.119:5566;lr;appid=13z.9397rSNFT8T;drr=2>
Route: <sip:192.168.2.119:8080;transport=ws;lr;x-nxc-path=c2lwOmFsaWNlQDE5Mi4xNjguMi4xMTk6NTYxODA%3d;appid=13z.9397rSNFT8T;drr>
Supported: path, outbound, gruu
To:
sip:al...@pierrick.bzh;tag=j97t9fsxwf
User-Agent: JsSIP 0.2.1
Via: SIP/2.0/UDP 192.168.2.119:5566;branch=z9hG4bK4UjCZ7G7DIZ
Via: SIP/2.0/TCP dhdrfxu0w0rl.invalid;branch=z9hG4bK2998293;received=192.168.2.119
{noformat}
The popped route returned is
<sip:192.168.2.119:5566;lr;appid=13z.9397rSNFT8T;drr=2>
instead of
<sip:192.168.2.119:8080;transport=ws;lr;x-nxc-path=c2lwOmFsaWNlQDE5Mi4xNjguMi4xMTk6NTYxODA%3d;appid=13z.9397rSNFT8T;drr>
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira