According to the docs, the originate command should move to the context if the call is answered, but I can see that it always move to the context event if I reject the call or don’t answer it.
The scenario I’m trying to do is to call a number and if answered I wanna redirect the call to another number. I’m using the originate command and passing a context that, I’m hoping, to be called only if the number I dialed was answered. I’m using the IAX2 channel type. Please advice.