2

Can someone share their experience of transcoding OPUS/G711 ans vice versa using Freeswitch? I am getting call quality issues even if there is a single call on the server. I am getting crackling noise and the end of the words.

SIP Clients HAVE to use the OPUS, it is a customers requirements and there is nothing negotiable on this front. However, for troubleshooting purposes, we requested the SIP clients to switch to G711u and all the test calls completed without any quality issues.

I have installed Freeswitch 1.6 on RHEL6 on a Dell PowerEdge R710 with 16 cores and 96GB RAM.

Call Flow: SIP Client registered to a SIP Server dials a call to a PSTN number using the codec OPUS. SIP server proxy the call to Freeswitch with codec OPUS. Freeswitch terminates the call to SIP provider using G711u. Freeswitch does the transcoding between OPUS and G711u.

Silence Supression is turned off on both legs. PTIME is 20 on both legs.

OPUS.CONF:
use-vbr=1
complexity=10
keep-fec-enabled=0
maxavgbitrate=0
maxplaybackrate=48000

Any suggestions would be much appreciated.

Tim
  • 30,383
  • 6
  • 47
  • 77
skb007
  • 126
  • 2
  • 6
  • Which direction has the audio issues? – Michael Hampton Sep 08 '16 at 03:31
  • So far we tested forwarding the SIP client call to an IVR. Person at the SIP client side experiences the issue while listening the IVR prompt. – skb007 Sep 08 '16 at 16:12
  • I also face this cracking noise problem when doing OPUS/G711 transcoding. I'm using the FreeSwitch v1.6.17 version. I guess the problem comes from the resampling part of freeswitch, still working to find the root cause... – gary Aug 26 '17 at 11:37

1 Answers1

1

use opus@8000h@20i with these settings in opus.conf.xml :

<settings>
    <param name="use-vbr" value="1"/>
    <param name="use-dtx" value="0"/>
    <param name="complexity" value="10"/>
    <param name="maxaveragebitrate" value="14400"/>
    <param name="maxplaybackrate" value="8000"/>
    <param name="packet-loss-percent" value="15"/>
    <param name="keep-fec-enabled" value="1"/>
    <param name="use-jb-lookahead" value="1"/>
    <param name="advertise-useinbandfec" value="1"/>
</settings>

which direction do you have the audio issues ? it's important to know if there's a problem on the encoder or on the decoder.

Please file a jira here if you still have issues : https://freeswitch.org/jira/

  • I also face this cracking noise problem when doing OPUS/G711 transcoding in FreeSwitch 1.6.17 version. The cracking noise is in the direction from OPUS to G711: OPUS decode --> G711 encode . – gary Aug 26 '17 at 11:43
  • JIRA Issue Created: FS-10614 Cracking Noise When Doing OPUS/G711 Transcoding. https://freeswitch.org/jira/browse/FS-10614 – gary Aug 26 '17 at 12:26