Lance Grover
2005-Jun-15 21:53 UTC
[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
Boris Bakchiev
2005-Jun-15 23:06 UTC
[Asterisk-Users] iax2 can't listen on virtual interface
Yes you can. Just tell iax to bind to that virtual address in iax.conf> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThis 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.
Boris Bakchiev
2005-Jun-16 01:57 UTC
[Asterisk-Users] Re: iax2 can't listen on virtual interface
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@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tony Mountifield Sent: Thursday, June 16, 2005 5:19 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: iax2 can't listen on virtual interface In article <13404687B15D66459DAC76C2AEFDE64D1A7605@mail1.jildent.com.au>, Boris Bakchiev <boris@jildent.com.au> wrote:> Yes you can. > > Just tell iax to bind to that virtual address in iax.confI 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@lists.digium.com[mailto:asterisk-users-> > bounces@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 thevirtual> > 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 cando.> > > > -- > > Thanks, > > > > Lance Grover > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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 useof the individual or> entity to which it is addressed and may contain information that isconfidential, subject to> copyright or constitutes a trade secret. If you are not the intendedrecipient you are> hereby notified that any dissemination, copying or distribution ofthis message, or files> associated with this message, is strictly prohibited. If you havereceived this message in> error, please notify us immediately by replying to the message anddeleting it from your> computer. Messages sent to and from us may be monitored... > > Internet communications cannot be guaranteed to be secured orerror-free as information> could be intercepted, corrupted, lost, destroyed, arrive late orincomplete, or contain> viruses. Therefore, we do not accept responsibility for any errors oromissions that are> present in this message, or any attachment, that have arisen as aresult of e-mail> transmission. If verification is required, please request a hard-copyversion. Any views or> opinions presented are solely those of the author and do notnecessarily represent those of> the company. > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Possibly Parallel Threads
- asterisk in Taiwan
- asterisk on internet sip phone behind nat - doessomeone even have this working
- NOTICE[180235]: chan_zap.c:7358 pri_dchannel: PRI got event: 6 on Primary D-channel of span 1
- The High Performance Echo Canceller (HPEC)
- asterisk on internet sip phone behind nat - does someone even have this working