On 20/05/2024 09.49, Anirban Bhowmik wrote:
> Hi All,
> I am using the PCM forwarding feature of RTPEngine to instruct
> RTPEnginer Recorder to forward PCM for both Caller and Callee to a TLS
> Port.
> The setup followed is based on:
>
https://github.com/drachtio/drachtio-siprec-recording-server/tree/main
> with the addition of PCM forwarding from where the audio is transcribed.
>
> The issue is that I can't find a definitive way of identifying which
> audio is coming from the "Caller" and which audio is coming from "Callee".
>
> I used the metadata field while making a NGCP reuqest as follows,
> where "which" is either Caller or Callee. However, when the data is
> received in the TLS port, the metadata is being overwritten to
> "Callee" only.
This should work like that, at least on mr11.5. You should see in the
entire call. Always check the log when in doubt.