I am not sure if you have a tda in place but if you are having trouble with theory behind the concept of ip phones I would get the company that sold you the system(since this is not a do it yourself system) to set up a VPN between the two locations and install the cards in your system and do the programing and show you how all this comes together......