Linphone iOS latest version can't register

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Linphone iOS latest version can't register

Anatoli
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: [hidden email];tag=7QbBbXl9v
To: [hidden email]
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: [hidden email];+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 [[hidden email]] 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: [hidden email];tag=7QbBbXl9v
To: [hidden email];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 [[hidden email]] 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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email]
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: [hidden email];+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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email];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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Linphone iOS latest version can't register

Anatoli
Please confirm you can reproduce the problem. All our users who updated can't use Linphone anymore, a critical condition.

From: Anatoli
Sent: Tuesday, June 12, 2018 19:06
To: Linphone-developers
Subject: [Linphone-developers] Linphone iOS latest version can't register

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: [hidden email];tag=7QbBbXl9v
To: [hidden email]
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: [hidden email];+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 [[hidden email]] 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: [hidden email];tag=7QbBbXl9v
To: [hidden email];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 [[hidden email]] 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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email]
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: [hidden email];+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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email];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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Linphone iOS latest version can't register

jehan.monnier
In reply to this post by Anatoli
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


Le 12 juin 2018 à 18:06, Anatoli <[hidden email]> a écrit :

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 [<a href="tcp://192.168.1.1:5060" class="">TCP://192.168.1.1:5060], size: [610] bytes
REGISTER <a href="sip:192.168.1.1" class="">sip:192.168.1.1 SIP/2.0
Via: SIP/2.0/TCP 192.168.10.101:51914;alias;branch=z9hG4bK.rTmtfvwcG;rport
From: [hidden email];tag=7QbBbXl9v
To: [hidden email]
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: [hidden email];+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 [[hidden email]] 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 [<a href="TCP://192.168.1.1:5060]:" class="">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: [hidden email];tag=7QbBbXl9v
To: [hidden email];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 [<<a href="sip:192.168.1.1;transport=tcp" class="">sip:192.168.1.1;transport=tcp>]
2018-06-12 18:42:02:264 [liblinphone] MESSAGE Proxy config [0x103f144e0] for identity [[hidden email]] 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 <a href="sip:192.168.1.1" class="">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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email]
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: [hidden email];+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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email];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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers





_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

signature.asc (465 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Linphone iOS latest version can't register

Anatoli
Jehan,

Thanks for your reply.

I can't compile it, I'm using stock Linphone from the AppStore.

> Alternatively can you provide us with a test account available from internet ?

Do you mean that you don't observe the problem in your environment and this is something specific to my environment?

I could try to configure some test account if this is necessary, though all our services are behind VPN.

My main doubt is why the new Linphone stops trying to complete the challenge after it gets 401 Unauthorized. It should repeat the previous command with an md5 hash as requested.

Regards,
Anatoli

From: Jehan Monnier
Sent: Thursday, June 14, 2018 16:18
To: Linphone-developers
Subject: Re: [Linphone-developers] Linphone iOS latest version can't register

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


Le 12 juin 2018 à 18:06, Anatoli <[hidden email]> a écrit :

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 [<a href="tcp://192.168.1.1:5060" class="" moz-do-not-send="true">TCP://192.168.1.1:5060], size: [610] bytes
REGISTER <a href="sip:192.168.1.1" class="" moz-do-not-send="true">sip:192.168.1.1 SIP/2.0
Via: SIP/2.0/TCP 192.168.10.101:51914;alias;branch=z9hG4bK.rTmtfvwcG;rport
From: [hidden email];tag=7QbBbXl9v
To: [hidden email]
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: [hidden email];+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 [[hidden email]] 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 [<a href="TCP://192.168.1.1:5060]:" class="" moz-do-not-send="true">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: [hidden email];tag=7QbBbXl9v
To: [hidden email];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 [<<a href="sip:192.168.1.1;transport=tcp" class="" moz-do-not-send="true">sip:192.168.1.1;transport=tcp>]
2018-06-12 18:42:02:264 [liblinphone] MESSAGE Proxy config [0x103f144e0] for identity [[hidden email]] 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 <a href="sip:192.168.1.1" class="" moz-do-not-send="true">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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email]
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: [hidden email];+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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email];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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers






_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers
Reply | Threaded
Open this post in threaded view
|

Re: Linphone iOS latest version can't register

jehan.monnier
Hi,

Well, at the end we found the issue. It is related to  « algorithm=md5 » . We introduced a case sensitive check on algorithm while it should be insensitive.
It is fix now. We will probably publish a 4.0.1 in the comings weeks with few other bug fixes.

Best regards 


Le 15 juin 2018 à 07:18, Anatoli <[hidden email]> a écrit :

Jehan,

Thanks for your reply.

I can't compile it, I'm using stock Linphone from the AppStore.

> Alternatively can you provide us with a test account available from internet ?

Do you mean that you don't observe the problem in your environment and this is something specific to my environment?

I could try to configure some test account if this is necessary, though all our services are behind VPN.

My main doubt is why the new Linphone stops trying to complete the challenge after it gets 401 Unauthorized. It should repeat the previous command with an md5 hash as requested.

Regards,
Anatoli

From: Jehan Monnier
Sent: Thursday, June 14, 2018 16:18
To: Linphone-developers
Subject: Re: [Linphone-developers] Linphone iOS latest version can't register

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


Le 12 juin 2018 à 18:06, Anatoli <[hidden email]> a écrit :

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 [<a href="tcp://192.168.1.1:5060" class="" moz-do-not-send="true">TCP://192.168.1.1:5060], size: [610] bytes
REGISTER <a href="sip:192.168.1.1" class="" moz-do-not-send="true">sip:192.168.1.1 SIP/2.0
Via: SIP/2.0/TCP 192.168.10.101:51914;alias;branch=z9hG4bK.rTmtfvwcG;rport
From: [hidden email];tag=7QbBbXl9v
To: [hidden email]
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: [hidden email];+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 [[hidden email]] 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 [<a href="TCP://192.168.1.1:5060]:" class="" moz-do-not-send="true">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: [hidden email];tag=7QbBbXl9v
To: [hidden email];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 [<<a href="sip:192.168.1.1;transport=tcp" class="" moz-do-not-send="true">sip:192.168.1.1;transport=tcp>]
2018-06-12 18:42:02:264 [liblinphone] MESSAGE Proxy config [0x103f144e0] for identity [[hidden email]] 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 <a href="sip:192.168.1.1" class="" moz-do-not-send="true">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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email]
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: [hidden email];+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: [hidden email];tag=Sc0XJ8q2M
To: [hidden email];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
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers



<belledonne-communications.png>



_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers

signature.asc (465 bytes) Download Attachment