{"action":"opened","number":75,"pull_request":{"url":"https://api.github.com/repos/Eyepea/aiosip/pulls/75","id":175624549,"html_url":"https://github.com/Eyepea/aiosip/pull/75","diff_url":"https://github.com/Eyepea/aiosip/pull/75.diff","patch_url":"https://github.com/Eyepea/aiosip/pull/75.patch","issue_url":"https://api.github.com/repos/Eyepea/aiosip/issues/75","number":75,"state":"open","locked":false,"title":"Improve subscription example","user":{"login":"vodik","id":216803,"avatar_url":"https://avatars1.githubusercontent.com/u/216803?v=4","gravatar_id":"","url":"https://api.github.com/users/vodik","html_url":"https://github.com/vodik","followers_url":"https://api.github.com/users/vodik/followers","following_url":"https://api.github.com/users/vodik/following{/other_user}","gists_url":"https://api.github.com/users/vodik/gists{/gist_id}","starred_url":"https://api.github.com/users/vodik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vodik/subscriptions","organizations_url":"https://api.github.com/users/vodik/orgs","repos_url":"https://api.github.com/users/vodik/repos","events_url":"https://api.github.com/users/vodik/events{/privacy}","received_events_url":"https://api.github.com/users/vodik/received_events","type":"User","site_admin":false},"body":"Forgot to fix up the examples with #74 \r\n\r\nThis PR fixes and improved the subscription example.\r\n\r\nInstead of sending a fixed number of messages, we'll keep sending them forever until an unsubscribe message arrives. Should also properly handle unsubscribe events.\r\n\r\nStill need to add some logic that we stop the subscription if it expires, but still a notable improvement over what was there before.\r\n\r\nAnd to showcase this, the client can now set the duration they'd like to subscribe for, in seconds.","created_at":"2018-03-16T19:22:07Z","updated_at":"2018-03-16T19:22:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Eyepea/aiosip/pulls/75/commits","review_comments_url":"https://api.github.com/repos/Eyepea/aiosip/pulls/75/comments","review_comment_url":"https://api.github.com/repos/Eyepea/aiosip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eyepea/aiosip/issues/75/comments","statuses_url":"https://api.github.com/repos/Eyepea/aiosip/statuses/4b7dde6178b804fbd4bb2a33ffc28035b09ef342","head":{"label":"sangoma:improved-subscribe-example","ref":"improved-subscribe-example","sha":"4b7dde6178b804fbd4bb2a33ffc28035b09ef342","user":{"login":"sangoma","id":8573901,"avatar_url":"https://avatars3.githubusercontent.com/u/8573901?v=4","gravatar_id":"","url":"https://api.github.com/users/sangoma","html_url":"https://github.com/sangoma","followers_url":"https://api.github.com/users/sangoma/followers","following_url":"https://api.github.com/users/sangoma/following{/other_user}","gists_url":"https://api.github.com/users/sangoma/gists{/gist_id}","starred_url":"https://api.github.com/users/sangoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangoma/subscriptions","organizations_url":"https://api.github.com/users/sangoma/orgs","repos_url":"https://api.github.com/users/sangoma/repos","events_url":"https://api.github.com/users/sangoma/events{/privacy}","received_events_url":"https://api.github.com/users/sangoma/received_events","type":"Organization","site_admin":false},"repo":{"id":62002208,"name":"aiosip","full_name":"sangoma/aiosip","owner":{"login":"sangoma","id":8573901,"avatar_url":"https://avatars3.githubusercontent.com/u/8573901?v=4","gravatar_id":"","url":"https://api.github.com/users/sangoma","html_url":"https://github.com/sangoma","followers_url":"https://api.github.com/users/sangoma/followers","following_url":"https://api.github.com/users/sangoma/following{/other_user}","gists_url":"https://api.github.com/users/sangoma/gists{/gist_id}","starred_url":"https://api.github.com/users/sangoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangoma/subscriptions","organizations_url":"https://api.github.com/users/sangoma/orgs","repos_url":"https://api.github.com/users/sangoma/repos","events_url":"https://api.github.com/users/sangoma/events{/privacy}","received_events_url":"https://api.github.com/users/sangoma/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sangoma/aiosip","description":"SIP support for AsyncIO","fork":true,"url":"https://api.github.com/repos/sangoma/aiosip","forks_url":"https://api.github.com/repos/sangoma/aiosip/forks","keys_url":"https://api.github.com/repos/sangoma/aiosip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sangoma/aiosip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sangoma/aiosip/teams","hooks_url":"https://api.github.com/repos/sangoma/aiosip/hooks","issue_events_url":"https://api.github.com/repos/sangoma/aiosip/issues/events{/number}","events_url":"https://api.github.com/repos/sangoma/aiosip/events","assignees_url":"https://api.github.com/repos/sangoma/aiosip/assignees{/user}","branches_url":"https://api.github.com/repos/sangoma/aiosip/branches{/branch}","tags_url":"https://api.github.com/repos/sangoma/aiosip/tags","blobs_url":"https://api.github.com/repos/sangoma/aiosip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sangoma/aiosip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sangoma/aiosip/git/refs{/sha}","trees_url":"https://api.github.com/repos/sangoma/aiosip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sangoma/aiosip/statuses/{sha}","languages_url":"https://api.github.com/repos/sangoma/aiosip/languages","stargazers_url":"https://api.github.com/repos/sangoma/aiosip/stargazers","contributors_url":"https://api.github.com/repos/sangoma/aiosip/contributors","subscribers_url":"https://api.github.com/repos/sangoma/aiosip/subscribers","subscription_url":"https://api.github.com/repos/sangoma/aiosip/subscription","commits_url":"https://api.github.com/repos/sangoma/aiosip/commits{/sha}","git_commits_url":"https://api.github.com/repos/sangoma/aiosip/git/commits{/sha}","comments_url":"https://api.github.com/repos/sangoma/aiosip/comments{/number}","issue_comment_url":"https://api.github.com/repos/sangoma/aiosip/issues/comments{/number}","contents_url":"https://api.github.com/repos/sangoma/aiosip/contents/{+path}","compare_url":"https://api.github.com/repos/sangoma/aiosip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sangoma/aiosip/merges","archive_url":"https://api.github.com/repos/sangoma/aiosip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sangoma/aiosip/downloads","issues_url":"https://api.github.com/repos/sangoma/aiosip/issues{/number}","pulls_url":"https://api.github.com/repos/sangoma/aiosip/pulls{/number}","milestones_url":"https://api.github.com/repos/sangoma/aiosip/milestones{/number}","notifications_url":"https://api.github.com/repos/sangoma/aiosip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sangoma/aiosip/labels{/name}","releases_url":"https://api.github.com/repos/sangoma/aiosip/releases{/id}","deployments_url":"https://api.github.com/repos/sangoma/aiosip/deployments","created_at":"2016-06-26T18:19:17Z","updated_at":"2018-03-16T18:41:49Z","pushed_at":"2018-03-16T19:19:56Z","git_url":"git://github.com/sangoma/aiosip.git","ssh_url":"git@github.com:sangoma/aiosip.git","clone_url":"https://github.com/sangoma/aiosip.git","svn_url":"https://github.com/sangoma/aiosip","homepage":null,"size":228,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Eyepea:master","ref":"master","sha":"82c915342195c10cb93dd4373deae445f6322ad7","user":{"login":"Eyepea","id":1528157,"avatar_url":"https://avatars3.githubusercontent.com/u/1528157?v=4","gravatar_id":"","url":"https://api.github.com/users/Eyepea","html_url":"https://github.com/Eyepea","followers_url":"https://api.github.com/users/Eyepea/followers","following_url":"https://api.github.com/users/Eyepea/following{/other_user}","gists_url":"https://api.github.com/users/Eyepea/gists{/gist_id}","starred_url":"https://api.github.com/users/Eyepea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eyepea/subscriptions","organizations_url":"https://api.github.com/users/Eyepea/orgs","repos_url":"https://api.github.com/users/Eyepea/repos","events_url":"https://api.github.com/users/Eyepea/events{/privacy}","received_events_url":"https://api.github.com/users/Eyepea/received_events","type":"Organization","site_admin":false},"repo":{"id":39439115,"name":"aiosip","full_name":"Eyepea/aiosip","owner":{"login":"Eyepea","id":1528157,"avatar_url":"https://avatars3.githubusercontent.com/u/1528157?v=4","gravatar_id":"","url":"https://api.github.com/users/Eyepea","html_url":"https://github.com/Eyepea","followers_url":"https://api.github.com/users/Eyepea/followers","following_url":"https://api.github.com/users/Eyepea/following{/other_user}","gists_url":"https://api.github.com/users/Eyepea/gists{/gist_id}","starred_url":"https://api.github.com/users/Eyepea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eyepea/subscriptions","organizations_url":"https://api.github.com/users/Eyepea/orgs","repos_url":"https://api.github.com/users/Eyepea/repos","events_url":"https://api.github.com/users/Eyepea/events{/privacy}","received_events_url":"https://api.github.com/users/Eyepea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eyepea/aiosip","description":"SIP support for AsyncIO","fork":false,"url":"https://api.github.com/repos/Eyepea/aiosip","forks_url":"https://api.github.com/repos/Eyepea/aiosip/forks","keys_url":"https://api.github.com/repos/Eyepea/aiosip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eyepea/aiosip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eyepea/aiosip/teams","hooks_url":"https://api.github.com/repos/Eyepea/aiosip/hooks","issue_events_url":"https://api.github.com/repos/Eyepea/aiosip/issues/events{/number}","events_url":"https://api.github.com/repos/Eyepea/aiosip/events","assignees_url":"https://api.github.com/repos/Eyepea/aiosip/assignees{/user}","branches_url":"https://api.github.com/repos/Eyepea/aiosip/branches{/branch}","tags_url":"https://api.github.com/repos/Eyepea/aiosip/tags","blobs_url":"https://api.github.com/repos/Eyepea/aiosip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eyepea/aiosip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eyepea/aiosip/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eyepea/aiosip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eyepea/aiosip/statuses/{sha}","languages_url":"https://api.github.com/repos/Eyepea/aiosip/languages","stargazers_url":"https://api.github.com/repos/Eyepea/aiosip/stargazers","contributors_url":"https://api.github.com/repos/Eyepea/aiosip/contributors","subscribers_url":"https://api.github.com/repos/Eyepea/aiosip/subscribers","subscription_url":"https://api.github.com/repos/Eyepea/aiosip/subscription","commits_url":"https://api.github.com/repos/Eyepea/aiosip/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eyepea/aiosip/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eyepea/aiosip/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eyepea/aiosip/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eyepea/aiosip/contents/{+path}","compare_url":"https://api.github.com/repos/Eyepea/aiosip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eyepea/aiosip/merges","archive_url":"https://api.github.com/repos/Eyepea/aiosip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eyepea/aiosip/downloads","issues_url":"https://api.github.com/repos/Eyepea/aiosip/issues{/number}","pulls_url":"https://api.github.com/repos/Eyepea/aiosip/pulls{/number}","milestones_url":"https://api.github.com/repos/Eyepea/aiosip/milestones{/number}","notifications_url":"https://api.github.com/repos/Eyepea/aiosip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eyepea/aiosip/labels{/name}","releases_url":"https://api.github.com/repos/Eyepea/aiosip/releases{/id}","deployments_url":"https://api.github.com/repos/Eyepea/aiosip/deployments","created_at":"2015-07-21T10:26:09Z","updated_at":"2018-03-16T17:18:15Z","pushed_at":"2018-03-16T17:18:13Z","git_url":"git://github.com/Eyepea/aiosip.git","ssh_url":"git@github.com:Eyepea/aiosip.git","clone_url":"https://github.com/Eyepea/aiosip.git","svn_url":"https://github.com/Eyepea/aiosip","homepage":null,"size":209,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":13,"open_issues":8,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Eyepea/aiosip/pulls/75"},"html":{"href":"https://github.com/Eyepea/aiosip/pull/75"},"issue":{"href":"https://api.github.com/repos/Eyepea/aiosip/issues/75"},"comments":{"href":"https://api.github.com/repos/Eyepea/aiosip/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/Eyepea/aiosip/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/Eyepea/aiosip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eyepea/aiosip/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/Eyepea/aiosip/statuses/4b7dde6178b804fbd4bb2a33ffc28035b09ef342"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":37,"deletions":42,"changed_files":3}}
{"actor":{"display_login":"vodik"}}