{"action":"closed","issue":{"url":"https://api.github.com/repos/pexip/pexkit-sdk/issues/27","repository_url":"https://api.github.com/repos/pexip/pexkit-sdk","labels_url":"https://api.github.com/repos/pexip/pexkit-sdk/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/pexip/pexkit-sdk/issues/27/comments","events_url":"https://api.github.com/repos/pexip/pexkit-sdk/issues/27/events","html_url":"https://github.com/pexip/pexkit-sdk/issues/27","id":151360075,"number":27,"title":"[iOS] Provide some flexibility for setting conference aliases ","user":{"login":"miguelsanchez","id":777163,"avatar_url":"https://avatars.githubusercontent.com/u/777163?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelsanchez","html_url":"https://github.com/miguelsanchez","followers_url":"https://api.github.com/users/miguelsanchez/followers","following_url":"https://api.github.com/users/miguelsanchez/following{/other_user}","gists_url":"https://api.github.com/users/miguelsanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelsanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelsanchez/subscriptions","organizations_url":"https://api.github.com/users/miguelsanchez/orgs","repos_url":"https://api.github.com/users/miguelsanchez/repos","events_url":"https://api.github.com/users/miguelsanchez/events{/privacy}","received_events_url":"https://api.github.com/users/miguelsanchez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-27T11:11:27Z","updated_at":"2016-09-27T08:40:16Z","closed_at":"2016-09-27T08:40:15Z","body":"Currently on iOS, conference aliases are created based on a conferenceURI that is initialized with a conference ID and a host:\r\n\r\n`let uri = ConferenceURI(conference: \"535326134\", host: \"node.com\")`\r\n\r\nOnce created, after connecting to the conference when we try to request a token it doesn't work because the POST request uses a conference alias in the form of `<confID@node>` whereas our server accepts `<confID>` and thus the request fails as follows:\r\n\r\n`About to post to /api/client/v2/conferences/535326134@node.com/request_token?display_name=miguel`\r\n\r\n`REQUEST TOKEN RESPONSE {\r\n    result = \"Neither conference nor gateway found\";\r\n    status = failed;\r\n}`\r\n\r\nWe have observed this same issue in both iOS and Android but we have also checked that we can get the token if we used the right form of the conference alias for our server (`<confID>`) instead of the one including the node (`<confID@node>`)\r\n\r\nCould the SDK be modified to be more flexible so that we can specify this preferred conference alias definition?\r\n\r\nThanks in advance\r\n"}}
{"actor":{"display_login":"ianmorty"}}