I am a hobbyist looking for a solution to link two houses together to use a single PTSN line for both homes and possibly do house to house calling etc. if SIP phones are added to the first house.
House 1:
PSTN line
Cable modem w/static IP
Linux box configured for routing/traffic shaping/site to site VPN to House 2
Linux box w/Asterisk and a TDM400P with a FXO module
Standard analog phones
House 2:
Cable modem w/static IP
Linux box configured for routing/traffic shaping/site to site VPN to House 1
Linux box w/Asterisk
SIP phone(s)
My idea is to setup two Asterisk boxes and route the VoIP traffic over the VPN tunnel established between house 1 and house 2. All calls made from house 2 with the SIP phones will go out one of the Asterisk boxes to the other one through the VPN tunnel and out the TDM400P w/FXO module out the PSTN.
Does this seem logical? Is there a better way to do this? This is a learning experience but VoIP has always interested me and Asterisk + TDM400P with a FXO module seems like a pretty cheap project to mess around with and get my hands into the VoIP scene.
Both sites have identical cable connections on the same provider network. The speeds are 5Mbit down/1Mbit up on both sides. Is the 1Mbit upload enough to handle one VoIP call? Is there too much overhead with routing the VoIP traffic over an encrypted VPN tunnel? Is there a better solution to all this (short of having a PSTN at both houses and defeating my project purposes/proof of concept)?
On a side note, I may also try to combine the Linux router and the Asterisk server(s) into one for each house to cut back on running machines. The idea of converting my WRT54GS to a Asterisk server sounds pretty neat too…