SIP registration error: No suitable credential (PJSIP_ENOCREDENTIAL) [status=171101]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have implemented the SIP softphone using PJSIP. We are testing on
Windows XP Pro SP3

However, we are getting these messages below. We are unable to solve
this problem. 

However, we think this problem only occurred after we implemented
OpenSER. However, we cannot be sure of this. 

Any information that you can provide would be most helpfull,

Thanks,


 13:14:59.281 os_core_win32. pjlib 0.8.0 for win32 initialized
 13:14:59.296 sip_endpoint.c Creating endpoint instance...
 13:14:59.296          pjlib WinNT IOCP I/O Queue created (00B30840)
 13:14:59.312 sip_endpoint.c Module "mod-msg-print" registered
 13:14:59.312 sip_transport. Transport manager created.
 13:14:59.312 sip_endpoint.c Module "mod-pjsua-log" registered
 13:14:59.312 sip_endpoint.c Module "mod-tsx-layer" registered
 13:14:59.312 sip_endpoint.c Module "mod-stateful-util" registered
 13:14:59.312 sip_endpoint.c Module "mod-ua" registered
 13:14:59.328 sip_endpoint.c Module "mod-100rel" registered
 13:14:59.328 sip_endpoint.c Module "mod-pjsua" registered
 13:14:59.328 sip_endpoint.c Module "mod-invite" registered
 13:14:59.562      pasound.c PortAudio sound library initialized,
status=0
 13:14:59.562      pasound.c PortAudio host api count=3
 13:14:59.562      pasound.c Sound device count=8
 13:14:59.562          pjlib WinNT IOCP I/O Queue created (009ECDEC)
 13:14:59.578 sip_endpoint.c Module "mod-evsub" registered
 13:14:59.578 sip_endpoint.c Module "mod-presence" registered
 13:14:59.578 sip_endpoint.c Module "mod-refer" registered
 13:14:59.578 sip_endpoint.c Module "mod-pjsua-pres" registered
 13:14:59.578 sip_endpoint.c Module "mod-pjsua-im" registered
 13:14:59.578 sip_endpoint.c Module "mod-pjsua-options" registered
 13:14:59.593   pjsua_core.c 1 SIP worker threads created
 13:14:59.593   pjsua_core.c pjsua version 0.8.0 for win32 initialized
 13:14:59.609   pjsua_core.c SIP UDP socket reachable at
10.10.10.101:5060
 13:14:59.609    udp00B5C35C SIP UDP transport started, published
address is 10.10.10.101:5060
 13:14:59.609    pjsua_acc.c Account
<sip:10.10.10.101:5060;transport=UDP> added with id 0
 13:14:59.609    pjsua_acc.c Account sip:_28104707 at xxx.xxx.xx.xx added
with id 1
 13:14:59.609   pjsua_core.c TX 458 bytes Request msg
REGISTER/cseq=18509 (tdta00B5DFE8) to UDP xxx.xxx.xx.xx:5060:
REGISTER sip:xxx.xxx.xx.xx SIP/2.0
Via: SIP/2.0/UDP
10.10.10.101:5060;rport;branch=z9hG4bKPjb46149cc685943a4a34de448687d94c1
Max-Forwards: 70
From: <sip:_28104707@xxxxxxxxxxxxx>;tag=e6b2985faa634558bb9db039d8c69833
To: <sip:_28104707 at xxx.xxx.xx.xx>
Call-ID: 462ad39247e14bab85f62f485ebb0cda
CSeq: 18509 REGISTER
User-Agent: SIPMobile on PJSUA v0.8.0/win32
Contact: <sip:_28104707 at 10.10.10.101:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 13:14:59.640    pjsua_acc.c Registration sent
 13:14:59.640  icstr00B5F848 ICE stream transport created
 13:14:59.656  icstr00B610D8 ICE stream transport created
 13:14:59.671  icstr00B62968 ICE stream transport created
 13:14:59.671  icstr00B641F8 ICE stream transport created
 13:14:59.687  pjsua_media.c pjsua_set_snd_dev(): attempting to open
devices @8000 Hz
 13:14:59.718   pjsua_core.c RX 365 bytes Response msg
100/REGISTER/cseq=18509 (rdata00B5C7BC) from UDP xxx.xxx.xx.xx:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
10.10.10.101:5060;rport=1037;branch=z9hG4bKPjb46149cc685943a4a34de448687d94c1
From:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=e6b2985faa634558bb9db039d8c69833
To: <sip:_28104707 at xxx.xxx.xx.xx:5060>
Call-ID: 462ad39247e14bab85f62f485ebb0cda
CSeq: 18509 REGISTER
Server: OpenSER (1.3.0-notls (i386/linux))
Content-Length: 0


--end msg--
 13:14:59.750   pjsua_core.c RX 530 bytes Response msg
401/REGISTER/cseq=18509 (rdata00B5C7BC) from UDP xxx.xxx.xx.xx:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
10.10.10.101:5060;rport=1037;branch=z9hG4bKPjb46149cc685943a4a34de448687d94c1
From:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=e6b2985faa634558bb9db039d8c69833
To:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=cd26396805159596ec85171715007fc8.b33b
Call-ID: 462ad39247e14bab85f62f485ebb0cda
CSeq: 18509 REGISTER
WWW-Authenticate: Digest realm="sip1.mediaroutes.com",
nonce="4a2ca89b2b43f92e2aa610cb7b84555d142f80c2", qop="auth"
Server: OpenSER (1.3.0-notls (i386/linux))
Content-Length: 0


--end msg--
 13:14:59.765 sip_auth_clien Unable to set auth for tdta00B5DFE8: can
not find credential for sip1.mediaroutes.com/Digest
 13:14:59.781    pjsua_acc.c SIP registration error: No suitable
credential (PJSIP_ENOCREDENTIAL) [status=171101]
##### REG STATUS: STATUS_UNKNOWN
 13:15:04.687   sound_port.c EC suspended because of inactivity
 13:15:04.734   pjsua_call.c pjsua_call_hangup(): invalid call id -1
 13:15:04.734    pjsua_acc.c Account sip:_28104707 at xxx.xxx.xx.xx added
with id 2
 13:15:04.734   pjsua_core.c TX 458 bytes Request msg
REGISTER/cseq=32835 (tdta00B667B8) to UDP xxx.xxx.xx.xx:5060:
REGISTER sip:xxx.xxx.xx.xx SIP/2.0
Via: SIP/2.0/UDP
10.10.10.101:5060;rport;branch=z9hG4bKPjbf3d49307d3a4d32b2a5209c001a8c3a
Max-Forwards: 70
From: <sip:_28104707@xxxxxxxxxxxxx>;tag=1d393c3f979049f4b4cc58168df80196
To: <sip:_28104707 at xxx.xxx.xx.xx>
Call-ID: a3430cd6c4064e4fbb567f1cd86e7c63
CSeq: 32835 REGISTER
User-Agent: SIPMobile on PJSUA v0.8.0/win32
Contact: <sip:_28104707 at 10.10.10.101:5060;transport=UDP>
Expires: 300
Content-Length:  0


--end msg--
 13:15:04.765    pjsua_acc.c Registration sent
 13:15:04.796   pjsua_core.c RX 365 bytes Response msg
100/REGISTER/cseq=32835 (rdata00B5C7BC) from UDP xxx.xxx.xx.xx:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
10.10.10.101:5060;rport=1037;branch=z9hG4bKPjbf3d49307d3a4d32b2a5209c001a8c3a
From:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=1d393c3f979049f4b4cc58168df80196
To: <sip:_28104707 at xxx.xxx.xx.xx:5060>
Call-ID: a3430cd6c4064e4fbb567f1cd86e7c63
CSeq: 32835 REGISTER
Server: OpenSER (1.3.0-notls (i386/linux))
Content-Length: 0


--end msg--
 13:15:04.812   pjsua_core.c RX 530 bytes Response msg
401/REGISTER/cseq=32835 (rdata00B5C7BC) from UDP xxx.xxx.xx.xx:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
10.10.10.101:5060;rport=1037;branch=z9hG4bKPjbf3d49307d3a4d32b2a5209c001a8c3a
From:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=1d393c3f979049f4b4cc58168df80196
To:
<sip:_28104707 at xxx.xxx.xx.xx:5060>;tag=cd26396805159596ec85171715007fc8.2b5a
Call-ID: a3430cd6c4064e4fbb567f1cd86e7c63
CSeq: 32835 REGISTER
WWW-Authenticate: Digest realm="sip1.mediaroutes.com",
nonce="4a2ca8a066ad624141fe39b30f98eba9efa31e9c", qop="auth"
Server: OpenSER (1.3.0-notls (i386/linux))
Content-Length: 0


--end msg--
 13:15:04.843 sip_auth_clien Unable to set auth for tdta00B667B8: can
not find credential for sip1.mediaroutes.com/Digest
 13:15:04.843    pjsua_acc.c SIP registration error: No suitable
credential (PJSIP_ENOCREDENTIAL) [status=171101]
##### REG STATUS: STATUS_UNKNOWN




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux