{"action":"created","issue":{"url":"https://api.github.com/repos/onsip/SIP.js/issues/622","repository_url":"https://api.github.com/repos/onsip/SIP.js","labels_url":"https://api.github.com/repos/onsip/SIP.js/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/onsip/SIP.js/issues/622/comments","events_url":"https://api.github.com/repos/onsip/SIP.js/issues/622/events","html_url":"https://github.com/onsip/SIP.js/issues/622","id":371039029,"node_id":"MDU6SXNzdWUzNzEwMzkwMjk=","number":622,"title":"Hold On Inbound Call Terminates On Chrome","user":{"login":"shibli049","id":1241424,"node_id":"MDQ6VXNlcjEyNDE0MjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1241424?v=4","gravatar_id":"","url":"https://api.github.com/users/shibli049","html_url":"https://github.com/shibli049","followers_url":"https://api.github.com/users/shibli049/followers","following_url":"https://api.github.com/users/shibli049/following{/other_user}","gists_url":"https://api.github.com/users/shibli049/gists{/gist_id}","starred_url":"https://api.github.com/users/shibli049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shibli049/subscriptions","organizations_url":"https://api.github.com/users/shibli049/orgs","repos_url":"https://api.github.com/users/shibli049/repos","events_url":"https://api.github.com/users/shibli049/events{/privacy}","received_events_url":"https://api.github.com/users/shibli049/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T12:05:07Z","updated_at":"2018-10-17T13:02:57Z","closed_at":null,"author_association":"NONE","body":"When I make an outbound call from my Chrome browser, I can perform Hold/Unhold and other actions without any problem. I can perform both Hold/Unhold and other actions on Firefox for both inbound and outbound calls. But, on **Chrome, inbound call** when I accept the call and after a while when I press hold, I can see a DOMException, **DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Failed to apply the description for audio: Failed to set SSL role for the transport.**, and then the session terminates.\r\n\r\n**Logs after pressing the hold button**\r\n===============================\r\n\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.transport | sending WebSocket message:\r\n\r\nINVITE sip:asterisk@116.220.25.54;transport=ws SIP/2.0\r\nVia: SIP/2.0/TCP k67phelbk22o.invalid;branch=z9hG4bK360865\r\nMax-Forwards: 70\r\nTo: <sip:+12233421200@116.220.20.11>;tag=1c933372976\r\nFrom: <sip:ata0nsnu@116.220.20.65>;tag=dt6ujpbk3g\r\nCall-ID: 83387204517102018112719@116.220.25.54\r\nCSeq: 2 INVITE\r\nContact: <sip:ata0nsnu@k67phelbk22o.invalid;transport=ws>\r\nAllow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER\r\nSupported: outbound\r\nUser-Agent: SIP.js/0.11.4\r\nContent-Type: application/sdp\r\nContent-Length: 2693\r\n\r\nv=0\r\no=- 7754330795232044888 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio\r\na=msid-semantic: WMS AqKpKzYcUHBCkllmRfuJGdbBRv23ZP90NhJJ\r\nm=audio 3626 UDP/TLS/RTP/SAVPF 0 101 111 103 104 9 8 106 105 13 110 112 113\r\nc=IN IP4 66.68.200.58\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=candidate:1250757143 1 udp 2122260223 192.168.32.1 51780 typ host generation 0 network-id 1 network-cost 50\r\na=candidate:3571191017 1 udp 2122194687 172.20.0.1 41209 typ host generation 0 network-id 2 network-cost 50\r\na=candidate:3271579675 1 udp 2122129151 10.0.0.116 58560 typ host generation 0 network-id 3\r\na=candidate:2719416092 1 udp 2122063615 10.42.0.1 55426 typ host generation 0 network-id 4 network-cost 10\r\na=candidate:3164435395 1 udp 1686052607 66.68.200.58 3626 typ srflx raddr 192.168.32.1 rport 51780 generation 0 network-id 1 network-cost 50\r\na=candidate:539090679 1 udp 1685921535 66.68.200.58 40211 typ srflx raddr 10.0.0.116 rport 58560 generation 0 network-id 3\r\na=candidate:939362821 1 udp 1685987071 66.68.200.58 32507 typ srflx raddr 172.20.0.1 rport 41209 generation 0 network-id 2 network-cost 50\r\na=candidate:3768254868 1 udp 1685855999 66.68.200.58 5385 typ srflx raddr 10.42.0.1 rport 55426 generation 0 network-id 4 network-cost 10\r\na=candidate:68089575 1 tcp 1518280447 192.168.32.1 9 typ host tcptype active generation 0 network-id 1 network-cost 50\r\na=candidate:2589978649 1 tcp 1518214911 172.20.0.1 9 typ host tcptype active generation 0 network-id 2 network-cost 50\r\na=candidate:2374214891 1 tcp 1518149375 10.0.0.116 9 typ host tcptype active generation 0 network-id 3\r\na=candidate:3969188844 1 tcp 1518083839 10.42.0.1 9 typ host tcptype active generation 0 network-id 4 network-cost 10\r\na=ice-ufrag:4ak8\r\na=ice-pwd:JA395o+9HgwnCfwE+O31JKPK\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A8:AC:3A:F2:D7:4C:07:C3:FE:E7:B7:26:A4:9A:CF:F5:CA:31:A4:78:D8:1E:E1:97:01:53:AC:BC:2B:58:53:B6\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=sendonly\r\na=rtcp-mux\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=ssrc:3834156486 cname:LekIiVloEytxIthY\r\na=ssrc:3834156486 msid:AqKpKzYcUHBCkllmRfuJGdbBRv23ZP90NhJJ 56d23a6d-090a-42df-bb8b-d1cf84e7d5b2\r\na=ssrc:3834156486 mslabel:AqKpKzYcUHBCkllmRfuJGdbBRv23ZP90NhJJ\r\na=ssrc:3834156486 label:56d23a6d-090a-42df-bb8b-d1cf84e7d5b2\r\n\r\n\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.transport | received WebSocket text message:\r\n\r\nSIP/2.0 200 OK\r\nVia: SIP/2.0/TCP k67phelbk22o.invalid;branch=z9hG4bK360865\r\nFrom: <sip:ata0nsnu@116.220.20.65>;tag=dt6ujpbk3g\r\nTo: \"callername-cus1grp1\" <sip:+12233421200@116.220.20.11>;tag=1c933372976\r\nCall-ID: 83387204517102018112719@116.220.25.54\r\nCSeq: 2 INVITE\r\nContact: <sip:asterisk@116.220.25.54;transport=ws>\r\nSupported: norefersub,100rel,timer,replaces,sdp-anat\r\nAllow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER, REGISTER\r\nServer: Mediant 4000B/v.7.00A.074.001\r\nContent-Type: application/sdp\r\nContent-Length: 564\r\n\r\nv=0\r\no=- 1956813241 1261160844 IN IP4 116.220.25.54\r\ns=Asterisk\r\nc=IN IP4 116.220.25.54\r\nt=0 0\r\na=ice-lite\r\nm=audio 19100 UDP/TLS/RTP/SAVPF 0 101\r\nc=IN IP4 116.220.25.54\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=ptime:20\r\na=maxptime:150\r\na=recvonly\r\na=fingerprint:sha-256 10:BE:30:DF:76:3A:E5:AC:A9:CA:FE:2D:8F:73:82:BA:39:07:8A:1E:FB:78:61:EC:3D:6E:FF:5D:5A:93:D7:D1\r\na=setup:active\r\na=ice-ufrag:wxIhtd9QemCLhrXf\r\na=ice-pwd:mgQ2SINqhkBPPn1U+vTSy/Yf\r\na=candidate:1763330333 1 udp 2130706431 116.220.25.54 19100 typ host\r\na=rtcp-mux\r\n\r\n\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.transport | sending WebSocket message:\r\n\r\nACK sip:asterisk@116.220.25.54;transport=ws SIP/2.0\r\nVia: SIP/2.0/TCP k67phelbk22o.invalid;branch=z9hG4bK9294206\r\nMax-Forwards: 70\r\nTo: <sip:+12233421200@116.220.20.11>;tag=1c933372976\r\nFrom: <sip:ata0nsnu@116.220.20.65>;tag=dt6ujpbk3g\r\nCall-ID: 83387204517102018112719@116.220.25.54\r\nCSeq: 2 ACK\r\nSupported: outbound\r\nUser-Agent: SIP.js/0.11.4\r\nContent-Length: 0\r\n\r\n\r\n\r\nbase.js:69934 DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Failed to apply the description for audio: Failed to set SSL role for the transport.\r\nLoggerFactory.print @ base.js:69934\r\nLoggerFactory.(anonymous function) @ base.js:69951\r\nLogger.(anonymous function) @ base.js:69945\r\n(anonymous) @ base.js:79094\r\nPromise.catch (async)\r\nsetDescription @ base.js:79082\r\nreceiveReinviteResponse @ base.js:74442\r\nreceiveResponse @ base.js:73263\r\nInviteClientTransaction.receiveResponse @ base.js:72358\r\nUA.onTransportReceiveMsg @ base.js:77262\r\nEventEmitter.emit @ base.js:70091\r\nonMessage @ base.js:78378\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.inviteservercontext | Could not set the description in 2XX response\r\nLoggerFactory.print @ base.js:69934\r\nLoggerFactory.(anonymous function) @ base.js:69951\r\nLogger.(anonymous function) @ base.js:69945\r\nonFailure @ base.js:74443\r\nPromise.catch (async)\r\nreceiveReinviteResponse @ base.js:74442\r\nreceiveResponse @ base.js:73263\r\nInviteClientTransaction.receiveResponse @ base.js:72358\r\nUA.onTransportReceiveMsg @ base.js:77262\r\nEventEmitter.emit @ base.js:70091\r\nonMessage @ base.js:78378\r\nbase.js:69934 exception {code: 8, name: \"SESSION_DESCRIPTION_HANDLER_ERROR\", method: \"setDescription\", error: DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote …, message: \"Error with Session Description Handler\"}\r\nLoggerFactory.print @ base.js:69934\r\nLoggerFactory.(anonymous function) @ base.js:69951\r\nLogger.(anonymous function) @ base.js:69945\r\nonFailure @ base.js:74444\r\nPromise.catch (async)\r\nreceiveReinviteResponse @ base.js:74442\r\nreceiveResponse @ base.js:73263\r\nInviteClientTransaction.receiveResponse @ base.js:72358\r\nUA.onTransportReceiveMsg @ base.js:77262\r\nEventEmitter.emit @ base.js:70091\r\nonMessage @ base.js:78378\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.transport | sending WebSocket message:\r\n\r\nBYE sip:asterisk@116.220.25.54;transport=ws SIP/2.0\r\nVia: SIP/2.0/TCP k67phelbk22o.invalid;branch=z9hG4bK3365215\r\nMax-Forwards: 70\r\nTo: <sip:+12233421200@116.220.20.11>;tag=1c933372976\r\nFrom: <sip:ata0nsnu@116.220.20.65>;tag=dt6ujpbk3g\r\nCall-ID: 83387204517102018112719@116.220.25.54\r\nCSeq: 3 BYE\r\nReason: SIP;cause=488;text=\"Not Acceptable Here\"\r\nSupported: outbound\r\nUser-Agent: SIP.js/0.11.4\r\nContent-Length: 0\r\n\r\n\r\n\r\nVM169:288 bye..\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.inviteservercontext | closing INVITE session 83387204517102018112719@116.220.25.541c933372976\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.invitecontext.sessionDescriptionHandler | closing PeerConnection\r\nbase.js:69934 Wed Oct 17 2018 17:27:47 GMT+0600 (Bangladesh Standard Time) | sip.dialog | dialog 83387204517102018112719@116.220.25.54dt6ujpbk3g1c933372976 deleted\r\nbase.js:69934 Wed Oct 17 2018 17:27:48 GMT+0600 (Bangladesh Standard Time) | sip.transport | received WebSocket text message:\r\n\r\nSIP/2.0 200 OK\r\nVia: SIP/2.0/TCP k67phelbk22o.invalid;branch=z9hG4bK3365215\r\nFrom: <sip:ata0nsnu@116.220.20.65>;tag=dt6ujpbk3g\r\nTo: \"callername-cus1grp1\" <sip:+12233421200@116.220.20.11>;tag=1c933372976\r\nCall-ID: 83387204517102018112719@116.220.25.54\r\nCSeq: 3 BYE\r\nContact: <sip:asterisk@116.220.25.54;transport=ws>\r\nServer: Mediant 4000B/v.7.00A.074.001\r\nContent-Length: 0\r\n\r\n\r\n\r\n**Environment Information**\r\n===============================\r\n - Asterisk 13.8\r\n - SIP.js 0.11.4\r\n - Chrome Version 69.0.3497.100 (Official Build) (64-bit)\r\n - Firefox 62.0.3 (64-bit)"},"comment":{"url":"https://api.github.com/repos/onsip/SIP.js/issues/comments/430619104","html_url":"https://github.com/onsip/SIP.js/issues/622#issuecomment-430619104","issue_url":"https://api.github.com/repos/onsip/SIP.js/issues/622","id":430619104,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDYxOTEwNA==","user":{"login":"egreenmachine","id":1035982,"node_id":"MDQ6VXNlcjEwMzU5ODI=","avatar_url":"https://avatars0.githubusercontent.com/u/1035982?v=4","gravatar_id":"","url":"https://api.github.com/users/egreenmachine","html_url":"https://github.com/egreenmachine","followers_url":"https://api.github.com/users/egreenmachine/followers","following_url":"https://api.github.com/users/egreenmachine/following{/other_user}","gists_url":"https://api.github.com/users/egreenmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/egreenmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egreenmachine/subscriptions","organizations_url":"https://api.github.com/users/egreenmachine/orgs","repos_url":"https://api.github.com/users/egreenmachine/repos","events_url":"https://api.github.com/users/egreenmachine/events{/privacy}","received_events_url":"https://api.github.com/users/egreenmachine/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T13:02:57Z","updated_at":"2018-10-17T13:02:57Z","author_association":"COLLABORATOR","body":"Chrome does not support DTLS role change. If you include all logs with traceSip we can confirm that this is a DTLS role change. If it is a DTLS role change, you will need to fix it on Asterisk side. There is nothing that we can do at the SIP.js layer."}}
{"actor":{"display_login":"egreenmachine"}}