Only gonna do a very basic guide, because I can't find any of my notes.
*For both TDA's you need to put the IPGW trunks into a trunk group of their own. Just pop them both into 10.
*Use a different extension numbering plans for each system. For site A, have the extensions as 10xx and for site b have them 20xx. For site a, delete 20xx and for site b delete 10xx.
*Add 20xx to other pbx extension for site a.
*Add 10xx to other pbx extension for site b.
*In tie table for site a, enter leading digit as 2 and set trunk group to 1
*In tie table for site b, enter leading digit as 10 and set trunk group to 1
That pretty much does it for the system. Now you have to setup the actual card. Connect to it using a web browser.
Go to the section 2.1 Change run/stop status.
Set the card to stop.
*Look at area 1.1 - Network Settings
Set IP address, subnet and default gateway. This is for the card you are working on only.
*Look at area 1.5 - Hunt Pattern
Enter the digits that this particular card will receive.
(1 for site a, 2 for site b) When you enter the details, you have to click on entry, then OK to confirm.
*Look at area 1.6 - DN2IP
Click on 1.6.1 - GW Entry.
Enter the details for all IPGW cards in the network
First GW is 0 and make the second site 1
Comment is just a site name
IP address must be different for each.
Group no. should be 0
Entry and OK to confirm again
*Go to section 1.6.2 - DN2IP Entry
Enter all leading digits for entire network.
Select remaing digits for each entry as 3. (assuming 4 digit ext numbers, in fact this whole guide is based on 4 digit numbering)
So enter 1 as leading number, 3 for remaining digits, click the GW button, and enter 0 or 1 depending which gateway the 1xxx extensions are on.
Do the same for 2 but obviously it'll have a different GW destination.
Entry and confirm again.
*Set the cards into run mode and test
That should get a very basic setup running. Mind you, its very basic and assumes that you have the TDA maintenance console, default IP address and password of IPGW card.