<div dir="ltr">Hello All,<div style>I am using SIPML5 webrtc client with Kamailio as websocket and SIP Proxy and sending calls to Freeswitch to transcode call from opus to either 711 or 729 when a calls goes towards a pstn network. The two-way voice now works fine in the latest version of freeswitch master branch after ICE support was included in it. But the only problem is that while talking; the voice goes off for a second in between and this happens every 15 seconds or so. This behavior is observed on both legs of the call i.e. the browser as well as the PSTN endpoint !!</div>
<div style>I try calling from other SIP clients like CsipSimple and Xlite, the voice is consistent using Opus or 711; but voice from SIPML5 is always getting 1 second blanks in the middle of the conversation.</div><div style>
I thought this might be because of VAD or Silence Suppression and added the following parameter in my SIP profile:</div><div style>&lt;param name=&quot;suppress-cng&quot; value=&quot;true&quot;/&gt;<br></div><div style>but still the quality of call from SIPML5 is the same. I also tried enabling only PCMU in inbound codec preference in the SIP Profile but still the voice quality is same. This is the SDP that I get from SIPML5:</div>
<div style><br></div><div style><div>v=0</div><div>o=- 3138457300 2 IN IP4 127.0.0.1</div><div>s=Doubango Telecom - chrome</div><div>t=0 0</div><div>a=group:BUNDLE audio</div><div>a=msid-semantic: WMS l60QBLHC784xSyOLT5kAQYU4AG7U0ZwWyjcQ</div>
<div>m=audio 52573 RTP/SAVPF 111 103 104 0 8 107 106 105 13 126</div><div>c=IN IP4 192.168.43.167</div><div>a=rtpmap:111 opus/48000/2</div><div>a=fmtp:111 minptime=10</div><div>a=rtpmap:103 ISAC/16000</div><div>a=rtpmap:104 ISAC/32000</div>
<div>a=rtpmap:0 PCMU/8000</div><div>a=rtpmap:8 PCMA/8000</div><div>a=rtpmap:107 CN/48000</div><div>a=rtpmap:106 CN/32000</div><div>a=rtpmap:105 CN/16000</div><div>a=rtpmap:13 CN/8000</div><div>a=rtpmap:126 telephone-event/8000</div>
<div>a=rtcp:52573 IN IP4 192.168.43.167</div><div>a=candidate:2649802508 1 udp 2113937151 192.168.43.167 52573 typ host generation 0</div><div>a=candidate:2649802508 2 udp 2113937151 192.168.43.167 52573 typ host generation 0</div>
<div>a=candidate:1368551212 1 udp 2113937151 203.144.192.136 57209 typ host generation 0</div><div>a=candidate:1368551212 2 udp 2113937151 203.144.192.136 57209 typ host generation 0</div><div>a=candidate:3547544572 1 tcp 1509957375 192.168.43.167 61288 typ host generation 0</div>
<div>a=candidate:3547544572 2 tcp 1509957375 192.168.43.167 61288 typ host generation 0</div><div>a=candidate:521245660 1 tcp 1509957375 203.144.192.136 61289 typ host generation 0</div><div>a=candidate:521245660 2 tcp 1509957375 203.144.192.136 61289 typ host generation 0</div>
<div>a=ice-ufrag:aD0ElKq0auO0/wUZ</div><div>a=ice-pwd:4yT6f2XYrwKKi2JfcAHguumO</div><div>a=ice-options:google-ice</div><div>a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level</div><div>a=mid:audio</div><div>a=rtcp-mux</div>
<div>a=crypto:0 AES_CM_128_HMAC_SHA1_32 inline:W6pHDYfKQD4ai/Njpdo/vbgDlTZMQIPSUJODaj9V</div><div>a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:+FNGrHBOuNn52F0oGJWBMlyniDRmTHaGnd/0fLgw</div><div>a=maxptime:60</div><div>a=ssrc:3044764842 cname:We0LcuLfLdzi5DCu</div>
<div>a=ssrc:3044764842 msid:l60QBLHC784xSyOLT5kAQYU4AG7U0ZwWyjcQ l60QBLHC784xSyOLT5kAQYU4AG7U0ZwWyjcQa0</div><div>a=ssrc:3044764842 mslabel:l60QBLHC784xSyOLT5kAQYU4AG7U0ZwWyjcQ</div><div>a=ssrc:3044764842 label:l60QBLHC784xSyOLT5kAQYU4AG7U0ZwWyjcQa0</div>
<div><br></div><div style>Is there some parameter in the SDP above that must be causing this. What would be the ways to debug RTP problems on freeswitch? I also strongly feel that this only happens when ICE and Secured RTP on freeswitch gets invoked.</div>
<div style>Any ideas or pointers to improve this voice problem is highly appreciated.</div><div style><br></div><div style>Thanks,</div><div style><br></div><div style>--- Jayesh</div></div></div>