Route DID call based on "to" SIP header

I’m using SignalWire and registered an endpoint in ASTPP.
At the moment a DID call comes in, ASTPP tries to route it based on the user for the endpoint instead of the “to” sip header.
How can I make this behavior change?

Hello @webudo ,
Can you please let me know what you have added in DID forwarding?
Thanks,
Palak.

Hello @palak
Call Type: Other
Destination: sofia/public5060/+1234567890@domain.tld

Hello @webudo , please try below string and test.

{absolute_codec_string=‘G729,PCMA,PCMU’}sofia/default/+1234567890@domain.tld