Hi,

Thanks for your reply.

We had the modparam("siptrace", "trace_mode", 1) but the issue with that is that local error answers from kamailio doesn't appear.

For example, when Kamailio receives the INVITE and replies with a forbidden, the Invite and the ACK is there but the Forbidden is not.

So with "trace_mode" 1 , everything works fine except this messages missing and this was the problem that we tried to solve messing around with the functions and flags.

Regards,
Tiago

Daniel-Constantin Mierla <miconda@gmail.com> escreveu no dia segunda, 3/05/2021 à(s) 15:39:
Hello,

On 03.05.21 11:02, pwer spire wrote:
> Hi,
>
> Any one have some idea about this? Or how it should be configured in order to still have the original response received in kamailio instead of the mapping one?

If you want all the traffic mirrored, then look at:

  *
https://www.kamailio.org/docs/modules/stable/modules/siptrace.html#siptrace.p.trace_mode

It is simpler that the use of functions and flags to select what
messages should be mirrored.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/