热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

android2.3.3装sipdroid它一直在注册

最近整了个L-07C的手机版本为2.3.3的,装上sipdroid的时候它一直在注册看了下loglibOSNetworkSystem.so现在skippinginit通话的时候是正常的
最近整了个L-07C的手机 版本为2.3.3的, 装上sipdroid的时候它一直在注册
看了下log libOSNetworkSystem.so 现在skipping init
通话的时候是正常的

如果在虚拟机上面运行的话,无法正常通话,(呼叫成功就断掉了。。。


为什么呢

4 个解决方案

#1


客户端注册,服务端的认证没有通过

#2


引用 1 楼  的回复:
客户端注册,服务端的认证没有通过


认证应该是好用的  
之前在 2.2 和2.3.4的版本上面都是正常的
以下是log  这个是在虚拟机上面跑的


04-23 05:28:57.154: D/dalvikvm(346): Trying to load lib /data/data/org.sipdroid.siphone/lib/libOSNetworkSystem.so 0x40514bb8
04-23 05:28:57.326: D/dalvikvm(346): Added shared lib /data/data/org.sipdroid.siphone/lib/libOSNetworkSystem.so 0x40514bb8
04-23 05:28:57.326: D/dalvikvm(346): No JNI_OnLoad found in /data/data/org.sipdroid.siphone/lib/libOSNetworkSystem.so 0x40514bb8, skipping init
04-23 05:28:57.326: D/dalvikvm(346): GC_EXTERNAL_ALLOC freed 486K, 55% free 3033K/6727K, external 2114K/2137K, paused 54ms
04-23 05:28:57.334: W/dalvikvm(346): JNI WARNING: JNI method called with exception raised
04-23 05:28:57.334: W/dalvikvm(346):              in Lorg/sipdroid/net/impl/OSNetworkSystem;.oneTimeInitializationImpl (Z)V (FindClass)
04-23 05:28:57.334: W/dalvikvm(346): Pending exception is:
04-23 05:28:57.345: I/dalvikvm(346): Ljava/lang/NoClassDefFoundError;: org.apache.harmony.luni.net.GenericIPMreq
04-23 05:28:57.345: I/dalvikvm(346):  at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitializationImpl(Native Method)
04-23 05:28:57.345: I/dalvikvm(346):  at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitialization(OSNetworkSystem.java:742)
04-23 05:28:57.345: I/dalvikvm(346):  at org.sipdroid.net.SipdroidSocket.(SipdroidSocket.java:84)
04-23 05:28:57.345: I/dalvikvm(346):  at org.sipdroid.media.JAudioLauncher.(JAudioLauncher.java:89)
04-23 05:28:57.364: I/dalvikvm(346):  at org.sipdroid.siphone.UserAgent.launchMediaApplication(UserAgent.java:485)
04-23 05:28:57.374: I/dalvikvm(346):  at org.sipdroid.siphone.UserAgent.onCallAccepted(UserAgent.java:669)
04-23 05:28:57.384: I/dalvikvm(346):  at org.zoolu.sip.call.Call.onDlgInviteSuccessResponse(Call.java:312)
04-23 05:28:57.384: I/dalvikvm(346):  at org.zoolu.sip.dialog.InviteDialog.onTransSuccessResponse(InviteDialog.java:792)
04-23 05:28:57.384: I/dalvikvm(346):  at org.zoolu.sip.dialog.ExtendedInviteDialog.onTransSuccessResponse(ExtendedInviteDialog.java:329)
04-23 05:28:57.384: I/dalvikvm(346):  at org.zoolu.sip.transaction.InviteTransactionClient.onReceivedMessage(InviteTransactionClient.java:145)
04-23 05:28:57.384: I/dalvikvm(346):  at org.zoolu.sip.provider.SipProvider.processReceivedMessage(SipProvider.java:1067)
04-23 05:28:57.400: I/dalvikvm(346):  at org.zoolu.sip.provider.SipProvider.onReceivedMessage(SipProvider.java:1197)
04-23 05:28:57.400: I/dalvikvm(346):  at org.zoolu.sip.provider.UdpTransport.onReceivedPacket(UdpTransport.java:117)
04-23 05:28:57.400: I/dalvikvm(346):  at org.zoolu.net.UdpProvider.run(UdpProvider.java:189)
04-23 05:28:57.400: I/dalvikvm(346): Caused by:
04-23 05:28:57.400: I/dalvikvm(346): Ljava/lang/ClassNotFoundException;: org.apache.harmony.luni.net.GenericIPMreq in loader dalvik.system.PathClassLoader[/data/app/org.sipdroid.siphone-1.apk]
04-23 05:28:57.400: I/dalvikvm(346):  at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
04-23 05:28:57.400: I/dalvikvm(346):  at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
04-23 05:28:57.400: I/dalvikvm(346):  at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-23 05:28:57.405: I/dalvikvm(346):  at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitializationImpl(Native Method)
04-23 05:28:57.405: I/dalvikvm(346):  at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitialization(OSNetworkSystem.java:742)
04-23 05:28:57.405: I/dalvikvm(346):  at org.sipdroid.net.SipdroidSocket.(SipdroidSocket.java:84)
04-23 05:28:57.405: I/dalvikvm(346):  at org.sipdroid.media.JAudioLauncher.(JAudioLauncher.java:89)
04-23 05:28:57.415: I/dalvikvm(346):  at org.sipdroid.siphone.UserAgent.launchMediaApplication(UserAgent.java:485)
04-23 05:28:57.415: I/dalvikvm(346):  at org.sipdroid.siphone.UserAgent.onCallAccepted(UserAgent.java:669)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.call.Call.onDlgInviteSuccessResponse(Call.java:312)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.dialog.InviteDialog.onTransSuccessResponse(InviteDialog.java:792)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.dialog.ExtendedInviteDialog.onTransSuccessResponse(ExtendedInviteDialog.java:329)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.transaction.InviteTransactionClient.onReceivedMessage(InviteTransactionClient.java:145)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.provider.SipProvider.processReceivedMessage(SipProvider.java:1067)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.provider.SipProvider.onReceivedMessage(SipProvider.java:1197)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.sip.provider.UdpTransport.onReceivedPacket(UdpTransport.java:117)
04-23 05:28:57.415: I/dalvikvm(346):  at org.zoolu.net.UdpProvider.run(UdpProvider.java:189)
04-23 05:28:57.415: I/dalvikvm(346): "Thread-10" prio=5 tid=9 NATIVE
04-23 05:28:57.415: I/dalvikvm(346):   | group="main" sCount=0 dsCount=0 obj=0x4053d328 self=0x2a4630
04-23 05:28:57.415: I/dalvikvm(346):   | sysTid=355 nice=0 sched=0/0 cgrp=default handle=2770792
04-23 05:28:57.415: I/dalvikvm(346):   | schedstat=( 938610796 4226892996 432 )
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitializationImpl(Native Method)
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.net.impl.OSNetworkSystem.oneTimeInitialization(OSNetworkSystem.java:742)
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.net.SipdroidSocket.(SipdroidSocket.java:84)
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.media.JAudioLauncher.(JAudioLauncher.java:-1)
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.siphone.UserAgent.launchMediaApplication(UserAgent.java:485)
04-23 05:28:57.415: I/dalvikvm(346):   at org.sipdroid.siphone.UserAgent.onCallAccepted(UserAgent.java:669)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.call.Call.onDlgInviteSuccessResponse(Call.java:312)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.dialog.InviteDialog.onTransSuccessResponse(InviteDialog.java:792)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.dialog.ExtendedInviteDialog.onTransSuccessResponse(ExtendedInviteDialog.java:329)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.transaction.InviteTransactionClient.onReceivedMessage(InviteTransactionClient.java:145)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.provider.SipProvider.processReceivedMessage(SipProvider.java:1067)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.provider.SipProvider.onReceivedMessage(SipProvider.java:1197)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.sip.provider.UdpTransport.onReceivedPacket(UdpTransport.java:117)
04-23 05:28:57.415: I/dalvikvm(346):   at org.zoolu.net.UdpProvider.run(UdpProvider.java:189)
04-23 05:28:57.415: E/dalvikvm(346): VM aborting

#3


抓包看看就可以知道注册成功没

#4


引用 3 楼  的回复:
抓包看看就可以知道注册成功没

注册成功了 切是能正常的呼叫的 

就是平常不呼叫的时候会 一闪一闪的

用模拟器跑 无法正常呼叫

推荐阅读
author-avatar
手机用户2502885123
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有