BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)
http://linphone.org
GNU General Public License v3.0
580 stars 344 forks source link

登陆失败问题 #511

Open Pingyong opened 5 years ago

Pingyong commented 5 years ago

我将linphone的demo弄成lib 集成到一个新的项目里面, 在Android 5.0系统上没有问题,在Android 8.0系统上 登陆失败,报一下错误,还请大神能指点一下,非常感谢

I/Linphone: belle_sip_client_transaction_send_request(): waiting channel to be ready 2019-01-04 11:16:41.221 18822-18822/com.frontec.linphone I/Linphone: bellesip_wake_lock_acquire(): Android wake lock acquired [ref=0x2cba] 2019-01-04 11:16:41.221 18822-18822/com.frontec.linphone I/Linphone: channel [0xc51d6540]: starting send background task with id=[2cba]. 2019-01-04 11:16:41.222 18822-18822/com.frontec.linphone I/Linphone: channel [0xc51d6540]: starting resolution of sip.linphone.org 2019-01-04 11:16:41.222 18822-18822/com.frontec.linphone I/Linphone: channel 0xc51d6540: state RES_IN_PROGRESS 2019-01-04 11:16:41.222 18822-18822/com.frontec.linphone I/Linphone: transaction [0xd69d3860] channel state changed to [RES_IN_PROGRESS] 2019-01-04 11:16:41.224 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns1" 2019-01-04 11:16:41.224 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns2" 2019-01-04 11:16:41.224 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns3" 2019-01-04 11:16:41.224 18822-18822/com.frontec.linphone E/Linphone: resconf dns_resconf_loadandroid error 2019-01-04 11:16:41.224 18822-18822/com.frontec.linphone E/Linphone: Error loading dns server addresses. 2019-01-04 11:16:41.225 18822-18822/com.frontec.linphone I/Linphone: No SRV result for [_sips._tcp.sip.linphone.org], trying A/AAAA. 2019-01-04 11:16:41.225 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns1" 2019-01-04 11:16:41.225 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns2" 2019-01-04 11:16:41.225 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns3" 2019-01-04 11:16:41.225 18822-18822/com.frontec.linphone E/Linphone: resconf dns_resconf_loadandroid error 2019-01-04 11:16:41.226 18822-18822/com.frontec.linphone E/Linphone: Error loading dns server addresses. 2019-01-04 11:16:41.226 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns1" 2019-01-04 11:16:41.226 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns2" 2019-01-04 11:16:41.227 18822-18822/com.frontec.linphone E/libc: Access denied finding property "net.dns3" 2019-01-04 11:16:41.227 18822-18822/com.frontec.linphone E/Linphone: resconf dns_resconf_loadandroid error 2019-01-04 11:16:41.227 18822-18822/com.frontec.linphone E/Linphone: Error loading dns server addresses. 2019-01-04 11:16:41.228 18822-18822/com.frontec.linphone E/Linphone: channel_res_done: DNS resolution failed for sip.linphone.org 2019-01-04 11:16:41.228 18822-18822/com.frontec.linphone I/Linphone: channel 0xc51d6540: state ERROR 2019-01-04 11:16:41.242 18822-18822/com.frontec.linphone I/Linphone: channel [0xc51d6540]: ending send background task with id=[2cba]. 2019-01-04 11:16:41.245 18822-18822/com.frontec.linphone I/Linphone: bellesip_wake_lock_release(): Android wake lock released [ref=0x2cba] 2019-01-04 11:16:41.246 18822-18822/com.frontec.linphone I/Linphone: transaction [0xd69d3860] channel state changed to [ERROR] 2019-01-04 11:16:41.246 18822-18822/com.frontec.linphone I/Linphone: Refresher[0xdb6f4960]: scheduling next timer in 60000 ms for purpose [retry] 2019-01-04 11:16:41.246 18822-18822/com.frontec.linphone I/Linphone: Register refresher [503] reason [io error] for proxy [<sip:sip.linphone.org;transport=tls>] 2019-01-04 11:16:41.247 18822-18822/com.frontec.linphone I/Linphone: Registration on <sip:sip.linphone.org;transport=tls> failed: io error

iwulh commented 4 years ago

想请教一下作者解决了这个问题了吗?