【问题标题】:Openfire plugin Asterisk-IM not workingOpenfire 插件 Asterisk-IM 不工作
【发布时间】:2015-05-15 10:16:12
【问题描述】:

我是 openfire 和星号的新手。

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

我的场景:- 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 

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

任何帮助都将不胜感激。

【问题讨论】:

  • 你使用 Openfire 3.10 吗?
  • 是的。我的 openfire 版本是 3.10.0。我错过了什么吗?我真的被困在这里了。请帮帮我。

标签: java asterisk sip openfire


【解决方案1】:

【讨论】:

  • 您的帮助很重要。我已经尝试过使用 OPenfire 3.9.3 并且所有的东西都很顺利。这个版本解决了之前的问题。
  • 您的帮助很重要。我尝试过使用 Openfire 3.9.3。我遵循相同的用户场景,现在通过登录 Spark 客户端在线显示用户。但是现在如何使用带有星号的 openfire 拨打电话。
  • 我真的被困在这里了。请有人帮我解决这个问题吗?我会非常感谢你的努力。
【解决方案2】:

我终于找到了解决方案。是网络问题,也是版本问题。

您应该检查该端口的 iptables,因为在我的数据包中,端口 5222 被丢弃,所以我通过停止 iptables 进行测试,

/etc/init.d/iptables 停止

它对我有用...

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-08-22
    • 1970-01-01
    • 1970-01-01
    • 2012-12-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多