That is what it is supposed to do, but it depends how it is wired up.
"Since the software which runs on baseband processors is usually proprietary, it is impossible to perform an independent code audit. By reverse engineering some of the baseband chips, researchers have found security vulnerabilities that could be used to access and modify data on the phone remotely." https://en.wikipedia.org/wiki/Baseband_processor