[Serusers] Gransteam 486, auth digest on ser.

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 10 02:11:37 CEST 2004


I tested a ATA-486 today and it worked fine with ser (with fw 1.0.4.68 
and 1.0.5.10). Can you the post the SIP message flow? (ngrep port 5060)

regards,
klaus

Sean Lowry wrote:
> i have ser running with db auth.
> 
> i have 3 users.
> 
> 1-asterisk
> 1-x-lite client
> 1-grandstream 486.
> 
> now the asterisk and x-lite client register with no problems.
> 
> but the grandsteam 486 fails everytime.
> 
> here's the error from the grandstream
> 
> 14(15417) receive_msg: cleaning up
>  9(15406) SIP Request:
>  9(15406)  method:  <REGISTER>
>  9(15406)  uri:     <sip:*.*.*.*>
>  9(15406)  version: <SIP/2.0>
>  9(15406) parse_headers: flags=1
>  9(15406) Found param type 232, <branch> = <z9hG4bK2dfa9e7d29a2dac4>;
> state=16
>  9(15406) end of header reached, state=5
>  9(15406) parse_headers: Via found, flags=1
>  9(15406) parse_headers: this is the first via
>  9(15406) After parse_msg...
>  9(15406) preparing to run routing scripts...
>  9(15406) DEBUG : is_maxfwd_present: searching for max_forwards header
>  9(15406) parse_headers: flags=128
>  9(15406) end of header reached, state=9
>  9(15406) DEBUG: get_hdr_field: <To> [26]; uri=[sip:60005@*.*.*.*] 
>  9(15406) DEBUG: to body [<sip:60005@*.*.*.*>
> ]
>  9(15406) get_hdr_field: cseq <CSeq>: <100> <REGISTER>
>  9(15406) DEBUG: is_maxfwd_present: value = 70 
>  9(15406) DEBUG: add_param: tag=bc875e4c67b6e1a6
>  9(15406) end of header reached, state=29
>  9(15406) parse_headers: flags=256
>  9(15406) DEBUG: get_hdr_body : content_length=0
>  9(15406) found end of header
>  9(15406) find_first_route(): No Route headers found
>  9(15406) loose_route(): There is no Route HF
>  9(15406) check_self - checking if host==us: 12==9 &&  [*.*.*.*] ==
> [127.0.0.1]
>  9(15406) check_self - checking if port 5060 matches port 5060
>  9(15406) check_self - checking if host==us: 12==12 &&  [*.*.*.*] ==
> [*.*.*.*]
>  9(15406) check_self - checking if port 5060 matches port 5060
>  9(15406) parse_headers: flags=4096
>  9(15406) pre_auth(): Credentials with given realm not found
>  9(15406) build_auth_hf(): 'WWW-Authenticate: Digest realm="mydomain.com",
> nonce="411790fae9ff2d7739f5e19e3f8b5b675e82c1b7"
> '
>  9(15406) parse_headers: flags=-1
>  9(15406) check_via_address(*.*.*.*, *.*.*.*, 0)
>  9(15406) DEBUG:destroy_avp_list: destroing list (nil)
>  9(15406) receive_msg: cleaning up
> 
> 
> does anyone have any ideas ?
> 
> Sean
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 
> 




More information about the sr-users mailing list