Contact header is badly parsed if two contacts are set in same line
-------------------------------------------------------------------
Key: CIPANGO-200
URL:
http://jira.cipango.org/browse/CIPANGO-200
Project: cipango
Issue Type: Bug
Components: core
Affects Versions: 3.0.0.M0
Reporter: Nicolas Trangosi
Assignee: Nicolas Trangosi
When the following message is received
{noformat}
REGISTER sip:
cipango.org SIP/2.0
Call-ID:
71eb24e8fd50ea2e...@127.0.0.1
Contact: <sip:al...@127.0.0.1:5062;lr;transport=udp>;expires=1800,<sip:localhost>;expires=1500
Content-Length: 0
CSeq: 1 REGISTER
From: <
sip:al...@cipango.org>;tag=2071303149
Max-Forwards: 70
Route: <sip:localhost:5050;transport=udp;lr>
To: <
sip:al...@cipango.org>
Via: SIP/2.0/UDP 127.0.0.1:5062;branch=z9hG4bK51b58d3ee9902d74bd2620c5a93b7b6a
{noformat}
The call to request.getAddressHeaders("Contact") returns only one address:
* {{<sip:al...@127.0.0.1:5062;lr;transport=udp>;expires=1800,<sip:localhost>;expires=1500}}
instead of two:
* {{<sip:al...@127.0.0.1:5062;lr;transport=udp>;expires=1800}}
* {{<sip:localhost>;expires=1500}}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira