Generally the answer is yes, that is what that part is designed to do. You can google the part number and get some suggested schemAtics.
But as this will probably be a direct line connected device is violates our terms of service so we can't give detailed advice. We want to keep the new people safe. <smile>