{"action":"created","issue":{"url":"https://api.github.com/repos/creytiv/re/issues/165","repository_url":"https://api.github.com/repos/creytiv/re","labels_url":"https://api.github.com/repos/creytiv/re/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/creytiv/re/issues/165/comments","events_url":"https://api.github.com/repos/creytiv/re/issues/165/events","html_url":"https://github.com/creytiv/re/issues/165","id":373600067,"node_id":"MDU6SXNzdWUzNzM2MDAwNjc=","number":165,"title":"add support for receiving UPDATE requests","user":{"login":"juha-h","id":6271940,"node_id":"MDQ6VXNlcjYyNzE5NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6271940?v=4","gravatar_id":"","url":"https://api.github.com/users/juha-h","html_url":"https://github.com/juha-h","followers_url":"https://api.github.com/users/juha-h/followers","following_url":"https://api.github.com/users/juha-h/following{/other_user}","gists_url":"https://api.github.com/users/juha-h/gists{/gist_id}","starred_url":"https://api.github.com/users/juha-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juha-h/subscriptions","organizations_url":"https://api.github.com/users/juha-h/orgs","repos_url":"https://api.github.com/users/juha-h/repos","events_url":"https://api.github.com/users/juha-h/events{/privacy}","received_events_url":"https://api.github.com/users/juha-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T17:45:34Z","updated_at":"2018-12-20T10:59:53Z","closed_at":null,"author_association":"NONE","body":"I'm returning to the old issue of adding support for receiving UPDATE requests.  I read RFC 3311 and here is my summary on what would need to be done:\r\n\r\n- add UPDATE in Allow header of INVITE and 2xx response (in baresip)\r\n\r\n- if UPDATE is received and dialog (early or confirmed) has not been\r\n  established yet, or, if dialog has been established but reply has not\r\n  yet been received to in-dialog INVITE, 491 Request Pending response is\r\n  generated\r\n\r\n- if UPDATE is received before response is sent to earlier UPDATE or\r\n   INVITE request, 500 response is generated to the UPDATE with Retry-After\r\n   between 0 and 10 sec\r\n\r\n- when UPDATE is received and the previous two conditions don't exist:\r\n\r\n  - UAS must update session parameters and generate 2xx response or, if\r\n  session parameters are not acceptable, generate 488 response\r\n\r\n  - UAS must update remote target based on Contact header of UPDATE\r\n\r\nThe above does not look too complicated, but I'm not any re expert. Can it happen that processing of received requests from the same peer overlap or are they handled sequentially?"},"comment":{"url":"https://api.github.com/repos/creytiv/re/issues/comments/448957341","html_url":"https://github.com/creytiv/re/issues/165#issuecomment-448957341","issue_url":"https://api.github.com/repos/creytiv/re/issues/165","id":448957341,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk1NzM0MQ==","user":{"login":"juha-h","id":6271940,"node_id":"MDQ6VXNlcjYyNzE5NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6271940?v=4","gravatar_id":"","url":"https://api.github.com/users/juha-h","html_url":"https://github.com/juha-h","followers_url":"https://api.github.com/users/juha-h/followers","following_url":"https://api.github.com/users/juha-h/following{/other_user}","gists_url":"https://api.github.com/users/juha-h/gists{/gist_id}","starred_url":"https://api.github.com/users/juha-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juha-h/subscriptions","organizations_url":"https://api.github.com/users/juha-h/orgs","repos_url":"https://api.github.com/users/juha-h/repos","events_url":"https://api.github.com/users/juha-h/events{/privacy}","received_events_url":"https://api.github.com/users/juha-h/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T10:59:53Z","updated_at":"2018-12-20T10:59:53Z","author_association":"NONE","body":"Alfred E. Heggestad writes:\n\n> SIP UPDATE is already on the Roadmap:\n> \n> https://github.com/creytiv/re/wiki/Roadmap\n> \n> it is very unlikely that we are able to implement this in the near\n> future.\n\nIf you could answer the question I made, perhaps I could try to\nimplement it.\n"}}
{"actor":{"display_login":"juha-h"}}