I stumbled upon this post, where you explained the continue operation.
“Then you will need to use the ‘continue’ operation as I mentioned. This sends it out of ARI and into the dialplan at a specific position.”
Call redirection with ARI - Asterisk / Asterisk APIs - Asterisk Community
I think that’s what I need. Will try it out.