Mobile phone calls to asterisk server A, asterisk server A initiates IAX connection to Server B and server B passes the call to a specified extensions in the server B.
Any example of dialplan for this. btw i uses AMP. Thankz Guyz for this.
[quote=“avnho”]Hi guyz! Any one knows how to do this:-
Mobile phone calls to asterisk server A, asterisk server A initiates IAX connection to Server B and server B passes the call to a specified extensions in the server B.
Any example of dialplan for this. btw i uses AMP. Thankz Guyz for this.[/quote]
In zapata.conf you need to define in wich conext you will put your incoming calls. Then in extensions.conf you add something like this
exten => s,1,Answer
exten => s,2,Dial(IAX2/asterisk2/1234,30,r)
Now you are calling extension 1234 at 2nd Asterisk server over IAX2.