[Help] How to use machinedetect

How do you incorporate machinedetect in a dialplan?