Click on Extensions
Click on the Extension you wish to modify with a Direct-Inward-Dial (DID or 'phone number')
Within the Extension Configuration page, select the drop-down next to Inbound Phone No. and choose the phone number you want to associate with the extension (you must first add phone numbers to your system)
Click Update Extension at the bottom of the page
...