Dear All, I`ve tried to find out appropriate API to perform the permanent redirection from one extension to another. I’m trying to use Java and Asterisk-Java library to integrate web site with the Asterisk server.
As I understood the Manager API allows to perform the real time redirection of the call to another extension, but how can I make Asterisk to perform redirection for all future calls? For example set redirection from extension 11111 to ext. 22222. It can be done on server, editing configuration files, but how to do it remotely?
Any ideas, dudes?