Re: Listen on 2 of 3 IP addresses
John Harragin <[email protected]>
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAEB6hR4bDA86mpdfjbESr=hjoE7Cp36FoZ=_1USw_jzP6OPr+w@mail.gmail.com> |
I've always had my servers have two or three different vlan interfaces. When I was using sip, I only bound to one interface with network segments dedicated to voip phones, but did a great deal of experimentation. I think if the endpoint devices are under your control and to specific groups of IPs or if you just had a few clients with fixed IPs, you can probably do it with a combination of appropriate firewall and routing tables and rules. The rules would have to be symmetrical so the inbound and outbound packets are restricted to a particular interface. I gave in to the future and switched a big deployment to pjsip a couple of years ago. Since then I've had to connect to a couple of appliance devices that needed to reside in another network, and am operating as you describe - which as pointed out can be done with pjsip. On Sun, Jul 17, 2022 at 8:25 PM Thomas Ray <[email protected]> wrote: > Moving to chan_pjsip solves this problem. > > > > *From: *asterisk-users <[email protected]> on > behalf of David Cunningham <[email protected]> > *Reply-To: *Asterisk Users Mailing List - Non-Commercial Discussion < > [email protected]> > *Date: *Sunday, July 17, 2022 at 5:53 PM > *To: *Asterisk Users Mailing List - Non-Commercial Discussion < > [email protected]> > *Subject: *Re: [asterisk-users] Listen on 2 of 3 IP addresses > > > > Thank you for that reply, Joshua. > > > > Henning, we can restrict access using the firewall, but unfortunately that > doesn't solve the problem with the address that's put in the SDP. > > > > > > On Sat, 16 Jul 2022 at 03:14, Henning Follmann <[email protected]> > wrote: > > On Fri, Jul 15, 2022 at 08:57:46AM -0300, Joshua C. Colp wrote: > > On Fri, Jul 15, 2022 at 1:37 AM David Cunningham < > [email protected]> > > wrote: > > > > > Hello, > > > > > > We have an Asterisk server with 3 IP addresses, and need to listen on > only > > > 2 of those. This is with chan_sip. Does anyone know if it's possible? > > > > > > If Asterisk listens on the third address then it seems to cause > problems > > > with the media address put in the SDP for our use case. > > > > > > > It's not. The chan_sip module allows you to bind to one thing, either a > > specific address or an any address. > > > > Well... > maybe chan_sip cannot, but your OS can restrict traffic on any port/iface. > > -H > > -- > Henning Follmann | [email protected] > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > > David Cunningham, Voisonics Limited > http://voisonics.com/ > USA: +1 213 221 1092 > New Zealand: +64 (0)28 2558 3782 > > -- _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > Check out the new Asterisk community forum at: > https://community.asterisk.org/ New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users > mailing list To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users