You'll want to dial the second server locally using IAX, and have the second
server call out using ZAP
[remote-out]
exten = _8NXXNXX,1,Dial(IAX/x.x.x.x/${EXTEN})
[remote iax] ;in from remote-out
exten = _8NXXNXX,1,Dial(ZAP/g1/${EXTEN:1},70,T)
if you want to call our back and forth...
I have set up 2 * servers and connected them via IAX2, the connection
works, so far so good.
To optimize on the phone bill however I would like to have calls
that are local for the remote * server placed through the remote server.
How is this accomplished? I first tried the manual approach