On 11/09/2026 07.10, Johanna Lämmel wrote:
> I am not fully sure if it is an issue in the offer sent from P-CSCF
> upon receipt of the re-invite. But nonetheless the RTPengine starts
> playing the MoH on the offer, so before the answer from 200 OK of the
> re-invite arrives. Shouldn't it be using the agreed codec?
I haven't checked, but I guess that the new set of codecs from the
re-invite offer is consumed first, and then the MoH is started, which
now sees AMR-WB as the first codec.
This isn't specific to MoH but can happen during a normal re-invite too,
but it would be very temporary, as the answer would then very quickly
get the codecs back on track.
This can definitely be improved (for both cases), but in the meantime
you can use one of the existing flags to prevent or discourage codec
renegotiation. I believe `static-codecs` is the appropriate flag for this.
Cheers