In-call feature codes don't work

Hi!

I am trying to use in-call feature codes (toggle recording for example) and I can’t get them to work, they get sent to the other PBX which obviously tries to process them.

When they are not in-call everything is processed correctly…

The extensions are DAHDI, the trunk are using SIP…

Any ideas what I am doing wrong/need to set differently?

Thank you and have a nice day!

Nick

OK - more information is clearly required here. Versions, /var/log/asterisk/full log extracts, etc.