A VPN between the two with the device each side having a VoIP GW card should do although i usually use SIP peering via gateways so i don't have to use expensive gateways.

Done several site interconnection with analog systems not the TDE series.

Try looking at the IP Networking manual