I was having the same problem as both of your earlier. I so started to read and sniffing packets.

 

http://www.mail-archive.com/users@openser.org/msg00152.html

 

That says the SER will take the domain from the FROM/URI, and when I looked at my packets the FROM/URI was correct, but the Contact was not. I had to move somethings around and I now run ‘fix_nated_contact()’ before I do my authentication. This fixed the problem for me. Even though SER debug says that is has the correct digest realm. It doesn’t.

 

 

Natambu Obleton

Network Engineer

FastTrack Communications

nobleton@fasttrackcomm.net

(970) 247-3366 office

(970) 247-2426 fax

 


From: serusers-bounces@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of ram
Sent: Thursday, August 31, 2006 12:10 AM
To: Greger V. Teigre
Cc: serusers@iptel.org
Subject: Re: [Serusers] pre_auth(): Credentials with given realm not found

 

Hi

 

iam using Ser 0.8.14

 

is this bug in this version

could some one confirm

 

Ram

 

On 8/31/06, Greger V. Teigre <greger@teigre.com> wrote:

Sounds like a broken UA.
g-)

ram wrote:

Hi all

 

iam testing Voicemessages with Asterisk

 

in the log i get frequently

 

 pre_auth(): Invalid nonce value received, very suspicious !

 

when i debug, i get the following message

 

i have posted my config couple of day back

 

 5(2213) get_hdr_field: cseq <CSeq>: <6> <REGISTER>
 5(2213) DEBUG: is_maxfwd_present: value = 70
 5(2213) parse_headers: flags=256
 5(2213) DEBUG: get_hdr_body : content_length=0
 5(2213) found end of header
 5(2213) find_first_route(): No Route headers found
 5(2213) loose_route(): There is no Route HF
 5(2213) check_self - checking if host==us: 14==13 &&  [ mydomain.com] == [myipaddress]
 5(2213) check_self - checking if port 5060 matches port 5060
 5(2213) parse_headers: flags=-1
 5(2213) parse_headers: flags=-1
 5(2213) check_via_address(some ip address, some ip address, 0)
 5(2213) check_self - checking if host==us: 14==13 &&  [ mydomain.com] == [myipaddress]
 5(2213) check_self - checking if port 5060 matches port 5060
 5(2213) parse_headers: flags=4096
 5(2213) pre_auth(): Credentials with given realm not found
 5(2213) build_auth_hf(): 'WWW-Authenticate: Digest realm=" mydomain.com", nonce="44f6ee623e15edb81a22dcec25ebe8c58b6e056d"
'
 




 
_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers