{"action":"created","comment":{"url":"https://api.github.com/repos/RestComm/jain-sip/pulls/comments/86346001","pull_request_review_id":7008371,"id":86346001,"diff_hunk":"@@ -1030,6 +1056,26 @@ public void removeDialog(String dialogId) {\n         }\n         dialogTable.remove(dialogId);\n     }\n+    \n+    /**\n+     * Adds a new dialog injection listener to this transaction.\n+     * \n+     * @param newListener\n+     *          Listener to add.\n+     */\n+    public void addDialogInjectionListener(SIPDialogInjectionListener newListener) {\n+        dialogInjectionListeners.add(newListener);","path":"src/gov/nist/javax/sip/stack/SIPTransactionStack.java","position":146,"original_position":146,"commit_id":"2f2d4758528dc8a8d73edc8ac2689741e8989705","original_commit_id":"2f2d4758528dc8a8d73edc8ac2689741e8989705","user":{"login":"jaimecasero","id":7847241,"avatar_url":"https://avatars.githubusercontent.com/u/7847241?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimecasero","html_url":"https://github.com/jaimecasero","followers_url":"https://api.github.com/users/jaimecasero/followers","following_url":"https://api.github.com/users/jaimecasero/following{/other_user}","gists_url":"https://api.github.com/users/jaimecasero/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimecasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimecasero/subscriptions","organizations_url":"https://api.github.com/users/jaimecasero/orgs","repos_url":"https://api.github.com/users/jaimecasero/repos","events_url":"https://api.github.com/users/jaimecasero/events{/privacy}","received_events_url":"https://api.github.com/users/jaimecasero/received_events","type":"User","site_admin":false},"body":"ok, then lets use a list potentially using Collections.synchronizedList to get the synchronized version. \r\nAlso you may investigate to use the concurrent version CopyOnWriteArrayList, if the list is expected to be small (<10 elements) and modifications are low again...","created_at":"2016-11-03T13:51:39Z","updated_at":"2016-11-03T13:51:39Z","html_url":"https://github.com/RestComm/jain-sip/pull/128#discussion_r86346001","pull_request_url":"https://api.github.com/repos/RestComm/jain-sip/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/comments/86346001"},"html":{"href":"https://github.com/RestComm/jain-sip/pull/128#discussion_r86346001"},"pull_request":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/RestComm/jain-sip/pulls/128","id":91745958,"html_url":"https://github.com/RestComm/jain-sip/pull/128","diff_url":"https://github.com/RestComm/jain-sip/pull/128.diff","patch_url":"https://github.com/RestComm/jain-sip/pull/128.patch","issue_url":"https://api.github.com/repos/RestComm/jain-sip/issues/128","number":128,"state":"open","locked":false,"title":"Dialog Reload","user":{"login":"bmachens","id":12406375,"avatar_url":"https://avatars.githubusercontent.com/u/12406375?v=3","gravatar_id":"","url":"https://api.github.com/users/bmachens","html_url":"https://github.com/bmachens","followers_url":"https://api.github.com/users/bmachens/followers","following_url":"https://api.github.com/users/bmachens/following{/other_user}","gists_url":"https://api.github.com/users/bmachens/gists{/gist_id}","starred_url":"https://api.github.com/users/bmachens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmachens/subscriptions","organizations_url":"https://api.github.com/users/bmachens/orgs","repos_url":"https://api.github.com/users/bmachens/repos","events_url":"https://api.github.com/users/bmachens/events{/privacy}","received_events_url":"https://api.github.com/users/bmachens/received_events","type":"User","site_admin":false},"body":"Hi,\r\ni want to give back some changes i made to jain sip to inject a dialog back into the stack after a reload of the stack. It's an event listener to load SIP Dialogs from an external source, if the dialog id is not known in the stack.\r\n\r\nUse case:\r\nReinit stack after a reboot (special for subscriptions)\r\nImplement HA with own enviroment\r\n\r\n\r\nDue to the distribution guide i replacement many tabs inside the file, so thats why there many additions/deletions in this commit","created_at":"2016-11-01T08:14:49Z","updated_at":"2016-11-03T13:51:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e821a35ac730c5bdc56c8479cec14883bf690348","assignee":{"login":"jaimecasero","id":7847241,"avatar_url":"https://avatars.githubusercontent.com/u/7847241?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimecasero","html_url":"https://github.com/jaimecasero","followers_url":"https://api.github.com/users/jaimecasero/followers","following_url":"https://api.github.com/users/jaimecasero/following{/other_user}","gists_url":"https://api.github.com/users/jaimecasero/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimecasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimecasero/subscriptions","organizations_url":"https://api.github.com/users/jaimecasero/orgs","repos_url":"https://api.github.com/users/jaimecasero/repos","events_url":"https://api.github.com/users/jaimecasero/events{/privacy}","received_events_url":"https://api.github.com/users/jaimecasero/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaimecasero","id":7847241,"avatar_url":"https://avatars.githubusercontent.com/u/7847241?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimecasero","html_url":"https://github.com/jaimecasero","followers_url":"https://api.github.com/users/jaimecasero/followers","following_url":"https://api.github.com/users/jaimecasero/following{/other_user}","gists_url":"https://api.github.com/users/jaimecasero/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimecasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimecasero/subscriptions","organizations_url":"https://api.github.com/users/jaimecasero/orgs","repos_url":"https://api.github.com/users/jaimecasero/repos","events_url":"https://api.github.com/users/jaimecasero/events{/privacy}","received_events_url":"https://api.github.com/users/jaimecasero/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RestComm/jain-sip/pulls/128/commits","review_comments_url":"https://api.github.com/repos/RestComm/jain-sip/pulls/128/comments","review_comment_url":"https://api.github.com/repos/RestComm/jain-sip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RestComm/jain-sip/issues/128/comments","statuses_url":"https://api.github.com/repos/RestComm/jain-sip/statuses/2f2d4758528dc8a8d73edc8ac2689741e8989705","head":{"label":"iant-gmbh:master","ref":"master","sha":"2f2d4758528dc8a8d73edc8ac2689741e8989705","user":{"login":"iant-gmbh","id":966183,"avatar_url":"https://avatars.githubusercontent.com/u/966183?v=3","gravatar_id":"","url":"https://api.github.com/users/iant-gmbh","html_url":"https://github.com/iant-gmbh","followers_url":"https://api.github.com/users/iant-gmbh/followers","following_url":"https://api.github.com/users/iant-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/iant-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/iant-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iant-gmbh/subscriptions","organizations_url":"https://api.github.com/users/iant-gmbh/orgs","repos_url":"https://api.github.com/users/iant-gmbh/repos","events_url":"https://api.github.com/users/iant-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/iant-gmbh/received_events","type":"Organization","site_admin":false},"repo":{"id":71989448,"name":"jain-sip","full_name":"iant-gmbh/jain-sip","owner":{"login":"iant-gmbh","id":966183,"avatar_url":"https://avatars.githubusercontent.com/u/966183?v=3","gravatar_id":"","url":"https://api.github.com/users/iant-gmbh","html_url":"https://github.com/iant-gmbh","followers_url":"https://api.github.com/users/iant-gmbh/followers","following_url":"https://api.github.com/users/iant-gmbh/following{/other_user}","gists_url":"https://api.github.com/users/iant-gmbh/gists{/gist_id}","starred_url":"https://api.github.com/users/iant-gmbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iant-gmbh/subscriptions","organizations_url":"https://api.github.com/users/iant-gmbh/orgs","repos_url":"https://api.github.com/users/iant-gmbh/repos","events_url":"https://api.github.com/users/iant-gmbh/events{/privacy}","received_events_url":"https://api.github.com/users/iant-gmbh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iant-gmbh/jain-sip","description":"Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.","fork":true,"url":"https://api.github.com/repos/iant-gmbh/jain-sip","forks_url":"https://api.github.com/repos/iant-gmbh/jain-sip/forks","keys_url":"https://api.github.com/repos/iant-gmbh/jain-sip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iant-gmbh/jain-sip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iant-gmbh/jain-sip/teams","hooks_url":"https://api.github.com/repos/iant-gmbh/jain-sip/hooks","issue_events_url":"https://api.github.com/repos/iant-gmbh/jain-sip/issues/events{/number}","events_url":"https://api.github.com/repos/iant-gmbh/jain-sip/events","assignees_url":"https://api.github.com/repos/iant-gmbh/jain-sip/assignees{/user}","branches_url":"https://api.github.com/repos/iant-gmbh/jain-sip/branches{/branch}","tags_url":"https://api.github.com/repos/iant-gmbh/jain-sip/tags","blobs_url":"https://api.github.com/repos/iant-gmbh/jain-sip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iant-gmbh/jain-sip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iant-gmbh/jain-sip/git/refs{/sha}","trees_url":"https://api.github.com/repos/iant-gmbh/jain-sip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iant-gmbh/jain-sip/statuses/{sha}","languages_url":"https://api.github.com/repos/iant-gmbh/jain-sip/languages","stargazers_url":"https://api.github.com/repos/iant-gmbh/jain-sip/stargazers","contributors_url":"https://api.github.com/repos/iant-gmbh/jain-sip/contributors","subscribers_url":"https://api.github.com/repos/iant-gmbh/jain-sip/subscribers","subscription_url":"https://api.github.com/repos/iant-gmbh/jain-sip/subscription","commits_url":"https://api.github.com/repos/iant-gmbh/jain-sip/commits{/sha}","git_commits_url":"https://api.github.com/repos/iant-gmbh/jain-sip/git/commits{/sha}","comments_url":"https://api.github.com/repos/iant-gmbh/jain-sip/comments{/number}","issue_comment_url":"https://api.github.com/repos/iant-gmbh/jain-sip/issues/comments{/number}","contents_url":"https://api.github.com/repos/iant-gmbh/jain-sip/contents/{+path}","compare_url":"https://api.github.com/repos/iant-gmbh/jain-sip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iant-gmbh/jain-sip/merges","archive_url":"https://api.github.com/repos/iant-gmbh/jain-sip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iant-gmbh/jain-sip/downloads","issues_url":"https://api.github.com/repos/iant-gmbh/jain-sip/issues{/number}","pulls_url":"https://api.github.com/repos/iant-gmbh/jain-sip/pulls{/number}","milestones_url":"https://api.github.com/repos/iant-gmbh/jain-sip/milestones{/number}","notifications_url":"https://api.github.com/repos/iant-gmbh/jain-sip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iant-gmbh/jain-sip/labels{/name}","releases_url":"https://api.github.com/repos/iant-gmbh/jain-sip/releases{/id}","deployments_url":"https://api.github.com/repos/iant-gmbh/jain-sip/deployments","created_at":"2016-10-26T09:47:57Z","updated_at":"2016-10-26T09:48:01Z","pushed_at":"2016-11-02T14:06:36Z","git_url":"git://github.com/iant-gmbh/jain-sip.git","ssh_url":"git@github.com:iant-gmbh/jain-sip.git","clone_url":"https://github.com/iant-gmbh/jain-sip.git","svn_url":"https://github.com/iant-gmbh/jain-sip","homepage":"https://java.net/projects/jsip","size":15450,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RestComm:master","ref":"master","sha":"475337c9c82d12766ad3f411ad421a7120e7145e","user":{"login":"RestComm","id":667380,"avatar_url":"https://avatars.githubusercontent.com/u/667380?v=3","gravatar_id":"","url":"https://api.github.com/users/RestComm","html_url":"https://github.com/RestComm","followers_url":"https://api.github.com/users/RestComm/followers","following_url":"https://api.github.com/users/RestComm/following{/other_user}","gists_url":"https://api.github.com/users/RestComm/gists{/gist_id}","starred_url":"https://api.github.com/users/RestComm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RestComm/subscriptions","organizations_url":"https://api.github.com/users/RestComm/orgs","repos_url":"https://api.github.com/users/RestComm/repos","events_url":"https://api.github.com/users/RestComm/events{/privacy}","received_events_url":"https://api.github.com/users/RestComm/received_events","type":"Organization","site_admin":false},"repo":{"id":5455331,"name":"jain-sip","full_name":"RestComm/jain-sip","owner":{"login":"RestComm","id":667380,"avatar_url":"https://avatars.githubusercontent.com/u/667380?v=3","gravatar_id":"","url":"https://api.github.com/users/RestComm","html_url":"https://github.com/RestComm","followers_url":"https://api.github.com/users/RestComm/followers","following_url":"https://api.github.com/users/RestComm/following{/other_user}","gists_url":"https://api.github.com/users/RestComm/gists{/gist_id}","starred_url":"https://api.github.com/users/RestComm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RestComm/subscriptions","organizations_url":"https://api.github.com/users/RestComm/orgs","repos_url":"https://api.github.com/users/RestComm/repos","events_url":"https://api.github.com/users/RestComm/events{/privacy}","received_events_url":"https://api.github.com/users/RestComm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RestComm/jain-sip","description":"Disclaimer: This repository is a git-svn mirror of the project found at http://java.net/projects/jsip whose original repository is developed collaboratively by the Advanced Networking Technologies Division at the National Institute of Standards and Technology (NIST) - an agency of the United States Department of Commerce and by a community of individual and enterprise contributors. TeleStax, Inc. will perform some productization work, new features experimentation branches, etc for its TelScale jSIP product that doesn't concern the community from the main repository hence this git repository.","fork":false,"url":"https://api.github.com/repos/RestComm/jain-sip","forks_url":"https://api.github.com/repos/RestComm/jain-sip/forks","keys_url":"https://api.github.com/repos/RestComm/jain-sip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RestComm/jain-sip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RestComm/jain-sip/teams","hooks_url":"https://api.github.com/repos/RestComm/jain-sip/hooks","issue_events_url":"https://api.github.com/repos/RestComm/jain-sip/issues/events{/number}","events_url":"https://api.github.com/repos/RestComm/jain-sip/events","assignees_url":"https://api.github.com/repos/RestComm/jain-sip/assignees{/user}","branches_url":"https://api.github.com/repos/RestComm/jain-sip/branches{/branch}","tags_url":"https://api.github.com/repos/RestComm/jain-sip/tags","blobs_url":"https://api.github.com/repos/RestComm/jain-sip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RestComm/jain-sip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RestComm/jain-sip/git/refs{/sha}","trees_url":"https://api.github.com/repos/RestComm/jain-sip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RestComm/jain-sip/statuses/{sha}","languages_url":"https://api.github.com/repos/RestComm/jain-sip/languages","stargazers_url":"https://api.github.com/repos/RestComm/jain-sip/stargazers","contributors_url":"https://api.github.com/repos/RestComm/jain-sip/contributors","subscribers_url":"https://api.github.com/repos/RestComm/jain-sip/subscribers","subscription_url":"https://api.github.com/repos/RestComm/jain-sip/subscription","commits_url":"https://api.github.com/repos/RestComm/jain-sip/commits{/sha}","git_commits_url":"https://api.github.com/repos/RestComm/jain-sip/git/commits{/sha}","comments_url":"https://api.github.com/repos/RestComm/jain-sip/comments{/number}","issue_comment_url":"https://api.github.com/repos/RestComm/jain-sip/issues/comments{/number}","contents_url":"https://api.github.com/repos/RestComm/jain-sip/contents/{+path}","compare_url":"https://api.github.com/repos/RestComm/jain-sip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RestComm/jain-sip/merges","archive_url":"https://api.github.com/repos/RestComm/jain-sip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RestComm/jain-sip/downloads","issues_url":"https://api.github.com/repos/RestComm/jain-sip/issues{/number}","pulls_url":"https://api.github.com/repos/RestComm/jain-sip/pulls{/number}","milestones_url":"https://api.github.com/repos/RestComm/jain-sip/milestones{/number}","notifications_url":"https://api.github.com/repos/RestComm/jain-sip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RestComm/jain-sip/labels{/name}","releases_url":"https://api.github.com/repos/RestComm/jain-sip/releases{/id}","deployments_url":"https://api.github.com/repos/RestComm/jain-sip/deployments","created_at":"2012-08-17T17:36:00Z","updated_at":"2016-10-24T14:13:09Z","pushed_at":"2016-11-02T14:06:36Z","git_url":"git://github.com/RestComm/jain-sip.git","ssh_url":"git@github.com:RestComm/jain-sip.git","clone_url":"https://github.com/RestComm/jain-sip.git","svn_url":"https://github.com/RestComm/jain-sip","homepage":"https://java.net/projects/jsip","size":16570,"stargazers_count":31,"watchers_count":31,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":34,"forks":57,"open_issues":34,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/128"},"html":{"href":"https://github.com/RestComm/jain-sip/pull/128"},"issue":{"href":"https://api.github.com/repos/RestComm/jain-sip/issues/128"},"comments":{"href":"https://api.github.com/repos/RestComm/jain-sip/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RestComm/jain-sip/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/RestComm/jain-sip/statuses/2f2d4758528dc8a8d73edc8ac2689741e8989705"}}}}
{"actor":{"display_login":"jaimecasero"}}