If it was only a visit visa, it cannot be transferred to resident visa. It should be a family visa so that it can be converted to resident visa. If she is on visit/tourist visa, she has to exit the country so that you can directly apply for a family resident visa for your mother.