{"action":"created","issue":{"url":"https://api.github.com/repos/onsip/SIP.js/issues/25","labels_url":"https://api.github.com/repos/onsip/SIP.js/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/onsip/SIP.js/issues/25/comments","events_url":"https://api.github.com/repos/onsip/SIP.js/issues/25/events","html_url":"https://github.com/onsip/SIP.js/issues/25","id":34335253,"number":25,"title":"Do not immediate terminate REFER subscription","user":{"login":"wakamoleguy","id":3210372,"avatar_url":"https://avatars.githubusercontent.com/u/3210372?v=3","gravatar_id":"","url":"https://api.github.com/users/wakamoleguy","html_url":"https://github.com/wakamoleguy","followers_url":"https://api.github.com/users/wakamoleguy/followers","following_url":"https://api.github.com/users/wakamoleguy/following{/other_user}","gists_url":"https://api.github.com/users/wakamoleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/wakamoleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakamoleguy/subscriptions","organizations_url":"https://api.github.com/users/wakamoleguy/orgs","repos_url":"https://api.github.com/users/wakamoleguy/repos","events_url":"https://api.github.com/users/wakamoleguy/events{/privacy}","received_events_url":"https://api.github.com/users/wakamoleguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/onsip/SIP.js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/onsip/SIP.js/milestones/3","html_url":"https://github.com/onsip/SIP.js/milestones/0.8.0","labels_url":"https://api.github.com/repos/onsip/SIP.js/milestones/3/labels","id":879078,"number":3,"title":"0.8.0","description":"As we approach the next milestone, this will be used for enhancements which will not be included in 0.7.0.","creator":{"login":"wakamoleguy","id":3210372,"avatar_url":"https://avatars.githubusercontent.com/u/3210372?v=3","gravatar_id":"","url":"https://api.github.com/users/wakamoleguy","html_url":"https://github.com/wakamoleguy","followers_url":"https://api.github.com/users/wakamoleguy/followers","following_url":"https://api.github.com/users/wakamoleguy/following{/other_user}","gists_url":"https://api.github.com/users/wakamoleguy/gists{/gist_id}","starred_url":"https://api.github.com/users/wakamoleguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wakamoleguy/subscriptions","organizations_url":"https://api.github.com/users/wakamoleguy/orgs","repos_url":"https://api.github.com/users/wakamoleguy/repos","events_url":"https://api.github.com/users/wakamoleguy/events{/privacy}","received_events_url":"https://api.github.com/users/wakamoleguy/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2014-11-24T22:27:24Z","updated_at":"2015-04-23T14:30:14Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-05-27T00:48:53Z","updated_at":"2015-11-14T17:17:03Z","closed_at":null,"body":"This was [requested in the mailing list](https://groups.google.com/forum/#!topic/sip_js/j2Y2oIjZ94s).\r\n\r\nWhen receiving a REFER, the SIP.js user agent replies with a NOTIFY request immediately terminating the subscription.  This is valid as per [RFC 3515 Section 2.4.4](http://tools.ietf.org/html/rfc3515#section-2.4.4), but more complete information (see section 2.4.5 of the RFC) would be nice."},"comment":{"url":"https://api.github.com/repos/onsip/SIP.js/issues/comments/156721208","html_url":"https://github.com/onsip/SIP.js/issues/25#issuecomment-156721208","issue_url":"https://api.github.com/repos/onsip/SIP.js/issues/25","id":156721208,"user":{"login":"klarrimore","id":7678,"avatar_url":"https://avatars.githubusercontent.com/u/7678?v=3","gravatar_id":"","url":"https://api.github.com/users/klarrimore","html_url":"https://github.com/klarrimore","followers_url":"https://api.github.com/users/klarrimore/followers","following_url":"https://api.github.com/users/klarrimore/following{/other_user}","gists_url":"https://api.github.com/users/klarrimore/gists{/gist_id}","starred_url":"https://api.github.com/users/klarrimore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarrimore/subscriptions","organizations_url":"https://api.github.com/users/klarrimore/orgs","repos_url":"https://api.github.com/users/klarrimore/repos","events_url":"https://api.github.com/users/klarrimore/events{/privacy}","received_events_url":"https://api.github.com/users/klarrimore/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T17:17:03Z","updated_at":"2015-11-14T17:17:03Z","body":"There's a similar but much more significant issue on the REFER request side in Session.refer.  On a 2XX response to a REFER with replaces, the Session immediately terminates.  The Session needs the ability to continue to stay up to respond and act on the actual NOTIFY.  The original 202 response simply means it's subscribed.  Should I break this out into another issue?"}}