[OpenSER-Users-ES] Problemas de Autentificación

David Villasmil david.villasmil.work at gmail.com
Mon Jan 14 22:52:52 CET 2008


A ver si alguien me puede ayudar con ésto, no encuentro solución. Tel UA
está cerrado y no lo puedo configurar. El user/pass/realm está bien en el
openser, aquí un trace

OPENSER:

 3(29410) SIP Request:
 3(29410)  method:  <REGISTER>
 3(29410)  uri:     <sip:my.domain.com>
 3(29410)  version: <SIP/2.0>
 3(29410) parse_headers: flags=2
 3(29410) Found param type 235, <rport> = <n/a>; state=6
 3(29410) Found param type 232, <branch> = <z9hG4bK30055>; state=16
 3(29410) end of header reached, state=5
 3(29410) parse_headers: Via found, flags=2
 3(29410) parse_headers: this is the first via
 3(29410) After parse_msg...
 3(29410) preparing to run routing scripts...
 3(29410) parse_headers: flags=100
 3(29410) DEBUG:parse_to:end of header reached, state=10
 3(29410) DBUG:parse_to: display={}, ruri={sip:123456 at my.domain.com}
 3(29410) DEBUG: get_hdr_field: <To> [29]; uri=[sip:123456 at my.domain.com]
 3(29410) DEBUG: to body [<sip:123456 at my.domain.com>
]
 3(29410) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
 3(29410) DEBUG:maxfwd:is_maxfwd_present: value = 70
 3(29410) parse_headers: flags=200
 3(29410) DEBUG: get_hdr_body : content_length=0
 3(29410) found end of header
 3(29410) find_first_route: No Route headers found
 3(29410) loose_route: There is no Route HF
 3(29410)
New Registration
 3(29410) parse_headers: flags=4000
 3(29410) pre_auth(): Credentials with given realm not found
 3(29410) parse_headers: flags=14000
 3(29410) xl_get_authattr: Error while parsing headers
 3(29410)
Registration FAILED! CLIENT:
 3(29410) build_auth_hf(): 'WWW-Authenticate: Digest realm="my.domain.com",
nonce="478bd983f7e6d37c2be680092b6ce99fa0fb5c56"
'
 3(29410) parse_headers: flags=ffffffffffffffff
 3(29410) check_via_address(1.2.3.4.5, 192.168.1.94, 0)
 3(29410) DEBUG:destroy_avp_list: destroying list 0x77bf2e80
 3(29410) receive_msg: cleaning up

Un trace tshark:

Session Initiation Protocol
    Request-Line: REGISTER sip:sip99.yip.com SIP/2.0
        Method: REGISTER
        [Resent Packet: False]
    Message Header
        Via: SIP/2.0/UDP 192.168.1.94:3060;rport;branch=z9hG4bK8843
            Transport: UDP
            Sent-by Address: 192.168.1.94
            Sent-by port: 3060
            RPort: rport
            Branch: z9hG4bK8843
        From: <sip:123456 at my.domain.com>;tag=23419
            SIP from address: sip:123456 at my.domain.com
            SIP tag: 23419
        To: <sip:123456 at my.domain.com>
            SIP to address: sip:123456 at my.domain.com
        Call-ID: 28466 at 192.168.1.94
        CSeq: 1 REGISTER
            Sequence Number: 1
            Method: REGISTER
        Contact: <sip:123456 at 192.168.1.94:3060>
            Contact Binding: <sip:123456 at 192.168.1.94:3060>
                URI: <sip:123456 at 192.168.1.94:3060>
                    SIP contact address: sip:123456 at 192.168.1.94:3060
        Max-Forwards: 70
        User-Agent: Koncept KU2000 3.1.4.781
        Expires: 3600
        Content-Length: 0

Me da siempre UNAUTHORIZED.


gracias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/sr-users-es/attachments/20080114/fd65bbaf/attachment-0002.htm 


More information about the Users-es mailing list