how to associate call to a contact with extensions

how to associate call to a contact with extensions

I'm using CRM with RingCentral. When I call a contact with an extension, my call gets logged to the first person in the account (they all have the same number and different extensions)...How can I switch that call record to the correct contact?

Scott