Sign up as an anonymous u

There is a Cisco cp 8945 phone is registered on the server all well. But when the call comes from pjsip/anonymous. When he calls on his number come. Could get the calls on the internal rooms. By allowing anonymous incoming calls to asterisk settings to configure sip for asterisk. I would like to get a correct phone behavior so that the call goes from his number rather than the anonymous user gt or that the outgoing anonymous calls are passing.