DMS100 and 500 are the same to the Legend/Magix. NI1 is a BRI protocol. You must use AT@T 4ESS or 5ESS Custom. Remember switch type and protocol are two completly different things. Most all recent releases of CO switchs can emulate any protocol.