401 registration unauthorized - Where is URI field set

Hi All,

One of our clients would like to setup asterisk to register with our VOIP service.

In the registration the normal 401 unauthorized is sent. On returning the register message asterisk has the following field in the Authorization field: uri:xxxxx@provider.com. (of course nonce, realm, algorithm field etc are also sent)

We think possibly that we don’t want the xxxx@ part.

Does anybody know where this is set in Asterisk, and furthermore what this field is for?

I say this doesn’t come from our service but from asterisk, they say that probably this is somehow generated from our side?

Are you asking where the use put their line in asterisk to register with you ? If yes then it is in sip.conf