Openfire插件Asterisk-IM无法正常工作(Openfire plugin Asterisk-IM not working)
我是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
有谁知道如何解决我的上述问题?
任何帮助都会很明显。
I am newbie in openfire as well as asterisk.
I want to configure openfire user with asterisk for that i install Asterisk-IM plugin.
My scenario :- 1 user name - "100" is register in openfire & same user is created in asterisk/sip.conf file
After enable that plugin I can't connect my openfire user on port 5222 in any of the SIP client like, Pidgin, Spark, etc.
If i remove that plugin then openfire is working fine.
I have followed step to configure from below link, http://gnu-linux.org/xmpp-integration-with-asterisk.html
When i enable the module then i am getting below errors:
Error log
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
Does anybody know how can i solve my above issue?
Any help will be appreciable.
原文:https://stackoverflow.com/questions/30256952
最满意答案
List.partition
做你想要的:val (even, odd) = elements.partition(_ % 2 == 0)
请注意,它仅适用于两个最终组。
List.partition
does what you want:val (even, odd) = elements.partition(_ % 2 == 0)
Note that it works only with two final groups.
相关问答
更多-
如果它不必是grep - 这是基于模式的单通道拆分 - 找到的模式>找不到file1模式> file2 awk '/pattern/ {print $0 > "file1"; next}{print $0 > "file2"}' inputfile If it does NOT have to be grep - this is a single pass split based on a pattern -- pattern found > file1 pattern not found > file2 ...
-
有sed忽略不匹配的行(Have sed ignore non-matching lines)[2023-10-03]
普通sed的另一种方式: sed -e 's/.../.../;tx;d;:x' s///是一个取代,如果替换成功,则tx分支以标记x, d删除行, :x是标签x的标记。 不需要perl或grep。 Another way with plain sed: sed -e 's/.../.../;t;d' s/// is a substituion, t without any label conditionally skips all following commands, d deletes line. ... -
如何从元组数组中获取匹配String的所有元素?(How to get all the elements from array of tuples matching String?)[2023-05-18]
你可以这样。 var contactsname = [(String,String)]()//firstname,lastname contactsname = [("alex","joe"),("catty","drling"),("alex","fox"),("asta","alex")] let key = "alex" 如果要将搜索名称与名字或姓氏完全匹配 let filterArray = contactsname.filter { $0.0 = key || $0.1 == key } 如果 ... -
grep重定向不匹配(grep redirect non-matching)[2022-08-20]
这将工作: awk '/pattern/ {print; next} {print > "/dev/stderr"}' inputfile 要么 awk -v matchfile=/path/to/file1 -v nomatchfile=/path/to/file2 '/pattern/ {print > matchfile; next} {print > nomatchfile}' inputfile 要么 #!/usr/bin/awk -f BEGIN { pattern = AR ... -
Python - 匹配(Python - Matching)[2022-08-25]
使用生成器表达式,然后: >>> a = ('one', 'two') >>> b = ('ten', 'ten') >>> z = [('four', 'five', 'six'), ('one', 'two', 'twenty')] >>> next((x[2] for x in z if x[:2] == a), None) 'twenty' >>> next((x[2] for x in z if x[:2] == b), None) >>> Using generator expression, ... -
将匹配和非匹配元素过滤到元组的不同部分(Filter matching and non-matching elements into different halves of a tuple)[2022-07-01]
List.partition做你想要的: val (even, odd) = elements.partition(_ % 2 == 0) 请注意,它仅适用于两个最终组。 List.partition does what you want: val (even, odd) = elements.partition(_ % 2 == 0) Note that it works only with two final groups. -
如何包含不匹配的行?(How to include non-matching rows?)[2022-03-15]
我认为只要正确设置ON条件并将Where子句移动到连接,右连接就会起作用(因为如果留在where子句中,它会使右连接再次成为内连接。(外连接导致由where子句排除从而否定外连接的空记录)) 联合都不允许聚合数据。 对我来说,外连接是正确的做法。 我们只需要更好地理解数据,使其正常工作。 但是,使用union只需简单总结结果......使用外部查询...但是现在您已经提供了一些示例数据,我可能能够找出为什么外连接不起作用) 使用union all ...(我要让它工作然后改进它) Select X.Loc, ... -
比较文件的连续列并返回不匹配元素的数量(Compare consecutive columns of a file and return the number of non-matching elements)[2023-10-04]
一个纯粹的本地python库解决这个问题的方式 - 让我们知道它与bash相比如何828 x 828应该是在公园散步。 元素列数: 为了简单和说明的目的,我特意写了一个翻转序列的步骤 - 你可以通过更改逻辑或类对象的用法,函数装饰器等来改进它... 代码Python 2.7: shiftcol = 2 # shift columns as first two are to be ignored with open('phased.txt') as f: data = [x.strip().spli ... -
尝试这个。 它将通过首先匹配日期然后按日期排序: select B.id, ca.dt, ca.location from B cross apply(select top 1 location, dt from E where B.id = E.id order by case when B.dt = E.dt then 1 else 0 end desc, E.dt)ca Try th ...
-
迄今为止最快的: def count_zeros(matrix): total = 0 for row in matrix: total += row.count(0) return total 对于2D元组,您可以使用生成器表达式 : def count_zeros_gen(matrix): return sum(row.count(0) for row in matrix) 时间比较: %timeit [item for row in m for it ...