[JIRA] Created: (CIPANGO-207) Got ParseException on tel:#123#;phone-context=atlanta.com

2 views
Skip to first unread message

Nicolas Trangosi (JIRA)

unread,
Sep 12, 2013, 3:51:12 AM9/12/13
to cipan...@googlegroups.com
Got ParseException on tel:#123#;phone-context=atlanta.com
---------------------------------------------------------

Key: CIPANGO-207
URL: http://jira.cipango.org/browse/CIPANGO-207
Project: cipango
Issue Type: Bug
Affects Versions: 3.0.0.M1, 2.1.1
Reporter: Nicolas Trangosi
Assignee: Nicolas Trangosi


Got java.text.ParseException: Invalid phone number #123# in URI tel:#123#;phone-context=atlanta.com
at org.cipango.sip.TelURLImpl.parse(TelURLImpl.java:73)
at org.cipango.sip.TelURLImpl.<init>(TelURLImpl.java:49)
at org.cipango.sip.URIFactory.parseURI(URIFactory.java:29)

According to [RFC 3966|http://www.ietf.org/rfc/rfc3966.txt], local tel URIs are defined:

{noformat}
local-number = local-number-digits *par context *par
local-number-digits =
*phonedigit-hex (HEXDIG / "*" / "#")*phonedigit-hex
phonedigit-hex = HEXDIG / "*" / "#" / [ visual-separator ]

{noformat}




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Nicolas Trangosi (JIRA)

unread,
Sep 12, 2013, 4:18:15 AM9/12/13
to cipan...@googlegroups.com

[ http://jira.cipango.org/browse/CIPANGO-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Trangosi resolved CIPANGO-207.
--------------------------------------

Fix Version/s: 2.1.2
3.0.0.M2
Resolution: Fixed

> Got ParseException on tel:#123#;phone-context=atlanta.com
> ---------------------------------------------------------
>
> Key: CIPANGO-207
> URL: http://jira.cipango.org/browse/CIPANGO-207
> Project: cipango
> Issue Type: Bug
> Affects Versions: 2.1.1, 3.0.0.M1
> Reporter: Nicolas Trangosi
> Assignee: Nicolas Trangosi
> Fix For: 2.1.2, 3.0.0.M2
Reply all
Reply to author
Forward
0 new messages