SIP register using SIP Alias instead of Extension number

Hi,

I am using PBX In a Flash distro (Asterisk 1.4, FreePBX 2.4).

I want to register my IP phones using a SIP Alias instead of the extension number.

Here is my entry in sip_additional.conf.
Instead of 5214832, I want to use “someName” to register my IP Phone.

How should I do that?

[5214832]
type=friend
secret=verysecret
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
pickupgroup=
nat=yes
mailbox=5214832@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/5214832
context=from-internal
canreinvite=no
callgroup=
callerid=device <5214832>
accountcode=
call-limit=50

Just change 5214832 to somename.

[john]
user=john
username=john
type=friend
secret=verysecret
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
pickupgroup=
nat=yes
mailbox=5214832@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/5214832
context=from-internal
canreinvite=no
callgroup=
callerid=device <5214832>
accountcode=
call-limit=50