Redirect a Stasis channel to another Stasis application


Is it possible to use ARI channel’s redirect command to transfer the call to another stasis application?


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.

I was able to achieve exactly what I needed using your idea.

Thanks a lot,