<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
i had a similar challenge having Asterisk listen to multiple ports.. "some of my agents located in countries where SIP is blocked" <br>the only effective way is to use IPTABLES i believe your problem can be solved with the same method.<br><br><br><br>Tarek Sawah<br><br>Information Technology Adviser<br><br>Integrated Digital Systems<br><br>CCNP, MCSE, RHCE, TELECOM<br><br>USA: +1 386 492 9993<br><br><br><br><div>> Date: Wed, 12 Oct 2011 23:27:16 +0200<br>> From: georg@riseup.net<br>> To: asterisk-users@lists.digium.com<br>> Subject: [asterisk-users] Binding asterisk to two static IPs<br>> <br>> He all,<br>> <br>> I've got a similar setup like [1], and the same issues thats described<br>> there. However, there was never a reply to this thread.<br>> <br>> I'm using a HA-cluster to run asterisk, on two servers, with two virtual<br>> ips. One for the phones to register, the other one from a different net to<br>> send and receive calls trough my provider. This is aswell a private net,<br>> without nat.<br>> <br>> From [1]:<br>> <br>> "If you put 0.0.0.0, it will bind to all addresses. In a HA Cluster, on<br>> the active node, if you have a box address of 192.168.1.101 and a floating<br>> address of 192.168.1.102, then if you use<br>> <br>> bindaddr=0.0.0.0<br>> <br>> you will find that phones on the 192.168.1.x subnet will not register on<br>> the floating address, which of course defeats the point of HA clustering.<br>> What happens is that the registration packets go to the floating address<br>> 192.168.1.102 but the response packets appear to come from 192.168.1.101<br>> [same NIC but the packet contains the base address attached to the NIC],<br>> so the registration fails."<br>> <br>> Any idea how to solve this?<br>> <br>> Thanks,<br>> Georg<br>> <br>> [1]<br>> http://www.fonality.com/trixbox/forums/trixbox-forums/help/binding-sip-multiple-not-all-ip-addresses<br>> <br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br></div>                                            </div></body>
</html>