Hello,
You can use 'Extract Data' command of Web Recorder to extract the phone number into user variable that can be used later in the task.
Automation Anywhere provides a powerful tool, Web Recorder that understands all web controls. If websites change and web controls move, Automation Anywhere can still find the correct controls.
You can view a demo on how Web Recorder works at,
Automation Anywhere - Learning Center
If you can give us URL of website you are working with, we would be able to create a specific task for your reference.
Hope that helps.