The IMS plays telephone on hold messages or music running in the background using the CPU idle time and the…