linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] TLS Outgoing call Reconnect Bug


From: Денис Коновалов
Subject: [Linphone-developers] TLS Outgoing call Reconnect Bug
Date: Sun, 24 Jan 2021 22:30:18 +0300

Hello.
I'm using linphone-android and all seems to be fine. But when I start to use TLS I catch a bug:
out of 10 outgoing calls in a row, 2-3 crash: registration changes state to reconnect and the outgoing call just hangs like a call is going on, but nothing actually happens. Аnd after 10 seconds I get the toast message "Unknown error - I/O error". The next call can work normally, or it can be the same reconnect.
I tried to disable ipv6 mCore.enableIpv6(false); but it has no effect. Maybe this happens due to some kind of timeouts?

Why does this happen? And what can I do to fix this? Thank you!

Log of the normal call:
2021-01-24 17:21:10.077 13392-13392/org.linphone.example I/Linphone: channel [0x7705b09700]: ending recv background task with id=[29d2].
2021-01-24 17:21:10.077 13392-13392/org.linphone.example I/Linphone: bellesip_wake_lock_release(): Android wake lock released [ref=0x29d2]
2021-01-24 17:21:10.154 13392-13392/org.linphone.example I/Linphone: bellesip_wake_lock_acquire(): Android wake lock [belle-sip recv channel] acquired [ref=0x2a0a]
2021-01-24 17:21:10.154 13392-13392/org.linphone.example I/Linphone: bellesip_wake_lock_acquire(): cast long of wakelock 10762
2021-01-24 17:21:10.154 13392-13392/org.linphone.example I/Linphone: channel [0x7705b09700]: starting recv background task with id=[2a0a].
2021-01-24 17:21:10.154 13392-13392/org.linphone.example I/Linphone: channel [0x7705b09700]: received [442] new bytes from [TLS://asterisk.example.com:5061]:
2021-01-24 17:21:10.154 13392-13392/org.linphone.example I/Linphone: SIP/2.0 100 Trying


Log of the broken call:
2021-01-24 17:09:15.478 10596-10596/org.linphone.example I/Linphone: channel [0x7707eb0540]: ending recv background task with id=[2e66].
2021-01-24 17:09:15.478 10596-10596/org.linphone.example I/Linphone: bellesip_wake_lock_release(): Android wake lock released [ref=0x2e66]
2021-01-24 17:09:15.554 10596-10596/org.linphone.example I/Linphone: bellesip_wake_lock_acquire(): Android wake lock [belle-sip recv channel] acquired [ref=0x2e56]
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: bellesip_wake_lock_acquire(): cast long of wakelock 11862
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: channel [0x7707eb0540]: starting recv background task with id=[2e56].
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: channel 0x7707eb0540: state DISCONNECTED
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: channel [0x7707eb0540]: ending recv background task with id=[2e56].
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: bellesip_wake_lock_release(): Android wake lock released [ref=0x2e56]
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: refresher [0x7705b0dc40] has channel [0x7707eb0540] in state [DISCONNECTED], reporting error
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: Refresher[0x7705b0dc40]: scheduling next timer in 0 ms for purpose [retry]
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: Register refresher [503] reason [io error] for proxy [<sip:asterisk.example.com;transport=tls>]
2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: Proxy config [0x7725045d00] for identity [sip:1400@asterisk.example.com] moving from state [LinphoneRegistrationOk] to [LinphoneRegistrationProgress] on core [0x77251dae00]

2021-01-24 17:09:15.555 10596-10596/org.linphone.example I/Linphone: _linphone_update_dependent_proxy_config(): 0x7725045d00 is registered, checking for [0x7725045d00] ->dependency=0x0
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: Linphone core [0x77251dae00] notified [registration_state_changed]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: transaction [0x7705b0de80] channel state changed to [DISCONNECTED]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: transaction [0x770355f8c0] channel state changed to [DISCONNECTED]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: transaction [0x770474d420] channel state changed to [DISCONNECTED]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: Changing [client] [INVITE] transaction [0x770474d420], from state [COMPLETED] to [TERMINATED]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: Client INVITE transaction [0x770474d420] terminated
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: transaction [0x770474d420]: ending transaction background task with id=[2ee2].
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: bellesip_wake_lock_release(): Android wake lock released [ref=0x2ee2]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: transaction [0x770474fe20] channel state changed to [DISCONNECTED]
2021-01-24 17:09:15.556 10596-10596/org.linphone.example I/Linphone: Channel [0x7707eb0540] destroyed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]