Dear Sir,
It’s an experiment i just want to know whether it is possible to assign/configure phone(physical/Switch) an extension number using Asterisk command.
Extensions are assigned in the extensions tab of FreePbx.
The Physical telephone must be programmed to match a previously created extension.
If the move from one desk to another is permanent, simply move the phone.
If the moves from one desk to another is at random and occurs frequently, you’ll want to look at setting up your system in the “device and user” mode.
The best way for a person to take a call at one location and move it to another location where he or she can pick it up is to use the “park” function.
Finally, and I’m not trying to be a smart a@# here, from the questions you ask, you’re a long way away from having a working system. You’ve a lot of reading to do. May I suggest, as a starter, you take a look at this document to get you started: