[HELP] SIP register with string

Hi guys,

I’m trying to register my peers with [String] instead of number [1000].
However, I don’t want to create the dialplan for each user…
I’m trying to use the users.conf and the option alternateexts to give a extension number for each of my users, however, I can’t get this to work.
The log shows this:
WARNING[25809][C-00000003] chan_sip.c: Purely numeric hostname (1000), and not a peer–rejecting!
WARNING[25809][C-00000003] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)

users.conf:
[EsdrasNeto]
fullname = Esdras Neto
hasvoicemail = yes
hassip = yes
hasmanager = no
callwaiting = no
host=dynamic
secret=xxxxxxx
canreinvite=no
qualify=yes
context=xxxxxxx
alternateexts = 1000

extensions.conf
exten => _10XX,1,Dial(SIP/${EXTEN},20,t)
exten => _10XX,2,VoiceMail(${EXTEN}@vm)
exten => _10XX,3,PlayBack(vm-goodbye)
exten= > _10XX,4,hangup

Has anyone here done something similar? It will be a pain to configure a dialplan for each user…

Thanks!
Esdras

Up?