sipwise / rtpengine

The Sipwise media proxy for Kamailio
GNU General Public License v3.0
784 stars 368 forks source link

Codec / Transcoding information returned by ng query #1807

Open digipigeon opened 6 months ago

digipigeon commented 6 months ago

Is your feature request related to a problem? Please describe

When a call is established and the ng query command is ran, we get a lot of useful information about what is happening, however this information about what codecs are being used.

This is particularly important if we want to limit the amount of transcoded calls which are allowed to pass through a system. By being able to know if transcoding was engaged for a specific call we can better help to control the capacity allowed from OpenSIPs/Kamalio, etc.

Describe the solution you'd like

If RTPEngine is aware of what codec's are used the information should be available in the response to the ng query command.

This can include:

  1. A-leg / B-leg codecs which are used
  2. Has the call been transcoded

Describe alternatives you've considered

There is no simple feasible solution.

The rtpengine version you checked that didn't have the feature you are asking for

12.1.1