Route calls from one Asterisk server to a specific context on another Asterisk server using Dial?

I have two Asterisk servers: ast182 and ast188. Calls come into the ast182 server from various machines and VDNs.

I have an Asterisk setup where different VDNs will be calling into the mobilcm context on my server. I need to route these calls to a specific context on another Asterisk server (ast188). The ast188 server also handles other calls routed from the ast182 server, so setting a default context in the pjsip.conf is not an option.

mobilcm Context on ast182:

exten => _X.,1,NoOp(Mobil SendToIvr)
same => n,Dial(PJSIP/${EXTEN}@ast188)
same => n,Hangup()

How can I configure my dialplan to ensure that calls routed from the mobilcm context on ast182 are processed in the sendtoivr context on the ast188 server?

Asterisk Version: Asterisk 16.28.0

Do it the pre-internet way, and prefix the number with routing digits.

Add a custom header. You could even use type=identify, to get it directly into the context, but that might have security implications.

Untried: use multiple transports on the client, and identify by both IP and port on the server.

I have a feeling it can be done with IAX, but I can’t find the dial string documentation.

Also note that Asterisk 16 is unsupported, and Asterisk 16.28.0 has known security vulnerabilities.

Thank you @david551,
I guess routing digits will solve my problem. AndI will consider your suggestion about asterisk version.
Best Regards