[Asterisk-Users] Re: iax2 can't listen on virtual interface
Boris Bakchiev
boris at jildent.com.au
Thu Jun 16 01:57:23 MST 2005
He is using HA so I'm assuming he is running Master-Slave combo.
That means HA will start asterisk on slave after taking over the IP and
becoming a master.
Until that time, asterisk does not need to be running on a slave so
there should be no problems whatsoever.
If he wants to run asterisk in Master-Master that is a different story
but probably not what you want. Even then it is possible.
When becoming a master just script HA to unload chan_iax, assume the
virtual IP, substitute the bindip in iax.conf (sed will do just fine)
and then load chan_iax backup again. All that can be done while asterisk
is still running.
Regards
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tony
Mountifield
Sent: Thursday, June 16, 2005 5:19 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Re: iax2 can't listen on virtual interface
In article
<13404687B15D66459DAC76C2AEFDE64D1A7605 at mail1.jildent.com.au>,
Boris Bakchiev <boris at jildent.com.au> wrote:
> Yes you can.
>
> Just tell iax to bind to that virtual address in iax.conf
I don't think that will work on the box that doesn't currently own
that virtual address.
I think the only way is to make sure the bind address is 0.0.0.0
If you've already done that and it still doesn't work,
then I don't know, sorry.
Cheers
Tony
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-
> > bounces at lists.digium.com] On Behalf Of Lance Grover
> > Sent: Thursday, 16 June 2005 14:53
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: [Asterisk-Users] iax2 can't listen on virtual interface
> >
> > Can anyone shed some light on this, I have two asterisk boxes using
> > heartbeat for failover. Sip traffic works just fine with the
virtual
> > IP but IAX does not. For example on my servers one server has the
> > following:
> >
> > eth0 = 192.168.1.95
> > eth0:0 = 192.168.1.2
> >
> > the other server has:
> >
> > eth0 = 192.168.1.220
> >
> > if the first "Master" server goes down the second server will take
> > that virtal IP for it's eth0:0 but in either case the IAXY phones
> > cannot connect to this floating virtual IP but can connect to either
> > of the regular interfaces IPs.
> >
> > Please let me know if I am incorrect or if ther is something I can
do.
> >
> > --
> > Thanks,
> >
> > Lance Grover
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> This message (and any associated files) is intended only for the use
of the individual or
> entity to which it is addressed and may contain information that is
confidential, subject to
> copyright or constitutes a trade secret. If you are not the intended
recipient you are
> hereby notified that any dissemination, copying or distribution of
this message, or files
> associated with this message, is strictly prohibited. If you have
received this message in
> error, please notify us immediately by replying to the message and
deleting it from your
> computer. Messages sent to and from us may be monitored...
>
> Internet communications cannot be guaranteed to be secured or
error-free as information
> could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain
> viruses. Therefore, we do not accept responsibility for any errors or
omissions that are
> present in this message, or any attachment, that have arisen as a
result of e-mail
> transmission. If verification is required, please request a hard-copy
version. Any views or
> opinions presented are solely those of the author and do not
necessarily represent those of
> the company.
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list