"To:" header transit from origination to termination

Hi there,

I have a problem that I can not transit “To” header from origination to termination provider.

A server sends invite (call forwarded):

Invite sip:CCCC@test.com

From sip:AAAA@test.com

To: <sip:BBBB@test.com>

Termination provider receives:

Invite sip:CCCC@test.com

From: sip:AAAA@test.com

To: sip:CCCC@test.com

I’ve tried setting “Transit headers from origination/termination” as value “To“, but it does not help.

Any advices?

Transit headers mechanism doesn’t allow to transit “important” headers. Could you explain use case, why you need this. Where you receiving destination number and what you receiving in r-uri username?