Difference between revisions of "Many calls are transcoded"
Line 40: | Line 40: | ||
== Problem gone == | == Problem gone == | ||
As you can see after codecs are negotiated properly and call is not transcoded anymore, we have big imrpovement on the Freeswitch CPU usage. In this example CPU load decreased 3 times! | |||
[[File:fs_transcoded_calls_good.jpg]] |
Revision as of 13:00, 7 October 2018
Codec transcoding takes a lot of CPU cycles.
Quick Solution
Make sure ALL devices (OP and TP) have these settings set to Yes:
Note that only OP devices will have only first option available and only TP devices only second option available. Mark them YES anyway.
Detailed problem description
We have a problem
Example in which you can see that 284 calls takes 287.9% of CPU for Freeswitch:
In the Call List page you can observe which calls are transcoded. They are marked by RED icon:
Solution
Go through all your devices (OP and TP) and set these options:
These options will force Freeswitch to use same codecs for both legs 99% of the time. Detailed description here: M2 Codec Negotiation
Note that only OP devices will have only first option available and only TP devices only second option available. Mark them YES anyway.
Also make sure your devices have same codecs available.
This is just an example how it could look like. On your system you can have different codecs enabled:
Problem gone
As you can see after codecs are negotiated properly and call is not transcoded anymore, we have big imrpovement on the Freeswitch CPU usage. In this example CPU load decreased 3 times!