BelledonneCommunications / linhome-android

GNU General Public License v3.0
8 stars 6 forks source link

SIP proxy at sip.linhome.org is not available #28

Open mixaz opened 1 year ago

mixaz commented 1 year ago

Account registration at sip.linhome.org works OK, but connection to SIP proxy fails. I see in menu "My Account":

Account: sip:gmixaz@sip.linhome.org
SIP connection: Connection failed

Connecting to sip.linphone.org account works OK, using it instead.

I use Android 10 x86 emulator from Android Studio.

Relevant logcat output:

2022-11-30 12:51:33.740  5169-5169  Linhome                 org.linhome                          I  channel [0xbc9f8fc0]: keep alive sent to [UDP://sip.linphone.org:5060]
2022-11-30 12:51:33.740  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: keep alive sent to [TLS://sip.linhome.org:5061]
2022-11-30 12:52:03.745  5169-5169  Linhome                 org.linhome                          I  channel [0xbc9f8fc0]: keep alive sent to [UDP://sip.linphone.org:5060]
2022-11-30 12:52:03.746  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: keep alive sent to [TLS://sip.linhome.org:5061]
2022-11-30 12:52:23.754  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): Android wake lock [belle-sip transaction(0xc1e9e260)] acquired [ref=0x31ea]
2022-11-30 12:52:23.754  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): cast long of wakelock 12778
2022-11-30 12:52:23.754  5169-5169  Linhome                 org.linhome                          I  transaction [0xc1e9e260]: starting transaction background task with id=[31ea].
2022-11-30 12:52:23.755  5169-5169  Linhome                 org.linhome                          I  Transaction [0xf0d85660] deleted
2022-11-30 12:52:23.755  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xc1e9e260], from state [INIT] to [TRYING]
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: message sent to [TLS://sip.linhome.org:5061], size: [887] bytes
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  REGISTER sip:sip.linhome.org SIP/2.0
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Via: SIP/2.0/TLS 10.0.2.16:35290;alias;branch=z9hG4bK.zB9OHH9U~;rport
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  From: <sip:gmixaz@sip.linhome.org>;tag=1nhQzqbC9
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  To: sip:gmixaz@sip.linhome.org
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  CSeq: 22 REGISTER
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Call-ID: BhYahYWv9c
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Max-Forwards: 70
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Supported: replaces, outbound, gruu, path
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Accept: application/sdp
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Accept: text/plain
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Accept: application/vnd.gsma.rcs-ft-http+xml
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Contact: <sip:gmixaz@79.126.58.253:48572;pn-prid=fxV-H_5hSayT9rbRMpK9EN:APA91bHuWNfPboC0MDqh_xulnYQx7CgyB5d5lzCyqfYSi1jiGjj5Bs5M3cXUmieOfN3wH8gOOJRtFJn_ISXq2uVXvjejLS-kwQjA6yZslDsGTm4sLvpuB9y3CqCAZYBOrAVAq2Ox-XpC;pn-provider=fcm;pn-param=1041242817246;pn-silent=1;pn-timeout=0;transport=tls>;+sip.instance="<urn:uuid:3703990a-a30e-00ab-acfd-d726eb98dfcf>"
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Expires: 31536000
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  User-Agent: Linhome/5.0.0 (Android SDK built for x86) LinphoneSDK/5.2.0-beta.93+730cd63 (pipelines/55099)
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  Content-Length: 0
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.756  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.832  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): Android wake lock [belle-sip recv channel] acquired [ref=0x312a]
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): cast long of wakelock 12586
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: starting recv background task with id=[312a].
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: received [625] new bytes from [TLS://sip.linhome.org:5061]:
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  SIP/2.0 401 Unauthorized
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  Via: SIP/2.0/TLS 10.0.2.16:35290;alias;branch=z9hG4bK.zB9OHH9U~;rport=48572;received=79.126.58.253
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  From: <sip:gmixaz@sip.linhome.org>;tag=1nhQzqbC9
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  To: <sip:gmixaz@sip.linhome.org>;tag=58B771p6rF5US
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  Call-ID: BhYahYWv9c
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  CSeq: 22 REGISTER
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  Server: Flexisip/2.2.0-3-g73237746 (sofia-sip-nta/2.0)
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  WWW-Authenticate: Digest realm="sip.linhome.org", nonce="WKYx5wAAAACj4y7wAABM0mDfvb0AAAAA", opaque="+GNywA==", algorithm=SHA-256, qop="auth"
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  WWW-Authenticate: Digest realm="sip.linhome.org", nonce="WKYx5wAAAACj4y7wAABM0mDfvb0AAAAA", opaque="+GNywA==", algorithm=MD5, qop="auth"
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  Content-Length: 0
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.833  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.840  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080] [625] bytes parsed
2022-11-30 12:52:23.840  5169-5169  Linhome                 org.linhome                          I  Found transaction matching response.
2022-11-30 12:52:23.840  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xc1e9e260], from state [TRYING] to [COMPLETED]
2022-11-30 12:52:23.841  5169-5169  Linhome                 org.linhome                          I  AuthRequested pushed
2022-11-30 12:52:23.841  5169-5169  Linhome                 org.linhome                          I  No auth info found for call id [BhYahYWv9c]
2022-11-30 12:52:23.841  5169-5169  Linhome                 org.linhome                          I  linphone_core_find_auth_info(): returning auth info username=gmixaz, realm=sip.linhome.org
2022-11-30 12:52:23.841  5169-5169  Linhome                 org.linhome                          I  AuthStack::authFound() for Username[gmixaz];Userid[];Realm[sip.linhome.org];Domain[sip.linhome.org];Algorithm[];AvailableAlgorithms[];
2022-11-30 12:52:23.841  5169-5169  Linhome                 org.linhome                          I  Auth info found for [gmixaz] realm [sip.linhome.org]
2022-11-30 12:52:23.843  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): Android wake lock [belle-sip transaction(0xbc858760)] acquired [ref=0x3106]
2022-11-30 12:52:23.843  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): cast long of wakelock 12550
2022-11-30 12:52:23.843  5169-5169  Linhome                 org.linhome                          I  transaction [0xbc858760]: starting transaction background task with id=[3106].
2022-11-30 12:52:23.843  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xbc858760], from state [INIT] to [TRYING]
2022-11-30 12:52:23.844  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: message sent to [TLS://sip.linhome.org:5061], size: [1153] bytes
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  REGISTER sip:sip.linhome.org SIP/2.0
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Via: SIP/2.0/TLS 10.0.2.16:35290;alias;branch=z9hG4bK.HF5jxVg7J;rport
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  From: <sip:gmixaz@sip.linhome.org>;tag=1nhQzqbC9
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  To: sip:gmixaz@sip.linhome.org
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  CSeq: 23 REGISTER
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Call-ID: BhYahYWv9c
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Max-Forwards: 70
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Supported: replaces, outbound, gruu, path
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Accept: application/sdp
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Accept: text/plain
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Accept: application/vnd.gsma.rcs-ft-http+xml
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Contact: <sip:gmixaz@79.126.58.253:48572;pn-prid=fxV-H_5hSayT9rbRMpK9EN:APA91bHuWNfPboC0MDqh_xulnYQx7CgyB5d5lzCyqfYSi1jiGjj5Bs5M3cXUmieOfN3wH8gOOJRtFJn_ISXq2uVXvjejLS-kwQjA6yZslDsGTm4sLvpuB9y3CqCAZYBOrAVAq2Ox-XpC;pn-provider=fcm;pn-param=1041242817246;pn-silent=1;pn-timeout=0;transport=tls>;+sip.instance="<urn:uuid:3703990a-a30e-00ab-acfd-d726eb98dfcf>"
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Expires: 31536000
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  User-Agent: Linhome/5.0.0 (Android SDK built for x86) LinphoneSDK/5.2.0-beta.93+730cd63 (pipelines/55099)
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Content-Length: 0
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Authorization:  Digest realm="sip.linhome.org", nonce="WKYx5wAAAACj4y7wAABM0mDfvb0AAAAA", algorithm=MD5, opaque="+GNywA==", username="gmixaz",  uri="sip:sip.linhome.org", response="59e29ac04a1ae10e67e0e1f3efb0bc70", cnonce="Hg3WtsOPunYiLrzb", nc=00000001, qop=auth
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xc1e9e260], from state [COMPLETED] to [TERMINATED]
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  Client internal REGISTER transaction [0xc1e9e260] terminated
2022-11-30 12:52:23.845  5169-5169  Linhome                 org.linhome                          I  transaction [0xc1e9e260]: ending transaction background task with id=[31ea].
2022-11-30 12:52:23.848  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_release(): Android wake lock released [ref=0x31ea]
2022-11-30 12:52:23.848  5169-5169  Linhome                 org.linhome                          I  Transaction [0xc1e9e260] deleted
2022-11-30 12:52:23.848  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: ending recv background task with id=[312a].
2022-11-30 12:52:23.849  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_release(): Android wake lock released [ref=0x312a]
2022-11-30 12:52:23.852  5169-5169  Linhome                 org.linhome                          I  Authentication request not needed.
2022-11-30 12:52:23.912  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): Android wake lock [belle-sip recv channel] acquired [ref=0x3122]
2022-11-30 12:52:23.912  5169-5169  Linhome                 org.linhome                          I  bellesip_wake_lock_acquire(): cast long of wakelock 12578
2022-11-30 12:52:23.912  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: starting recv background task with id=[3122].
2022-11-30 12:52:23.912  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080]: received [342] new bytes from [TLS://sip.linhome.org:5061]:
                                                                                                    SIP/2.0 403 Forbidden
                                                                                                    Via: SIP/2.0/TLS 10.0.2.16:35290;alias;branch=z9hG4bK.HF5jxVg7J;rport=48572;received=79.126.58.253
                                                                                                    From: <sip:gmixaz@sip.linhome.org>;tag=1nhQzqbC9
                                                                                                    To: <sip:gmixaz@sip.linhome.org>;tag=7tyrBrrDK1H1g
                                                                                                    Call-ID: BhYahYWv9c
                                                                                                    CSeq: 23 REGISTER
                                                                                                    Server: Flexisip/2.2.0-3-g73237746 (sofia-sip-nta/2.0)
                                                                                                    Content-Length: 0
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  channel [0xbcbb7080] [342] bytes parsed
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Found transaction matching response.
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xbc858760], from state [TRYING] to [COMPLETED]
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Refresher[0xc1eb0c90]: scheduling next timer in 60000 ms for purpose [retry]
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Register refresher [403] reason [Forbidden] for proxy [<sip:sip.linhome.org;transport=tls>]
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  linphone_core_find_auth_info(): returning auth info username=gmixaz, realm=sip.linhome.org
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  sip.linhome.org/gmixaz/sip.linhome.org/HttpDigest authentication fails.
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  AuthRequested pushed
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Changing [client] [REGISTER] transaction [0xbc858760], from state [COMPLETED] to [TERMINATED]
2022-11-30 12:52:23.914  5169-5169  Linhome                 org.linhome                          I  Client internal REGISTER transaction [0xbc858760] terminated
pergolafabio commented 1 year ago

Yeah I saw it too yesterday, now seems stable again

pergolafabio commented 1 year ago

hmm, still happening, a lot of "connection failed" messages now :-(