VoIP Cookbook: Forwarding to another Asterisk

From OnnoWiki
Jump to navigation Jump to search

To forward calls to other Asterisk server, we can use the following syntax:

[iaxprovider] 
switch => IAX2/user:[key]@server/context 

The above command will carry out forwarding to other server. However, User and key have to be defined in iax.conf file of the server to which the calls will be forwarded. The context for this server is the same as that of extensions.conf of the server that does the forwarding.


See Also