{"action":"created","issue":{"url":"https://api.github.com/repos/sipwise/rtpengine/issues/84","labels_url":"https://api.github.com/repos/sipwise/rtpengine/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/sipwise/rtpengine/issues/84/comments","events_url":"https://api.github.com/repos/sipwise/rtpengine/issues/84/events","html_url":"https://github.com/sipwise/rtpengine/issues/84","id":62664757,"number":84,"title":"ICE: no media if answer comes more than 25.5 secs after the offer","user":{"login":"camilleoudot","id":6338755,"avatar_url":"https://avatars.githubusercontent.com/u/6338755?v=3","gravatar_id":"","url":"https://api.github.com/users/camilleoudot","html_url":"https://github.com/camilleoudot","followers_url":"https://api.github.com/users/camilleoudot/followers","following_url":"https://api.github.com/users/camilleoudot/following{/other_user}","gists_url":"https://api.github.com/users/camilleoudot/gists{/gist_id}","starred_url":"https://api.github.com/users/camilleoudot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilleoudot/subscriptions","organizations_url":"https://api.github.com/users/camilleoudot/orgs","repos_url":"https://api.github.com/users/camilleoudot/repos","events_url":"https://api.github.com/users/camilleoudot/events{/privacy}","received_events_url":"https://api.github.com/users/camilleoudot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T11:16:34Z","updated_at":"2015-03-18T12:22:06Z","closed_at":null,"body":"Hi,\r\nI'm currently using the master branch, and I encounterd an issue in the following use case:\r\n`SAVPF + ICE NATed client <--> rtpengine <--> AVP client`\r\n\r\nWhen the AVP client takes more than 25.5 secs to answer, the ICE negociation on the other leg stops and fails. Then when the answer finally comes, rtpengine does not send the media to the SAVPF leg, and prints the following message:\r\n`SRTP output wanted, but no crypto suite was negotiated`\r\n\r\nI could fix this by raising the `STUN_MAX_RETRANSMITS` constant in ice.h. Is there a reason for the choice of 7 retries only? Could this be a configurable value?\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/sipwise/rtpengine/issues/comments/82946242","html_url":"https://github.com/sipwise/rtpengine/issues/84#issuecomment-82946242","issue_url":"https://api.github.com/repos/sipwise/rtpengine/issues/84","id":82946242,"user":{"login":"camilleoudot","id":6338755,"avatar_url":"https://avatars.githubusercontent.com/u/6338755?v=3","gravatar_id":"","url":"https://api.github.com/users/camilleoudot","html_url":"https://github.com/camilleoudot","followers_url":"https://api.github.com/users/camilleoudot/followers","following_url":"https://api.github.com/users/camilleoudot/following{/other_user}","gists_url":"https://api.github.com/users/camilleoudot/gists{/gist_id}","starred_url":"https://api.github.com/users/camilleoudot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilleoudot/subscriptions","organizations_url":"https://api.github.com/users/camilleoudot/orgs","repos_url":"https://api.github.com/users/camilleoudot/repos","events_url":"https://api.github.com/users/camilleoudot/events{/privacy}","received_events_url":"https://api.github.com/users/camilleoudot/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T12:22:06Z","updated_at":"2015-03-18T12:22:06Z","body":"resetting the constant to 7, the negociation does not succed. I get:\r\n\r\n```\r\n[1426680707.191215] DEBUG: [mji6okrrfguvmdpaot1j/i1ljht758l/1] Sending ICE/STUN request for candidate pair AemrHNseQuFIpJsp:3230924481:1 from S.S.S.S to C.C.C.C:49800\r\n[1426680707.191215] DEBUG: [mji6okrrfguvmdpaot1j/i1ljht758l/1] Sending ICE/STUN request for candidate pair AemrHNseQuFIpJsp:1104935029:1 from S.S.S.S to D.D.D.D:49800\r\n```\r\n(×7)\r\nand then when the answer finally comes\r\n```\r\n[1426680732.796220] DEBUG: [mji6okrrfguvmdpaot1j/i1ljht758l/1] Setting ICE candidate pair AemrHNseQuFIpJsp:3230924481:1 as failed\r\n[1426680732.796220] DEBUG: [mji6okrrfguvmdpaot1j/i1ljht758l/1] Setting ICE candidate pair AemrHNseQuFIpJsp:1104935029:1 as failed\r\n[1426680743.378583] INFO: [mji6okrrfguvmdpaot1j] Received command 'answer' from 127.0.0.1:40094\r\n```\r\n(...)\r\n```\r\n[1426680743.422246] DEBUG: [mji6okrrfguvmdpaot1j port 30016] Triggering check for AemrHNseQuFIpJsp:1104935029:1\r\n[1426680743.422246] DEBUG: [mji6okrrfguvmdpaot1j port 30016] ICE pair AemrHNseQuFIpJsp:1104935029:1 has been nominated by peer\r\n[1426680743.422246] DEBUG: [mji6okrrfguvmdpaot1j port 30016] ICE not completed yet\r\n[1426680743.422246] DEBUG: [mji6okrrfguvmdpaot1j port 30016] Successful STUN binding request from C.C.C.C:49800\r\n[1426680743.422528] DEBUG: [mji6okrrfguvmdpaot1j/i1ljht758l/1] Setting ICE candidate pair AemrHNseQuFIpJsp:1104935029:1 as failed\r\n[1426680743.425602] ERR: [mji6okrrfguvmdpaot1j port 30000] SRTP output wanted, but no crypto suite was negotiated\r\n[1426680743.469224] DEBUG: [mji6okrrfguvmdpaot1j port 30016] Triggering check for AemrHNseQuFIpJsp:1104935029:1\r\n[1426680743.469224] DEBUG: [mji6okrrfguvmdpaot1j port 30016] ICE pair AemrHNseQuFIpJsp:1104935029:1 has been nominated by peer\r\n[1426680743.469224] DEBUG: [mji6okrrfguvmdpaot1j port 30016] ICE not completed yet\r\n[1426680743.469224] DEBUG: [mji6okrrfguvmdpaot1j port 30016] Successful STUN binding request from C.C.C.C:49800\r\n```\r\nLast lines repeat constantly, and no media is sent."}}