{"action":"created","comment":{"url":"https://api.github.com/repos/ilabsea/verboice/pulls/comments/238903582","pull_request_review_id":181558585,"id":238903582,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODkwMzU4Mg==","diff_hunk":"@@ -784,6 +802,19 @@ reschedule_failed_call(Reason, #session{queued_call = QueuedCall, call_log = Cal\n     false -> {NewRetries, \"failed\"}\n   end.\n \n+handle_upsert_fail_outgoing_call(QueuedCall) ->\n+  IsMarkedIncomingCallFlow = QueuedCall#queued_call.is_marked_incoming_call_flow,\n+  Address = QueuedCall#queued_call.address,\n+  CallFlowId = QueuedCall#queued_call.call_flow_id,\n+\n+  if\n+    IsMarkedIncomingCallFlow == 1 ->\n+      FailCall = fail_outgoing_call:find_or_create([{address, Address}]),\n+      FailCall:update([{call_flow_id, CallFlowId}]);\n+    true ->\n+      lager:info(\"don't update fail outgoing call\")","path":"broker/src/session/session.erl","position":110,"original_position":110,"commit_id":"7a42714e07445bf77ea8fa54a63b198cfe0e5d22","original_commit_id":"7a42714e07445bf77ea8fa54a63b198cfe0e5d22","user":{"login":"kakada","id":745429,"node_id":"MDQ6VXNlcjc0NTQyOQ==","avatar_url":"https://avatars3.githubusercontent.com/u/745429?v=4","gravatar_id":"","url":"https://api.github.com/users/kakada","html_url":"https://github.com/kakada","followers_url":"https://api.github.com/users/kakada/followers","following_url":"https://api.github.com/users/kakada/following{/other_user}","gists_url":"https://api.github.com/users/kakada/gists{/gist_id}","starred_url":"https://api.github.com/users/kakada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakada/subscriptions","organizations_url":"https://api.github.com/users/kakada/orgs","repos_url":"https://api.github.com/users/kakada/repos","events_url":"https://api.github.com/users/kakada/events{/privacy}","received_events_url":"https://api.github.com/users/kakada/received_events","type":"User","site_admin":false},"body":"we're not interested in this so we should not log this info","created_at":"2018-12-05T01:31:58Z","updated_at":"2018-12-05T01:31:59Z","html_url":"https://github.com/ilabsea/verboice/pull/8#discussion_r238903582","pull_request_url":"https://api.github.com/repos/ilabsea/verboice/pulls/8","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/comments/238903582"},"html":{"href":"https://github.com/ilabsea/verboice/pull/8#discussion_r238903582"},"pull_request":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ilabsea/verboice/pulls/8","id":234904394,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0OTA0Mzk0","html_url":"https://github.com/ilabsea/verboice/pull/8","diff_url":"https://github.com/ilabsea/verboice/pull/8.diff","patch_url":"https://github.com/ilabsea/verboice/pull/8.patch","issue_url":"https://api.github.com/repos/ilabsea/verboice/issues/8","number":8,"state":"open","locked":false,"title":"Mark incoming call flow","user":{"login":"hengsokly","id":2408132,"node_id":"MDQ6VXNlcjI0MDgxMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/2408132?v=4","gravatar_id":"","url":"https://api.github.com/users/hengsokly","html_url":"https://github.com/hengsokly","followers_url":"https://api.github.com/users/hengsokly/followers","following_url":"https://api.github.com/users/hengsokly/following{/other_user}","gists_url":"https://api.github.com/users/hengsokly/gists{/gist_id}","starred_url":"https://api.github.com/users/hengsokly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hengsokly/subscriptions","organizations_url":"https://api.github.com/users/hengsokly/orgs","repos_url":"https://api.github.com/users/hengsokly/repos","events_url":"https://api.github.com/users/hengsokly/events{/privacy}","received_events_url":"https://api.github.com/users/hengsokly/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-30T08:12:59Z","updated_at":"2018-12-05T01:31:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5e9fcae71192c4a232af145e355ecb6c2afec10","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ilabsea/verboice/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ilabsea/verboice/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ilabsea/verboice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ilabsea/verboice/issues/8/comments","statuses_url":"https://api.github.com/repos/ilabsea/verboice/statuses/7a42714e07445bf77ea8fa54a63b198cfe0e5d22","head":{"label":"ilabsea:mark_incoming_call_flow","ref":"mark_incoming_call_flow","sha":"7a42714e07445bf77ea8fa54a63b198cfe0e5d22","user":{"login":"ilabsea","id":7487090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0ODcwOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7487090?v=4","gravatar_id":"","url":"https://api.github.com/users/ilabsea","html_url":"https://github.com/ilabsea","followers_url":"https://api.github.com/users/ilabsea/followers","following_url":"https://api.github.com/users/ilabsea/following{/other_user}","gists_url":"https://api.github.com/users/ilabsea/gists{/gist_id}","starred_url":"https://api.github.com/users/ilabsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilabsea/subscriptions","organizations_url":"https://api.github.com/users/ilabsea/orgs","repos_url":"https://api.github.com/users/ilabsea/repos","events_url":"https://api.github.com/users/ilabsea/events{/privacy}","received_events_url":"https://api.github.com/users/ilabsea/received_events","type":"Organization","site_admin":false},"repo":{"id":27108042,"node_id":"MDEwOlJlcG9zaXRvcnkyNzEwODA0Mg==","name":"verboice","full_name":"ilabsea/verboice","private":false,"owner":{"login":"ilabsea","id":7487090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0ODcwOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7487090?v=4","gravatar_id":"","url":"https://api.github.com/users/ilabsea","html_url":"https://github.com/ilabsea","followers_url":"https://api.github.com/users/ilabsea/followers","following_url":"https://api.github.com/users/ilabsea/following{/other_user}","gists_url":"https://api.github.com/users/ilabsea/gists{/gist_id}","starred_url":"https://api.github.com/users/ilabsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilabsea/subscriptions","organizations_url":"https://api.github.com/users/ilabsea/orgs","repos_url":"https://api.github.com/users/ilabsea/repos","events_url":"https://api.github.com/users/ilabsea/events{/privacy}","received_events_url":"https://api.github.com/users/ilabsea/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ilabsea/verboice","description":"Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations","fork":true,"url":"https://api.github.com/repos/ilabsea/verboice","forks_url":"https://api.github.com/repos/ilabsea/verboice/forks","keys_url":"https://api.github.com/repos/ilabsea/verboice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilabsea/verboice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilabsea/verboice/teams","hooks_url":"https://api.github.com/repos/ilabsea/verboice/hooks","issue_events_url":"https://api.github.com/repos/ilabsea/verboice/issues/events{/number}","events_url":"https://api.github.com/repos/ilabsea/verboice/events","assignees_url":"https://api.github.com/repos/ilabsea/verboice/assignees{/user}","branches_url":"https://api.github.com/repos/ilabsea/verboice/branches{/branch}","tags_url":"https://api.github.com/repos/ilabsea/verboice/tags","blobs_url":"https://api.github.com/repos/ilabsea/verboice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilabsea/verboice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilabsea/verboice/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilabsea/verboice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilabsea/verboice/statuses/{sha}","languages_url":"https://api.github.com/repos/ilabsea/verboice/languages","stargazers_url":"https://api.github.com/repos/ilabsea/verboice/stargazers","contributors_url":"https://api.github.com/repos/ilabsea/verboice/contributors","subscribers_url":"https://api.github.com/repos/ilabsea/verboice/subscribers","subscription_url":"https://api.github.com/repos/ilabsea/verboice/subscription","commits_url":"https://api.github.com/repos/ilabsea/verboice/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilabsea/verboice/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilabsea/verboice/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilabsea/verboice/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilabsea/verboice/contents/{+path}","compare_url":"https://api.github.com/repos/ilabsea/verboice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilabsea/verboice/merges","archive_url":"https://api.github.com/repos/ilabsea/verboice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilabsea/verboice/downloads","issues_url":"https://api.github.com/repos/ilabsea/verboice/issues{/number}","pulls_url":"https://api.github.com/repos/ilabsea/verboice/pulls{/number}","milestones_url":"https://api.github.com/repos/ilabsea/verboice/milestones{/number}","notifications_url":"https://api.github.com/repos/ilabsea/verboice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilabsea/verboice/labels{/name}","releases_url":"https://api.github.com/repos/ilabsea/verboice/releases{/id}","deployments_url":"https://api.github.com/repos/ilabsea/verboice/deployments","created_at":"2014-11-25T03:53:04Z","updated_at":"2018-08-23T01:38:10Z","pushed_at":"2018-12-03T09:34:50Z","git_url":"git://github.com/ilabsea/verboice.git","ssh_url":"git@github.com:ilabsea/verboice.git","clone_url":"https://github.com/ilabsea/verboice.git","svn_url":"https://github.com/ilabsea/verboice","homepage":"http://verboice.instedd.org","size":15604,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ilabsea:stable-merge-bitbucket","ref":"stable-merge-bitbucket","sha":"df3c861d37cc8813b3ceb91039245ca9f80698b7","user":{"login":"ilabsea","id":7487090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0ODcwOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7487090?v=4","gravatar_id":"","url":"https://api.github.com/users/ilabsea","html_url":"https://github.com/ilabsea","followers_url":"https://api.github.com/users/ilabsea/followers","following_url":"https://api.github.com/users/ilabsea/following{/other_user}","gists_url":"https://api.github.com/users/ilabsea/gists{/gist_id}","starred_url":"https://api.github.com/users/ilabsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilabsea/subscriptions","organizations_url":"https://api.github.com/users/ilabsea/orgs","repos_url":"https://api.github.com/users/ilabsea/repos","events_url":"https://api.github.com/users/ilabsea/events{/privacy}","received_events_url":"https://api.github.com/users/ilabsea/received_events","type":"Organization","site_admin":false},"repo":{"id":27108042,"node_id":"MDEwOlJlcG9zaXRvcnkyNzEwODA0Mg==","name":"verboice","full_name":"ilabsea/verboice","private":false,"owner":{"login":"ilabsea","id":7487090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc0ODcwOTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7487090?v=4","gravatar_id":"","url":"https://api.github.com/users/ilabsea","html_url":"https://github.com/ilabsea","followers_url":"https://api.github.com/users/ilabsea/followers","following_url":"https://api.github.com/users/ilabsea/following{/other_user}","gists_url":"https://api.github.com/users/ilabsea/gists{/gist_id}","starred_url":"https://api.github.com/users/ilabsea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilabsea/subscriptions","organizations_url":"https://api.github.com/users/ilabsea/orgs","repos_url":"https://api.github.com/users/ilabsea/repos","events_url":"https://api.github.com/users/ilabsea/events{/privacy}","received_events_url":"https://api.github.com/users/ilabsea/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ilabsea/verboice","description":"Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations","fork":true,"url":"https://api.github.com/repos/ilabsea/verboice","forks_url":"https://api.github.com/repos/ilabsea/verboice/forks","keys_url":"https://api.github.com/repos/ilabsea/verboice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilabsea/verboice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilabsea/verboice/teams","hooks_url":"https://api.github.com/repos/ilabsea/verboice/hooks","issue_events_url":"https://api.github.com/repos/ilabsea/verboice/issues/events{/number}","events_url":"https://api.github.com/repos/ilabsea/verboice/events","assignees_url":"https://api.github.com/repos/ilabsea/verboice/assignees{/user}","branches_url":"https://api.github.com/repos/ilabsea/verboice/branches{/branch}","tags_url":"https://api.github.com/repos/ilabsea/verboice/tags","blobs_url":"https://api.github.com/repos/ilabsea/verboice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilabsea/verboice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilabsea/verboice/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilabsea/verboice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilabsea/verboice/statuses/{sha}","languages_url":"https://api.github.com/repos/ilabsea/verboice/languages","stargazers_url":"https://api.github.com/repos/ilabsea/verboice/stargazers","contributors_url":"https://api.github.com/repos/ilabsea/verboice/contributors","subscribers_url":"https://api.github.com/repos/ilabsea/verboice/subscribers","subscription_url":"https://api.github.com/repos/ilabsea/verboice/subscription","commits_url":"https://api.github.com/repos/ilabsea/verboice/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilabsea/verboice/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilabsea/verboice/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilabsea/verboice/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilabsea/verboice/contents/{+path}","compare_url":"https://api.github.com/repos/ilabsea/verboice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilabsea/verboice/merges","archive_url":"https://api.github.com/repos/ilabsea/verboice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilabsea/verboice/downloads","issues_url":"https://api.github.com/repos/ilabsea/verboice/issues{/number}","pulls_url":"https://api.github.com/repos/ilabsea/verboice/pulls{/number}","milestones_url":"https://api.github.com/repos/ilabsea/verboice/milestones{/number}","notifications_url":"https://api.github.com/repos/ilabsea/verboice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilabsea/verboice/labels{/name}","releases_url":"https://api.github.com/repos/ilabsea/verboice/releases{/id}","deployments_url":"https://api.github.com/repos/ilabsea/verboice/deployments","created_at":"2014-11-25T03:53:04Z","updated_at":"2018-08-23T01:38:10Z","pushed_at":"2018-12-03T09:34:50Z","git_url":"git://github.com/ilabsea/verboice.git","ssh_url":"git@github.com:ilabsea/verboice.git","clone_url":"https://github.com/ilabsea/verboice.git","svn_url":"https://github.com/ilabsea/verboice","homepage":"http://verboice.instedd.org","size":15604,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/8"},"html":{"href":"https://github.com/ilabsea/verboice/pull/8"},"issue":{"href":"https://api.github.com/repos/ilabsea/verboice/issues/8"},"comments":{"href":"https://api.github.com/repos/ilabsea/verboice/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ilabsea/verboice/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ilabsea/verboice/statuses/7a42714e07445bf77ea8fa54a63b198cfe0e5d22"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kakada"}}