Openfire 插件 Asterisk-IM 不工作

Openfire plugin Asterisk-IM not working

我是openfire和asterisk的新手

我想为我安装 Asterisk-IM 插件的 openfire 用户配置 asterisk。

My scenario :- 1 user name - "100" is register in openfire & same user is created in asterisk/sip.conf file

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

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

我已经按照下面的步骤进行配置 link, 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 

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

任何帮助都将不胜感激。

Asterisk 插件在 Openfire 3.10 下不工作。 使用最新的 Openfire 3.9.* 版本。

您可以在这里下载:

Windows(安装程序)http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3_9_3.exe

Debian http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3.9.3_all.deb

Mac http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3_9_3.dmg

终于找到解决办法了。是网络问题也是版本问题

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

/etc/init.d/iptables停止

它对我有用...