Section Name and Username in sip.conf

I’m wondering why, in sip.conf, the section name has to be the same as the username. If they don’t match, then asterisk will not authenticate the user.

For example, the following doesn’t work.
[3250071]
type=friend
context=c_3250071
host=dynamic
username=dougg
secret=180

and this does work…
[3250071]
type=friend
context=c_3250071
host=dynamic
username=3250071
secret=180

I don’t see any reason why the section name/extension and the user name used to authenticate have to be the same. Does anyone know how I can set them differently?

Wow. 10 looks and no replies. It’s hard to believe no one has tried to have an extension with a different auth user name. :frowning: