Hugen писал(а):Частичное решение вашей проблемы здесь
http://blogs.reucon.com/asterisk-java/ скачайте asterisk-java-1.0.0.M3.jar и замените на существующий по адресу /opt/openfire/plugins/astrisk-im/lib/asterisk-java-0.3.jar . Обязательно перед эти остановите сервер Openfire. Файл который сдесь для Asterisk 1.6 если вас интересует для 1.8 напишите мне.
Я недавно реализовал у себя в компании связку Asterisk + Openfire + Spark + Sip plugin + Asterisk IM всё прекрасно работает, думаю следующим шагом будут звонки через сайт.
Добрый день,
столкнулся с подобной проблемой но загвоздка в том, что у меня ubuntu и в папке /opt нет вложеннх папок.
как мне подменить файл
Asterisk Build:
Asterisk/11.7.0~dfsg-1ubuntu1
Asterisk GUI-version : SVN-branch-2.0-r5220
лог openfire
2014.12.22 21:29:09 org.asteriskjava.manager.internal.ManagerConnectionImpl - Unsupported protocol version 'Asterisk Call Manager/1.3'. Use at your own risk.
2014.12.22 21:40:39 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'newaccountcode', attributes: {uniqueid=1419284439.20, event=NewAccountCode, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000a;1}
2014.12.22 21:40:39 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'localbridge', attributes: {uniqueid1=1419284439.20, uniqueid2=1419284439.21, channel1=Local/executecommand@asterisk_guitools-0000000a;1, channel2=Local/executecommand@asterisk_guitools-0000000a;2, event=LocalBridge, privilege=call,all, exten=executecommand, context=asterisk_guitools, localoptimization=No}
2014.12.22 21:40:39 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000a;2(1419284439.21)
2014.12.22 21:40:39 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:39 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000a;2(1419284439.21)
2014.12.22 21:40:39 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:39 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284439.21, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000a;2}
2014.12.22 21:40:39 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284439.21, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000a;2}
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000a;2 due to hangup (NORMAL)
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000a;1 due to hangup (NORMAL)
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000a;2 due to hangup (NORMAL)
2014.12.22 21:40:39 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000a;1 due to hangup (NORMAL)
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'newaccountcode', attributes: {uniqueid=1419284440.22, event=NewAccountCode, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000b;1}
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000b;1(1419284440.22)
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'localbridge', attributes: {uniqueid1=1419284440.22, uniqueid2=1419284440.23, channel1=Local/executecommand@asterisk_guitools-0000000b;1, channel2=Local/executecommand@asterisk_guitools-0000000b;2, event=LocalBridge, privilege=call,all, exten=executecommand, context=asterisk_guitools, localoptimization=No}
2014.12.22 21:40:40 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000b;2(1419284440.23)
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000b;1(1419284440.22)
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'newaccountcode', attributes: {uniqueid=1419284440.22, event=NewAccountCode, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000b;1}
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'localbridge', attributes: {uniqueid1=1419284440.22, uniqueid2=1419284440.23, channel1=Local/executecommand@asterisk_guitools-0000000b;1, channel2=Local/executecommand@asterisk_guitools-0000000b;2, event=LocalBridge, privilege=call,all, exten=executecommand, context=asterisk_guitools, localoptimization=No}
2014.12.22 21:40:40 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000b;2(1419284440.23)
2014.12.22 21:40:40 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:40 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284440.23, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000b;2}
2014.12.22 21:40:40 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284440.23, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000b;2}
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000b;2 due to hangup (NORMAL)
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000b;1 due to hangup (NORMAL)
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000b;2 due to hangup (NORMAL)
2014.12.22 21:40:40 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000b;1 due to hangup (NORMAL)
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000c;1(1419284442.24)
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'newaccountcode', attributes: {uniqueid=1419284442.24, event=NewAccountCode, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000c;1}
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'localbridge', attributes: {uniqueid1=1419284442.24, uniqueid2=1419284442.25, channel1=Local/executecommand@asterisk_guitools-0000000c;1, channel2=Local/executecommand@asterisk_guitools-0000000c;2, event=LocalBridge, privilege=call,all, exten=executecommand, context=asterisk_guitools, localoptimization=No}
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000c;1(1419284442.24)
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'newaccountcode', attributes: {uniqueid=1419284442.24, event=NewAccountCode, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000c;1}
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'localbridge', attributes: {uniqueid1=1419284442.24, uniqueid2=1419284442.25, channel1=Local/executecommand@asterisk_guitools-0000000c;1, channel2=Local/executecommand@asterisk_guitools-0000000c;2, event=LocalBridge, privilege=call,all, exten=executecommand, context=asterisk_guitools, localoptimization=No}
2014.12.22 21:40:42 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000c;2(1419284442.25)
2014.12.22 21:40:42 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Adding channel Local/executecommand@asterisk_guitools-0000000c;2(1419284442.25)
2014.12.22 21:40:42 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:42 org.jivesoftware.util.Log - OnPhoneTask: Could not find device/jid mapping for device Local/executecommand@asterisk_guitools returning
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284442.25, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000c;2}
2014.12.22 21:40:42 org.asteriskjava.manager.internal.EventBuilderImpl - No event class registered for event type 'softhanguprequest', attributes: {cause=16, uniqueid=1419284442.25, event=SoftHangupRequest, privilege=call,all, channel=Local/executecommand@asterisk_guitools-0000000c;2}
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000c;2 due to hangup (NORMAL)
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000c;1 due to hangup (NORMAL)
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000c;2 due to hangup (NORMAL)
2014.12.22 21:40:42 org.asteriskjava.live.internal.ChannelManager - Removing channel Local/executecommand@asterisk_guitools-0000000c;1
Как мне исправитьошибку?