Post /channels/{channelId}/redirect

Hi,

I don’t understand where the post /channels/{channelId}/redirect redirect location to.

Is location here mean from one Endpoint to anther Endpoint ? , or Something else?
What is the benefit of the redirect?

I tried to call an extension that will add me to a Stasis application. Then I try redirect calling channel Id to a different endpoint (by redirect ), Every time I do that my calling endpoint get discounted. What have I done wrong?

It probably doesn’t do what you want. It does a protocol level redirect. For example in SIP that would be a REFER as a blind transfer, or a 302 like call forwarding. The call leaves Asterisk as a result.

Is there any example ?

I don’t have one handy, but you just call the route and then the channel driver does its thing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.