[OpenSIPS-Devel] [ opensips-Bugs-3415264 ] recieved=x.x.x.x added to wrong via header
SourceForge.net
noreply at sourceforge.net
Thu Sep 29 10:39:25 CEST 2011
Bugs item #3415264, was opened at 2011-09-29 10:39
Message generated for change (Tracker Item Submitted) made by mtryfoss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3415264&group_id=232389
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Tryfoss (mtryfoss)
Assigned to: Nobody/Anonymous (nobody)
Summary: recieved=x.x.x.x added to wrong via header
Initial Comment:
Hi!
It seems like 'recived' is added to the wrong header when the dialog contains multiple comma separated Via-headers. It's just appended to the end of the line.
Example:
Via: SIP/2.0/TCP 10.3.8.20:5060;branch=z9hG4bK0440914511a92062ea12e98d4, SIP/2.0/TCP 10.3.8.19:5062;branch=z9hG4bKaad385d13b702b61ee38b3118;rport=4108;received=80.239.13.209
The correct would be:
Via: SIP/2.0/TCP 10.3.8.20:5060;branch=z9hG4bK0440914511a92062ea12e98d4;rport=4108;received=80.239.13.209, SIP/2.0/TCP 10.3.8.19:5062;branch=z9hG4bKaad385d13b702b61ee38b3118
It's working ok when you have one Via pr line:
Via: SIP/2.0/UDP 172.50.1.8;branch=z9hG4bK6257.ce0c3755.0;i=1;received=85.19.212.117
Via: SIP/2.0/TCP 172.50.1.9:5060;received=172.50.1.9;branch=z9hG4bK397aee9f;rport=39350
Regards,
Morten Tryfoss
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3415264&group_id=232389
More information about the Devel
mailing list