Hi,
Thanks for your report.
Any chance for you to compile the app ?
Alternatively can you provide us with a test account
available from internet ?
Best regards
Hi!
After the update to the latest iOS version 4.0
(Linphone iOS 4.0, Linphone Core
3.12.0-2403-gc448d2e00) on iPhone 6S running iOS
11.4 Linphone can't register to the server (Asterisk
13.6.0), everything is the same as with the previous
version, no changes, just updated the app and can't
register anymore.
Linphone gets SIP/2.0
401 Unauthorized and doesn't try to login
with the proposed challenge. On the Linphone's
screen an Auth failed message blinks for an instant
and the state at the top changes to "(red circle)
Registration failed". Here goes the Linphone's log:
2018-06-12
18:42:00:427 [liblinphone] MESSAGE
linphone_core_find_auth_info(): returning auth
info username=100, realm=
2018-06-12 18:42:00:433 [belle-sip] MESSAGE No
auth info found for call id [1KfYt8pleb]
2018-06-12 18:42:00:434 [belle-sip] MESSAGE
Background task belle-sip transaction(0x1c4367440)
started. Unknown remaining time since application
is not fully in background.
2018-06-12 18:42:00:434 [belle-sip] MESSAGE
transaction [0x1c4367440]: starting transaction
background task with id=[1d16].
2018-06-12 18:42:00:434 [belle-sip] MESSAGE
Changing [client] [REGISTER] transaction
[0x1c4367440], from state [INIT] to [TRYING]
2018-06-12 18:42:00:436 [belle-sip] MESSAGE
channel [0x109178000]: message sent to [TCP://192.168.1.1:5060],
size: [610] bytes
REGISTER sip:192.168.1.1
SIP/2.0
Via: SIP/2.0/TCP
192.168.10.101:51914;alias;branch=z9hG4bK.rTmtfvwcG;rport
From: <sip:address@hidden>;tag=7QbBbXl9v
To: sip:address@hidden
CSeq: 21 REGISTER
Call-ID: 1KfYt8pleb
Max-Forwards: 70
Supported: replaces, outbound, gruu
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact:
<sip:address@hidden:51914;transport=tcp>;+sip.instance="<urn:uuid:031cf097-6095-4013-9668-387502926268>";+org.linphone.specs=groupchat
Expires: 600
User-Agent: Linphone_iPhone.6s_iOS11.4/4.0
(belle-sip/1.6.3)
Content-Length: 0
2018-06-12 18:42:00:437 [liblinphone] MESSAGE
Proxy config [0x103f144e0] for identity [sip:address@hidden]
moving from state [LinphoneRegistrationFailed] to
[LinphoneRegistrationProgress] on core
[0x104022400]
2018-06-12 18:42:00:437 [ios] MESSAGE
(LinphoneManager.m:944 ) New registration state:
LinphoneRegistrationProgress (message: Refresh
registration)
2018-06-12 18:42:00:444 [liblinphone] MESSAGE
Linphone core [0x104022400] notified
[registration_state_changed]
2018-06-12 18:42:02:256 [belle-sip] MESSAGE
Background task belle-sip recv channel started.
Unknown remaining time since application is not
fully in background.
2018-06-12 18:42:02:257 [belle-sip] MESSAGE
channel [0x109178000]: starting recv background
task with id=[1d73].
2018-06-12 18:42:02:258 [belle-sip] MESSAGE
channel [0x109178000]: received [451] new bytes
from [TCP://192.168.1.1:5060]:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP
192.168.10.101:51914;rport=51914;received=192.168.10.101;branch=z9hG4bK.rTmtfvwcG;alias
Call-ID: 1KfYt8pleb
From: <sip:address@hidden>;tag=7QbBbXl9v
To: <sip:address@hidden>;tag=z9hG4bK.rTmtfvwcG
CSeq: 21 REGISTER
WWW-Authenticate: Digest
realm="asterisk",nonce="1528818118/69a84bf10e0768aa3d3e7475a3adbae1",opaque="48d659fd2d768d05",algorithm=md5,qop="auth"
Server: Asterisk
Content-Length: 0
2018-06-12 18:42:02:262 [belle-sip] MESSAGE
channel [0x109178000] [451] bytes parsed
2018-06-12 18:42:02:262 [belle-sip] MESSAGE Found
transaction matching response.
2018-06-12 18:42:02:262 [belle-sip] MESSAGE
Changing [client] [REGISTER] transaction
[0x1c4367440], from state [TRYING] to
[COMPLETED]
2018-06-12 18:42:02:263 [liblinphone] MESSAGE
linphone_core_find_auth_info(): returning auth
info username=100, realm=
2018-06-12 18:42:02:263 [belle-sip] MESSAGE No
auth info found for call id [1KfYt8pleb]
2018-06-12 18:42:02:263 [belle-sip] MESSAGE Auth
info not found for this refresh operation on
[0x1c4345070]
2018-06-12 18:42:02:263 [bctbx] MESSAGE Register
refresher [401] reason [Unauthorized] for proxy
[<sip:192.168.1.1;transport=tcp>]
2018-06-12 18:42:02:264 [liblinphone] MESSAGE
Proxy config [0x103f144e0] for identity [sip:address@hidden]
moving from state [LinphoneRegistrationProgress]
to [LinphoneRegistrationFailed] on core
[0x104022400]
2018-06-12 18:42:02:264 [ios] MESSAGE
(LinphoneManager.m:944 ) New registration state:
LinphoneRegistrationFailed (message: Unauthorized)
2018-06-12 18:42:02:297 [liblinphone] MESSAGE
Linphone core [0x104022400] notified
[registration_state_changed]
2018-06-12 18:42:02:297 [liblinphone] MESSAGE
linphone_core_find_auth_info(): returning auth
info username=100, realm=
2018-06-12 18:42:02:297 [liblinphone] MESSAGE
asterisk/100/192.168.1.1/HttpDigest authentication
fails.
2018-06-12 18:42:02:305 [liblinphone] MESSAGE
Linphone core [0x104022400] notified
[authentication_requested]
2018-06-12 18:42:02:306 [belle-sip] MESSAGE
Changing [client] [REGISTER] transaction
[0x1c4367440], from state [COMPLETED] to
[TERMINATED]
2018-06-12 18:42:02:306 [belle-sip] MESSAGE Client
internal REGISTER transaction [0x1c4367440]
terminated
2018-06-12 18:42:02:306 [belle-sip] MESSAGE
transaction [0x1c4367440]: ending transaction
background task with id=[1d16].
2018-06-12 18:42:02:306 [belle-sip] MESSAGE
channel [0x109178000]: ending recv background task
with id=[1d73].
Here goes the log from Asterisk:
<--- Received
SIP request (610 bytes) from
TCP:192.168.10.101:51920 --->
REGISTER sip:192.168.1.1
SIP/2.0
Via: SIP/2.0/TCP
192.168.10.101:51920;alias;branch=z9hG4bK.4fh-zuezt;rport
From: <sip:address@hidden>;tag=Sc0XJ8q2M
To: sip:address@hidden
CSeq: 20 REGISTER
Call-ID: Ge7orKyW4L
Max-Forwards: 70
Supported: replaces, outbound, gruu
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact:
<sip:address@hidden:51920;transport=tcp>;+sip.instance="<urn:uuid:031cf097-6095-4013-9668-387502926268>";+org.linphone.specs=groupchat
Expires: 600
User-Agent: Linphone_iPhone.6s_iOS11.4/4.0
(belle-sip/1.6.3)
Content-Length: 0
<--- Transmitting SIP response (451 bytes) to
TCP:192.168.10.101:51920 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP
192.168.10.101:51920;rport=51920;received=192.168.10.101;branch=z9hG4bK.4fh-zuezt;alias
Call-ID: Ge7orKyW4L
From: <sip:address@hidden>;tag=Sc0XJ8q2M
To: <sip:address@hidden>;tag=z9hG4bK.4fh-zuezt
CSeq: 20 REGISTER
WWW-Authenticate: Digest
realm="asterisk",nonce="1528818246/57280f864dbf13043e1be1afdef21494",opaque="77a08f1a5a5200df",algorithm=md5,qop="auth"
Server: Asterisk
Content-Length: 0
Please let me know if additional information is
needed to identify the problem.
Thanks,
Anatoli
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
|