Why not use a virtual phone system instead? All you need to have are an: internet connection, PC, existing phone lines and IP phones. Once subscribed to a provider all you need to do is plug your phones. All the configuration are pre-configured by the provider.
See this site...