[Users] What does this mean?

nick nick at mobilia.it
Thu Mar 29 12:28:43 CEST 2007


pre_auth(): Credentials with given realm not found

After looking around google it seems to be based on the fact that the 
first sip: value doesn't contain the userid (if I understand correctly...)

I can't figure out exactly why the RURI is coming in this fashion..

Should I be changing something in the clients, or my config??

These worked on an older config, now with this section, they just don't 
get accepted. I've tried it with and without sipserver.mobilia.it in the 
  realm.

I've also tried it with the server generating ha1 and static ha1 (from 
the ha1 and ha1b fields in the db), no difference.

I have use domain 1 in registrar and auth_db, and strip "sipserver."


sl_send_reply("100", "Trying");
	if(!www_authorize("", "subscriber"))
	{
		
		xlog("L_INFO", "Register authentication failed - M=$rm RURI=$ru F=$fu 
T=$tu IP=$si ID=$ci\n");
		www_challenge("", "1");
		exit;
	}

Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: New request - 
M=REGISTER RURI=sip:mobilia.it F=sip:rice at mobilia.it 
T=sip:rice at mobilia.it IP=x.x.x.105 ID=fmq-17240 at x.x.x.105
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: parse_headers: 
flags=100
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: get_hdr_field: 
cseq <CSeq>: <100> <REGISTER>
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: 
DEBUG:maxfwd:is_maxfwd_present: value = 70
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: parse_headers: 
flags=200
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: DEBUG: 
get_hdr_body : content_length=0
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: found end of 
header
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: 
find_first_route: No Route headers found
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: loose_route: 
There is no Route HF
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: parse_headers: 
flags=ffffffffffffffff
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: 
check_via_address(x.x.x.105, x.x.x.105, 0)
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: parse_headers: 
flags=4000
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: pre_auth(): 
Credentials with given realm not found
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: Register 
authentication failed - M=REGISTER RURI=sip:mobilia.it 
F=sip:rice at mobilia.it T=sip:rice at mobilia.it IP=x.x.x.105 
ID=fmq-17240 at x.x.x.105
Mar 29 12:07:40 sipserver /usr/local/sbin/openser[22732]: 
build_auth_hf(): 'WWW-Authenticate: Digest realm="mobilia.it", 
nonce="460b9118a6a044d8837a01f924be2a9a3b7e0271", qop="auth"^M '




More information about the Users mailing list