Issue 164 in jain-sip: Via Parser fails if "from" has '_'

1 view
Skip to first unread message

jain...@googlecode.com

unread,
Jul 31, 2015, 8:36:24 AM7/31/15
to mobicents-all-...@googlegroups.com
Status: New
Owner: ----
Labels: Priority-Medium

New issue 164 by jmckinne...@gmail.com: Via Parser fails if "from" has '_'
https://code.google.com/p/jain-sip/issues/detail?id=164

What steps will reproduce the problem?
1. Name your local sip.local.hostname to something with an underscore ('_').
2. Send a request such as REGISTER
3. Response is returned with a Via header containing the sent
sip.local.hostname

What is the expected output? What do you see instead?
Expect to see a parsed response message/object model. Receive
ParseException.


What version of the product are you using? On what operating system?
1.2.2380 on Windows 8.1 with JDK 1.8.0.51

Please provide any additional information below.
The below Via header will NOT parse. Johns_PC is a perfectly valid/allowed
name for a windows PC but JAIN-SIP will not process it.

Uncomment the main method in ViaParser and add this to the array of header
examples. It will fail. Remove the underscore from Johns_PC and it will
succeed.

Via: SIP/2.0/TLS
Johns_PC:443;branch=z9hG4bK-353536-6950d4a397633da572ba856c11219306;received=134.170.115.251;ms-received-port=1516;ms-received-cid=DF565200



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

jain...@googlecode.com

unread,
Aug 2, 2015, 11:09:56 AM8/2/15
to mobicents-all-...@googlegroups.com

Comment #1 on issue 164 by jean.deruelle: Via Parser fails if "from" has '_'
https://code.google.com/p/jain-sip/issues/detail?id=164

Can you raise the issue at https://java.net/jira/browse/JSIP ?
Also our git mirror has moved to https://github.com/Mobicents/jain-sip/

jain...@googlecode.com

unread,
Aug 3, 2015, 8:56:03 AM8/3/15
to mobicents-all-...@googlegroups.com

Comment #2 on issue 164 by jmckinne...@gmail.com: Via Parser fails
Sure. Done. JSIP-506 created.
Reply all
Reply to author
Forward
0 new messages