On PROSBC how can I force SDP codecs offer to the Profile SDP Description?

Hello,

To avoid rejected calls I need to force SDP codecs offer to the Profile SDP Description.

I have the following profile SDP Description, if incoming call has more codecs on the offer they are being passed from incoming leg to outgoing leg.

I already tested with both Codecs selection mode = Compatible codecs only and mode=Active codec only, but without success. Codecs from incoming leg are being passed to outgoing leg

https://docs.telcobridges.com/wiki/Parameter:_Codecs_selection_mode

Please clarify “Active codec only: Keep only the active codec, which prevent any of the two legs to change codec later during the call.” I thought it only offer the codec if it was present on Profile SDP Description?

In some calls if the CLEARMODE codec goes on the offer, calls are rejected. How can I force SDP codecs offer to the Profile SDP Description?

Thanks,

David Costa

Hi,

I was just dealing with a case where the Codec selection mode, set to Active codec only fixed for me.

From my observation, it looks like this controls the SDP codec order within a RE-INVITE context. When I had the Compatible codecs selected it listed compatible codecs within the SDP of the RE-INVITE, which broke audio in my case. Active Codec only removed the other compatible codecs, and only listed the previously negotiated codec, removing the ability of a mid dialog media re-negotiation.

However, based on your description, it sounds like your problem occurs during the initial call setup when Clearmode is present. If that’s the case, I’m not sure Codec Selection Mode would affect the behavior, as my issue was specifically related to SDP generated in a mid-dialog re-INVITE context rather than the initial offer/answer exchange.

But have you tried to set the “Use Senders codec order” in the SDP Combine options ?