Don’t use a sip trunk. Gods the horrible old documentation on the internet ……
Use pjsip and use the toheader context.