{"action":"created","issue":{"url":"https://api.github.com/repos/respoke/pjsip-docker/issues/2","repository_url":"https://api.github.com/repos/respoke/pjsip-docker","labels_url":"https://api.github.com/repos/respoke/pjsip-docker/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/respoke/pjsip-docker/issues/2/comments","events_url":"https://api.github.com/repos/respoke/pjsip-docker/issues/2/events","html_url":"https://github.com/respoke/pjsip-docker/pull/2","id":169625848,"number":2,"title":"Increase max ICE candidates to 128","user":{"login":"ruffrey","id":1668190,"avatar_url":"https://avatars.githubusercontent.com/u/1668190?v=3","gravatar_id":"","url":"https://api.github.com/users/ruffrey","html_url":"https://github.com/ruffrey","followers_url":"https://api.github.com/users/ruffrey/followers","following_url":"https://api.github.com/users/ruffrey/following{/other_user}","gists_url":"https://api.github.com/users/ruffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ruffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruffrey/subscriptions","organizations_url":"https://api.github.com/users/ruffrey/orgs","repos_url":"https://api.github.com/users/ruffrey/repos","events_url":"https://api.github.com/users/ruffrey/events{/privacy}","received_events_url":"https://api.github.com/users/ruffrey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-05T14:56:02Z","updated_at":"2016-10-21T03:13:28Z","closed_at":"2016-10-21T03:13:28Z","pull_request":{"url":"https://api.github.com/repos/respoke/pjsip-docker/pulls/2","html_url":"https://github.com/respoke/pjsip-docker/pull/2","diff_url":"https://github.com/respoke/pjsip-docker/pull/2.diff","patch_url":"https://github.com/respoke/pjsip-docker/pull/2.patch"},"body":"The following issue still happens while running chan_respoke on docker behind a NAT. Signaling seems good, but an error happens on asterisk as well as in the web browser. This was suggested by Matt Jordan as a possible fix.\r\n\r\n\r\nasterisk:\r\n```plain\r\n[Aug  5 14:26:12] WARNING[109]: res_rtp_asterisk.c:784 ast_rtp_ice_start: Failed to create ICE session check list: Too many objects of the specified type (PJ_ETOOMANY) (0x7f9fb004b4f8)\r\n```\r\n\r\nchrome 51.0.2704.103 (64-bit)\r\n```plain\r\n...\r\n[Respoke] PC handleAnswerSignal Object {signal: Object, name: \"signal-answer\", target: Object}\r\nrespoke.min.js:2 [Respoke] got answer Object {answer: \"final\", signalType: \"answer\", version: \"1.0\", sessionId: \"5743E90E-3919-4156-B9AA-419BE8CE8B09\", parsedSDP: Object…}\r\nrespoke.min.js:2 [Respoke] Call handleAnswerSignal Object {signal: Object, name: \"signal-answer\", target: Object}\r\nrespoke.min.js:2 [Respoke] Exception calling setRemoteDescription on answer I received. DOMException: Failed to set remote answer sdp: Called in wrong state: STATE_INPROGRESS(anonymous function) @ respoke.min.js:2errorHandler @ respoke.min.js:41\r\nrespoke.min.js:2 [Respoke] fired respoke.Call#error 0 listeners called with params Object {message: \"Exception calling setRemoteDescription on answer I received.\", name: \"error\", target: Object}\r\nrespoke.min.js:2 [Respoke] set remote desc of answer failed Object {sdp: \"v=0\r\n↵o=- 431878786 2 IN IP4 0.0.0.0\r\n↵s=Asterisk\r\n↵t…4994 typ relay raddr 50.173.112.172 rport 57829\r\n↵\", type: \"answer\"} DOMException: Failed to set remote answer sdp: Called in wrong state: STATE_INPROGRESS(anonymous function) @ respoke.min.js:2errorHandler @ respoke.min.js:41\r\nrespoke.min.js:2 [Respoke] sending hangup\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/respoke/pjsip-docker/issues/comments/255283614","html_url":"https://github.com/respoke/pjsip-docker/pull/2#issuecomment-255283614","issue_url":"https://api.github.com/repos/respoke/pjsip-docker/issues/2","id":255283614,"user":{"login":"chadxz","id":309219,"avatar_url":"https://avatars.githubusercontent.com/u/309219?v=3","gravatar_id":"","url":"https://api.github.com/users/chadxz","html_url":"https://github.com/chadxz","followers_url":"https://api.github.com/users/chadxz/followers","following_url":"https://api.github.com/users/chadxz/following{/other_user}","gists_url":"https://api.github.com/users/chadxz/gists{/gist_id}","starred_url":"https://api.github.com/users/chadxz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadxz/subscriptions","organizations_url":"https://api.github.com/users/chadxz/orgs","repos_url":"https://api.github.com/users/chadxz/repos","events_url":"https://api.github.com/users/chadxz/events{/privacy}","received_events_url":"https://api.github.com/users/chadxz/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T03:13:28Z","updated_at":"2016-10-21T03:13:28Z","body":"The recommended way to install pjsip for Asterisk now is to pass `--with-pjproject-bundled` flag to Asterisk's `./configure` script. Along with downloading pjsip automatically for you and installing it with the right options, it will pull in a config_site.h optimized for Asterisk, including settings to help WebRTC behave."}}
{"actor":{"display_login":"chadxz"}}