On 20/07/2022 12.01, [EXT] Aditya Uppuluri wrote:
> Sorry. if i created any confusion. It's an offer/answer model itself.
> The bridging between these two calls happen in another B2BUA. So it
> sends 200OK (answer) for client's INVITE (offer) and 200OK (answer)
> for asterisk's invite (offer). But it is not' doing transcoding. So
> it's sending 96 payload type in 200OK to client and 101 to asterisk.
Ok, but the offer/answer doesn't happen between the two clients that end
up exchanging media. The usual solution would be to trigger a final
re-invite between the two clients (client <> Asterisk) from the B2Bua,
let them do a full offer/answer negotiation between themselves, and
remove the B2Bua from being involved in the SDP handshake (i.e. just
pass the SDPs through). One side would then see a change in payload
types, but that shouldn't be a problem for a well behaved client, and in
theory that should allow them to settle on one single payload type
number for DTMF (among other things that are negotiated via SDP exchanges).
Either way I don't think rtpengine can help here at the moment. It can
do transcoding, sure, but only when in the path of a proper offer/answer
exchange, and not in between two separate offer/answer exchanges. What
you're looking for is not transcoding. You're looking to a solve an SDP
negotiation problem.
Cheers