by jcolp » Wed Dec 09, 2015 6:26 am
The redirect command is used for a protocol level redirection, it can't be used for this. The closest you can do is using the continue command to send the channel into the dialplan at a point where it calls the Stasis dialplan application with the details for the other ARI application. If you want to make it dynamic you could set a dialplan variable before doing this, and then use that dialplan variable in the dialplan logic where you send the channel.
Joshua Colp
Digium, Inc. | Senior Software Developer