Has anyone had any success getting IAX2 to work on a multi-homed server?
Here’s the scenario:
I have an Asterisk at a client site, and an Asterisk at my datacenter. The two are connected via IAX2. Now at my datacentre, my Asterisk box is multi-homed (with 2 network cards) - going out to two different subnets and eventually two different Internet connections.
What I would like to do is to set up two IAX accounts on my client’s Asterisk, one for each of my server’s two public IP addresses. Is that possible? I’m trying to achieve a level of redundancy such that if my primary link is offline, the client will try to connect using the secondary.
And yes, I have tried it, and no it doesn’t seem to work. I’ve tried setting up ip routes but the only IAX connection that seems to work is the one for network with the default gateway.