Koozali.org: home of the SME Server

Sail with own gateway on network

Offline compsos

  • *
  • 472
  • +0/-0
Sail with own gateway on network
« on: October 23, 2013, 04:13:07 AM »
Hi
Is it possible to set up Sail on a 2nd SME 8 as a VOIP server using this servers WAN interface to route all the calls?

Due to only ADSL1 available we are considering setting the the Main server (with DHCP) on WAN1 and attach the VOIP server to a 2nd WAN. We have looked at pfSense but considering we are planning only VOIP on the WAN2 seems to be an overkill.

TIA
« Last Edit: October 24, 2013, 12:02:44 AM by compsos »
Regards

Gordon............

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail with own gateway on network
« Reply #1 on: October 27, 2013, 07:21:39 PM »
Yup

Just set it up as server gateway with the gateway pointing at the second ADSL. The internal IP would be a fixed IP on your existing network.   Lots of customers run that way.

S

Offline compsos

  • *
  • 472
  • +0/-0
Re: Sail with own gateway on network
« Reply #2 on: October 28, 2013, 07:34:58 AM »
So Asterisk/Sail and the phones would know the correct gateway and not be confused by the main DHCP and DNS services on the main server?
Regards

Gordon............

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Sail with own gateway on network
« Reply #3 on: October 28, 2013, 11:54:30 AM »
In effect, yes.  The phones will still have DHCP and DNS from the main router but they send their SIP calls to SARK (which is all that matters).   SARK knows where its own upstream server is so it sends the SIP over that.   Obviously, you shouldn't have SARK giving DHCP in competition with the existing DHCP server.   The only other thing to watch is if you are provisioning the phones fom SARK with TFTP then you will have to figure out a way of telling the phones where the TFTP server is.  In SARK DHCP server we send option 66 to do this.   If your existing DHCP server supports option 66 then use that otherwise you may have to hardcode each phone to tell it where the TFTP server is.  If you are fortunate enough to have SNOM or Yealink phones then you can just turn on SIP Multicast provisioning in SARK and that problem disappears.

S