This is not possible natively on IP phones registered with cucm, you may need to develop a customized solution ( script ) to enable this functionality.
HTH
Manish
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: