Openfire插件Asterisk-IM无法正常工作

时间:2015-05-15 10:16:12

标签: java asterisk sip openfire

我是openfire和asterisk的新手。

我想用星号为openfire用户安装Asterisk-IM插件。

  

我的方案: - 1个用户名 - " 100"在openfire&注册在asterisk / sip.conf文件中创建了相同的用户

启用该插件后,我无法通过任何SIP客户端(如Pidgin,Spark等)在端口5222上连接我的openfire用户。

如果我删除该插件,那么openfire工作正常。

我已按照以下步骤进行配置, http://gnu-linux.org/xmpp-integration-with-asterisk.html

当我启用模块时,我遇到以下错误:

错误日志

2015.05.15 14:30:31 org.jivesoftware.openfire.nio.NIOConnection - No ACK was received when sending stanza to: org.jivesoftware.openfire.nio.NIOConnection@1f4b993 MINA Session: (0x00000003: nio socket, server, /xxx.xxx.x.xx:49409 => /xxx.xxx.x.xx:5222) 
2015.05.15 14:31:35 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:35:48 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:44:40 org.jivesoftware.database.SequenceManager - Autocreating jiveID row for type '101' 
2015.05.15 14:45:01 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:45:18 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:45:32 index.jsp - Failed to fetch RSS feed: java.net.SocketTimeoutException: Read timed out 
2015.05.15 14:45:33 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:47:15 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:47:21 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:48:18 index.jsp - Failed to fetch RSS feed: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: root certificate not trusted of [vanity2.jiveon.com] 
2015.05.15 14:48:51 org.jivesoftware.openfire.container.PluginManager - No plugin loader found for asterisk-im 

有谁知道如何解决我的上述问题?

任何帮助都会很明显。

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

最后我得到了解决方案。这是网络问题以及版本问题。

你应该检查这个端口的iptables,因为端口5222的我的数据包被丢弃所以我测试停止iptables,

/etc/init.d/iptables stop

它为我工作......