Redirect a Stasis channel to another Stasis application

Hello,

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

Thanks,
Eyal.

1 Like

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.

1 Like

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

Thanks a lot,
Eyal.

1 Like