{"id":21617263,"url":"https://github.com/hemantsonu20/sip-parser-antlr","last_synced_at":"2026-05-14T13:31:48.599Z","repository":{"id":57719919,"uuid":"62888473","full_name":"hemantsonu20/sip-parser-antlr","owner":"hemantsonu20","description":"A sip uri parser written using Antlr","archived":false,"fork":false,"pushed_at":"2017-02-03T05:22:54.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T17:28:21.487Z","etag":null,"topics":["antlr","java","java-8","maven","sip","sip-parser","sip-uri"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hemantsonu20.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-08T12:52:55.000Z","updated_at":"2021-06-11T09:12:21.000Z","dependencies_parsed_at":"2022-09-26T21:41:09.995Z","dependency_job_id":null,"html_url":"https://github.com/hemantsonu20/sip-parser-antlr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hemantsonu20/sip-parser-antlr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemantsonu20%2Fsip-parser-antlr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemantsonu20%2Fsip-parser-antlr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemantsonu20%2Fsip-parser-antlr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemantsonu20%2Fsip-parser-antlr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemantsonu20","download_url":"https://codeload.github.com/hemantsonu20/sip-parser-antlr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemantsonu20%2Fsip-parser-antlr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259377516,"owners_count":22848373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antlr","java","java-8","maven","sip","sip-parser","sip-uri"],"created_at":"2024-11-24T22:17:04.366Z","updated_at":"2026-05-14T13:31:43.557Z","avatar_url":"https://github.com/hemantsonu20.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sip-parser-antlr\n\n## Overview\nA sip uri parser written with using [antlr](http://www.antlr.org/)\n\nThe grammar of the sip uri is based on the [RFC-3261](https://www.ietf.org/rfc/rfc3261.txt) with some minor exceptions.\n\nA typical sip-uri takes up the form\n```\nsip:hemant@github.com:80;uriparam1=urivalue1;uriparam2?headerkey1=headerValue1\n```\n\nThe library parses this sip uri and returns a java class [SipUriInfo](src/main/java/com/github/sip/SipUriInfo.java).\nIt has following fields.\n\n```java\nprivate boolean isSips;\nprivate String userInfo;\nprivate String host;\nprivate int port = -1;\nprivate Map\u003cString, String\u003e uriParameters;\nprivate Map\u003cString, String\u003e headers;\n```\n\n## Examples\n```java\n// to parse sip uri\nSipUriInfo info = SipUtils.parseSipUri(\"sip:hemant@github.com:80;uriparam1=urivalue1;uriparam2?headerkey1=headerValue1\");\n\n// to parse sips uri\nSipUriInfo info = SipUtils.parseSipsUri(\"sips:hemant@github.com:80;uriparam1=urivalue1;uriparam2?headerkey1=headerValue1\");\n```\nFor more examples see [TestSipUtils](src/test/java/com/github/sip/TestSipUtils.java)\n\n## Maven Artifact\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.hemantsonu20\u003c/groupId\u003e\n    \u003cartifactId\u003esip-parser-antlr\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Latest Published Version\n1.0.0 published on July 13th 2016\n\n## License\n[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemantsonu20%2Fsip-parser-antlr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemantsonu20%2Fsip-parser-antlr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemantsonu20%2Fsip-parser-antlr/lists"}