{"action":"created","issue":{"url":"https://api.github.com/repos/meetecho/janus-gateway/issues/274","labels_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/274/comments","events_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/274/events","html_url":"https://github.com/meetecho/janus-gateway/issues/274","id":92581211,"number":274,"title":"sip: Registering... but not really","user":{"login":"saghul","id":317464,"avatar_url":"https://avatars.githubusercontent.com/u/317464?v=3","gravatar_id":"","url":"https://api.github.com/users/saghul","html_url":"https://github.com/saghul","followers_url":"https://api.github.com/users/saghul/followers","following_url":"https://api.github.com/users/saghul/following{/other_user}","gists_url":"https://api.github.com/users/saghul/gists{/gist_id}","starred_url":"https://api.github.com/users/saghul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saghul/subscriptions","organizations_url":"https://api.github.com/users/saghul/orgs","repos_url":"https://api.github.com/users/saghul/repos","events_url":"https://api.github.com/users/saghul/events{/privacy}","received_events_url":"https://api.github.com/users/saghul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-02T08:31:24Z","updated_at":"2015-07-02T09:04:55Z","closed_at":null,"body":"Hi!\r\n\r\nI wanted to share the ideas I have for the patch I'm working on, in case someone (I'm looking at you @lminiero :smile: ) has feedback.\r\n\r\nWhat I really need is the ability to make multiple calls with the SIP plugin from the same account. Now, the plugin seems to be designed around the idea of \"one plugin handle -> one SIP account -> one call\", and adding multiple sessions support looks messy, so I came up with the following workaround:\r\n\r\n* An application would have a couple (or more) plugin handles for a given account, so calls can be received over them.\r\n* The same application would create new plugin handles for each outgoing call, but **not** send a REGISTER over them, just use the \"register\" command to store the credentials and then make the outgoing call.\r\n\r\nIn order to achieve this I plan to add a boolean attribute to the \"register\" command, in order to skip the registration process."},"comment":{"url":"https://api.github.com/repos/meetecho/janus-gateway/issues/comments/117968939","html_url":"https://github.com/meetecho/janus-gateway/issues/274#issuecomment-117968939","issue_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/274","id":117968939,"user":{"login":"lminiero","id":3684796,"avatar_url":"https://avatars.githubusercontent.com/u/3684796?v=3","gravatar_id":"","url":"https://api.github.com/users/lminiero","html_url":"https://github.com/lminiero","followers_url":"https://api.github.com/users/lminiero/followers","following_url":"https://api.github.com/users/lminiero/following{/other_user}","gists_url":"https://api.github.com/users/lminiero/gists{/gist_id}","starred_url":"https://api.github.com/users/lminiero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lminiero/subscriptions","organizations_url":"https://api.github.com/users/lminiero/orgs","repos_url":"https://api.github.com/users/lminiero/repos","events_url":"https://api.github.com/users/lminiero/events{/privacy}","received_events_url":"https://api.github.com/users/lminiero/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T09:04:55Z","updated_at":"2015-07-02T09:04:55Z","body":"Makes absolute sense, then. I can also see why re-using the \"guest\" approach we have wouldn't work (no storing of any credential, there). Do you need any help by me on this new feature, or have you it already planned out?"}}