[jitsi-users] Jigasi fails to connect to Prosody


#1

Hi,

I am trying to connect locally installed jitsi-meet with Freeswitch by
following the steps listed,

https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
dpkg -i jigasi_1.0-107_amd64.deb

From FreeSwitch, I can see the SIP account assigned to jigasi registered

successfully,

but there are a lot of error threw in jigasi.log as below,

2017-02-21 11:21:06.326 SEVERE: [26]
org.jitsi.meet.ComponentMain.call().278 host-unknown, host:localhost,
port:5347
org.xmpp.component.ComponentException: host-unknown
    at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
    at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
2017-02-21 11:21:11.330 SEVERE: [26]
org.jitsi.meet.ComponentMain.call().278 host-unknown, host:localhost,
port:5347
org.xmpp.component.ComponentException: host-unknown
    at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
    at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Any idea what went wrong?

Thanks for help,

/Kaiduan


#2

Hi,

check /etc/prosody/conf.avail/yourserver.cfg.lua does it have
component registration for jigasi, contains:
Component "callcontrol. yourserver" component_secret = "somsecret" and
that configuration is loaded, restart/reload prosody.

Regards
damencho

···

On Tue, Feb 21, 2017 at 8:20 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Hi,

I am trying to connect locally installed jitsi-meet with Freeswitch by
following the steps listed,

https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md

wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
dpkg -i jigasi_1.0-107_amd64.deb

From FreeSwitch, I can see the SIP account assigned to jigasi registered
successfully,

but there are a lot of error threw in jigasi.log as below,

2017-02-21 11:21:06.326 SEVERE: [26] org.jitsi.meet.ComponentMain.call().278
host-unknown, host:localhost, port:5347
org.xmpp.component.ComponentException: host-unknown
    at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
    at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
2017-02-21 11:21:11.330 SEVERE: [26] org.jitsi.meet.ComponentMain.call().278
host-unknown, host:localhost, port:5347
org.xmpp.component.ComponentException: host-unknown
    at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
    at
org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
    at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
    at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Any idea what went wrong?

Thanks for help,

/Kaiduan

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Damian,

Thanks for the help, the configurations are correct, and I found the reason
is that prosody failed to restart. For some reason there is a zombie
prosody process, after killing that process, prosody started without issue.

But Freeswitch 1.6.15 does not like the SDP from Jigasi,

recv 978 bytes from udp/[10.42.40.92]:63387 at 12:18:20.775676:

···

------------------------------------------------------------------------
   INVITE sip:1000@10.42.40.92 SIP/2.0
   Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
   CSeq: 1 INVITE
   From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
   To: <sip:1000@10.42.40.92>
   Via: SIP/2.0/UDP 10.42.40.92:63387
;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
   Max-Forwards: 70
   Contact: "1001" <sip:1001@10.42.40.92:63387 ;transport=udp;registering_acc=10_42_40_92>
   User-Agent: Jitsi2.9.0.build.by.SVNLinux
   Content-Type: application/sdp
   Jitsi-Conference-Room: kaiduan
   Content-Length: 463

   v=0
   o=1001-jitsi.org 0 0 IN null null
   s=-
   c=IN IP4 10.42.40.92
   t=0 0
   m=audio 10007 RTP/AVP 96 97 9 0 8 98 101
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 usedtx=1
   a=ptime:96 20
   a=rtpmap:97 AMR-WB/16000
   a=rtpmap:9 G722/8000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:98 iLBC/8000
   a=rtpmap:101 telephone-event/8000
   a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
   a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
   a=rtcp-xr:voip-metrics
   ------------------------------------------------------------------------
send 739 bytes to udp/[10.42.40.92]:63387 at 12:18:20.775968:
   ------------------------------------------------------------------------
   SIP/2.0 400 Bad Session Description
   Via: SIP/2.0/UDP 10.42.40.92:63387
;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
   From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
   To: <sip:1000@10.42.40.92>;tag=9ZF3710jFprgK
   Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
   CSeq: 1 INVITE
   User-Agent:
FreeSWITCH-mod_sofia/1.6.15+git~20170215T222211Z~13bf24bd10~64bit
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, presence, as-feature-event,
dialog, line-seize, call-info, sla, include-session-description,
presence.winfo, message-summary, refer
   Content-Length: 0

On Tue, Feb 21, 2017 at 11:35 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

check /etc/prosody/conf.avail/yourserver.cfg.lua does it have
component registration for jigasi, contains:
Component "callcontrol. yourserver" component_secret = "somsecret" and
that configuration is loaded, restart/reload prosody.

Regards
damencho

On Tue, Feb 21, 2017 at 8:20 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Hi,
>
> I am trying to connect locally installed jitsi-meet with Freeswitch by
> following the steps listed,
>
> https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
>
> wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
> dpkg -i jigasi_1.0-107_amd64.deb
>
>
> From FreeSwitch, I can see the SIP account assigned to jigasi registered
> successfully,
>
> but there are a lot of error threw in jigasi.log as below,
>
> 2017-02-21 11:21:06.326 SEVERE: [26] org.jitsi.meet.ComponentMain.
call().278
> host-unknown, host:localhost, port:5347
> org.xmpp.component.ComponentException: host-unknown
> at
> org.jivesoftware.whack.ExternalComponent.connect(
ExternalComponent.java:219)
> at
> org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:221)
> at
> org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:201)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
> at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.
java:193)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 2017-02-21 11:21:11.330 SEVERE: [26] org.jitsi.meet.ComponentMain.
call().278
> host-unknown, host:localhost, port:5347
> org.xmpp.component.ComponentException: host-unknown
> at
> org.jivesoftware.whack.ExternalComponent.connect(
ExternalComponent.java:219)
> at
> org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:221)
> at
> org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:201)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
> at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.
java:193)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
> java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Any idea what went wrong?
>
> Thanks for help,
>
> /Kaiduan
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Hi,

I think you are not using latest jigasi.
Freeswitch doesn't like the sdp part: o=1001-jitsi.org 0 0 IN null
null, but this is fixed in latest jigasi (build 126)

Regards
damencho

···

On Tue, Feb 21, 2017 at 9:17 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Damian,

Thanks for the help, the configurations are correct, and I found the reason
is that prosody failed to restart. For some reason there is a zombie prosody
process, after killing that process, prosody started without issue.

But Freeswitch 1.6.15 does not like the SDP from Jigasi,

recv 978 bytes from udp/[10.42.40.92]:63387 at 12:18:20.775676:
   ------------------------------------------------------------------------
   INVITE sip:1000@10.42.40.92 SIP/2.0
   Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
   CSeq: 1 INVITE
   From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
   To: <sip:1000@10.42.40.92>
   Via: SIP/2.0/UDP
10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
   Max-Forwards: 70
   Contact: "1001"
<sip:1001@10.42.40.92:63387;transport=udp;registering_acc=10_42_40_92>
   User-Agent: Jitsi2.9.0.build.by.SVNLinux
   Content-Type: application/sdp
   Jitsi-Conference-Room: kaiduan
   Content-Length: 463

   v=0
   o=1001-jitsi.org 0 0 IN null null
   s=-
   c=IN IP4 10.42.40.92
   t=0 0
   m=audio 10007 RTP/AVP 96 97 9 0 8 98 101
   a=rtpmap:96 opus/48000/2
   a=fmtp:96 usedtx=1
   a=ptime:96 20
   a=rtpmap:97 AMR-WB/16000
   a=rtpmap:9 G722/8000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:98 iLBC/8000
   a=rtpmap:101 telephone-event/8000
   a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
   a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
   a=rtcp-xr:voip-metrics
   ------------------------------------------------------------------------
send 739 bytes to udp/[10.42.40.92]:63387 at 12:18:20.775968:
   ------------------------------------------------------------------------
   SIP/2.0 400 Bad Session Description
   Via: SIP/2.0/UDP
10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
   From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
   To: <sip:1000@10.42.40.92>;tag=9ZF3710jFprgK
   Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
   CSeq: 1 INVITE
   User-Agent:
FreeSWITCH-mod_sofia/1.6.15+git~20170215T222211Z~13bf24bd10~64bit
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog,
line-seize, call-info, sla, include-session-description, presence.winfo,
message-summary, refer
   Content-Length: 0

On Tue, Feb 21, 2017 at 11:35 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

check /etc/prosody/conf.avail/yourserver.cfg.lua does it have
component registration for jigasi, contains:
Component "callcontrol. yourserver" component_secret = "somsecret" and
that configuration is loaded, restart/reload prosody.

Regards
damencho

On Tue, Feb 21, 2017 at 8:20 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Hi,
>
> I am trying to connect locally installed jitsi-meet with Freeswitch by
> following the steps listed,
>
> https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
>
> wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
> dpkg -i jigasi_1.0-107_amd64.deb
>
>
> From FreeSwitch, I can see the SIP account assigned to jigasi registered
> successfully,
>
> but there are a lot of error threw in jigasi.log as below,
>
> 2017-02-21 11:21:06.326 SEVERE: [26]
> org.jitsi.meet.ComponentMain.call().278
> host-unknown, host:localhost, port:5347
> org.xmpp.component.ComponentException: host-unknown
> at
>
> org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
> at
>
> org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
> at
>
> org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
> at
> org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> 2017-02-21 11:21:11.330 SEVERE: [26]
> org.jitsi.meet.ComponentMain.call().278
> host-unknown, host:localhost, port:5347
> org.xmpp.component.ComponentException: host-unknown
> at
>
> org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
> at
>
> org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
> at
>
> org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
> at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
> at
> org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Any idea what went wrong?
>
> Thanks for help,
>
> /Kaiduan
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Damian,

I build jigasi from source, jigasi.sh failed to run as below,

C02HP0F0DV7P:jigasi kx$ ./jigasi.sh --domain=webrtc.goodstart.net
--subdomain=callcontrol --secret=NoPM#tKJ
/Users/kx/jitsi/jigasi/jigasi.jar:/Users/kx/jitsi/jigasi/lib/*.jar
/Users/kx/jitsi/jigasi/lib/native/macosx
-Djava.util.logging.config.file=/Users/kx/jitsi/jigasi/lib/logging.properties

Error: A JNI error has occurred, please check your installation and try
again
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jitsi/meet/OSGiBundleConfig
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.jitsi.meet.OSGiBundleConfig
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more

Looks like some library missed, any idea?

Thanks,

/Kaiduan

···

On Tue, Feb 21, 2017 at 12:22 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

I think you are not using latest jigasi.
Freeswitch doesn't like the sdp part: o=1001-jitsi.org 0 0 IN null
null, but this is fixed in latest jigasi (build 126)

Regards
damencho

On Tue, Feb 21, 2017 at 9:17 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Damian,
>
> Thanks for the help, the configurations are correct, and I found the
reason
> is that prosody failed to restart. For some reason there is a zombie
prosody
> process, after killing that process, prosody started without issue.
>
> But Freeswitch 1.6.15 does not like the SDP from Jigasi,
>
> recv 978 bytes from udp/[10.42.40.92]:63387 at 12:18:20.775676:
> ------------------------------------------------------------
------------
> INVITE sip:1000@10.42.40.92 SIP/2.0
> Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
> CSeq: 1 INVITE
> From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
> To: <sip:1000@10.42.40.92>
> Via: SIP/2.0/UDP
> 10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
> Max-Forwards: 70
> Contact: "1001"
> <sip:1001@10.42.40.92:63387;transport=udp;registering_acc=10_42_40_92>
> User-Agent: Jitsi2.9.0.build.by.SVNLinux
> Content-Type: application/sdp
> Jitsi-Conference-Room: kaiduan
> Content-Length: 463
>
> v=0
> o=1001-jitsi.org 0 0 IN null null
> s=-
> c=IN IP4 10.42.40.92
> t=0 0
> m=audio 10007 RTP/AVP 96 97 9 0 8 98 101
> a=rtpmap:96 opus/48000/2
> a=fmtp:96 usedtx=1
> a=ptime:96 20
> a=rtpmap:97 AMR-WB/16000
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:98 iLBC/8000
> a=rtpmap:101 telephone-event/8000
> a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
> a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=rtcp-xr:voip-metrics
> ------------------------------------------------------------
------------
> send 739 bytes to udp/[10.42.40.92]:63387 at 12:18:20.775968:
> ------------------------------------------------------------
------------
> SIP/2.0 400 Bad Session Description
> Via: SIP/2.0/UDP
> 10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
> From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
> To: <sip:1000@10.42.40.92>;tag=9ZF3710jFprgK
> Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
> CSeq: 1 INVITE
> User-Agent:
> FreeSWITCH-mod_sofia/1.6.15+git~20170215T222211Z~13bf24bd10~64bit
> Accept: application/sdp
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Allow-Events: talk, hold, conference, presence, as-feature-event,
dialog,
> line-seize, call-info, sla, include-session-description, presence.winfo,
> message-summary, refer
> Content-Length: 0
>
>
>
>
> On Tue, Feb 21, 2017 at 11:35 AM, Damian Minkov <damencho@jitsi.org> > wrote:
>>
>> Hi,
>>
>> check /etc/prosody/conf.avail/yourserver.cfg.lua does it have
>> component registration for jigasi, contains:
>> Component "callcontrol. yourserver" component_secret = "somsecret" and
>> that configuration is loaded, restart/reload prosody.
>>
>> Regards
>> damencho
>>
>> On Tue, Feb 21, 2017 at 8:20 AM, Kaiduan Xie <kaiduanx@gmail.com> > wrote:
>> > Hi,
>> >
>> > I am trying to connect locally installed jitsi-meet with Freeswitch by
>> > following the steps listed,
>> >
>> > https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
>> >
>> > wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
>> > dpkg -i jigasi_1.0-107_amd64.deb
>> >
>> >
>> > From FreeSwitch, I can see the SIP account assigned to jigasi
registered
>> > successfully,
>> >
>> > but there are a lot of error threw in jigasi.log as below,
>> >
>> > 2017-02-21 11:21:06.326 SEVERE: [26]
>> > org.jitsi.meet.ComponentMain.call().278
>> > host-unknown, host:localhost, port:5347
>> > org.xmpp.component.ComponentException: host-unknown
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponent.connect(
ExternalComponent.java:219)
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:221)
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:201)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
>> > at
>> > org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
>> > at
>> > java.util.concurrent.Executors$RunnableAdapter.
call(Executors.java:471)
>> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> > at
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> > at
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
>> > at java.lang.Thread.run(Thread.java:745)
>> > 2017-02-21 11:21:11.330 SEVERE: [26]
>> > org.jitsi.meet.ComponentMain.call().278
>> > host-unknown, host:localhost, port:5347
>> > org.xmpp.component.ComponentException: host-unknown
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponent.connect(
ExternalComponent.java:219)
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:221)
>> > at
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(
ExternalComponentManager.java:201)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
>> > at
>> > org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
>> > at
>> > java.util.concurrent.Executors$RunnableAdapter.
call(Executors.java:471)
>> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> > at
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> > at
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$
ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1145)
>> > at
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:615)
>> > at java.lang.Thread.run(Thread.java:745)
>> >
>> > Any idea what went wrong?
>> >
>> > Thanks for help,
>> >
>> > /Kaiduan
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Hi,

OSGiBundleConfig is from jitsi-android-osgi.
As you are using /Users/kx/jitsi/jigasi/lib/*.jar, after building you
need to do $ ant copy-runtime-dependencies-from-maven and lib folder
will be populated with dependencies.

Cheers
damencho

···

On Tue, Feb 21, 2017 at 10:58 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Damian,

I build jigasi from source, jigasi.sh failed to run as below,

C02HP0F0DV7P:jigasi kx$ ./jigasi.sh --domain=webrtc.goodstart.net
--subdomain=callcontrol --secret=NoPM#tKJ
/Users/kx/jitsi/jigasi/jigasi.jar:/Users/kx/jitsi/jigasi/lib/*.jar
/Users/kx/jitsi/jigasi/lib/native/macosx
-Djava.util.logging.config.file=/Users/kx/jitsi/jigasi/lib/logging.properties

Error: A JNI error has occurred, please check your installation and try
again
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jitsi/meet/OSGiBundleConfig
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.jitsi.meet.OSGiBundleConfig
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more

Looks like some library missed, any idea?

Thanks,

/Kaiduan

On Tue, Feb 21, 2017 at 12:22 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

I think you are not using latest jigasi.
Freeswitch doesn't like the sdp part: o=1001-jitsi.org 0 0 IN null
null, but this is fixed in latest jigasi (build 126)

Regards
damencho

On Tue, Feb 21, 2017 at 9:17 AM, Kaiduan Xie <kaiduanx@gmail.com> wrote:
> Damian,
>
> Thanks for the help, the configurations are correct, and I found the
> reason
> is that prosody failed to restart. For some reason there is a zombie
> prosody
> process, after killing that process, prosody started without issue.
>
> But Freeswitch 1.6.15 does not like the SDP from Jigasi,
>
> recv 978 bytes from udp/[10.42.40.92]:63387 at 12:18:20.775676:
>
> ------------------------------------------------------------------------
> INVITE sip:1000@10.42.40.92 SIP/2.0
> Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
> CSeq: 1 INVITE
> From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
> To: <sip:1000@10.42.40.92>
> Via: SIP/2.0/UDP
> 10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
> Max-Forwards: 70
> Contact: "1001"
> <sip:1001@10.42.40.92:63387;transport=udp;registering_acc=10_42_40_92>
> User-Agent: Jitsi2.9.0.build.by.SVNLinux
> Content-Type: application/sdp
> Jitsi-Conference-Room: kaiduan
> Content-Length: 463
>
> v=0
> o=1001-jitsi.org 0 0 IN null null
> s=-
> c=IN IP4 10.42.40.92
> t=0 0
> m=audio 10007 RTP/AVP 96 97 9 0 8 98 101
> a=rtpmap:96 opus/48000/2
> a=fmtp:96 usedtx=1
> a=ptime:96 20
> a=rtpmap:97 AMR-WB/16000
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:98 iLBC/8000
> a=rtpmap:101 telephone-event/8000
> a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
> a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=rtcp-xr:voip-metrics
>
> ------------------------------------------------------------------------
> send 739 bytes to udp/[10.42.40.92]:63387 at 12:18:20.775968:
>
> ------------------------------------------------------------------------
> SIP/2.0 400 Bad Session Description
> Via: SIP/2.0/UDP
> 10.42.40.92:63387;branch=z9hG4bK-353935-4152550b854963337d3eb547fc120d64
> From: "1001" <sip:1001@10.42.40.92>;tag=1bcb6991
> To: <sip:1000@10.42.40.92>;tag=9ZF3710jFprgK
> Call-ID: bac57de19d0a1e0d20df904c7385dc5a@0:0:0:0:0:0:0:0
> CSeq: 1 INVITE
> User-Agent:
> FreeSWITCH-mod_sofia/1.6.15+git~20170215T222211Z~13bf24bd10~64bit
> Accept: application/sdp
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Allow-Events: talk, hold, conference, presence, as-feature-event,
> dialog,
> line-seize, call-info, sla, include-session-description, presence.winfo,
> message-summary, refer
> Content-Length: 0
>
>
>
>
> On Tue, Feb 21, 2017 at 11:35 AM, Damian Minkov <damencho@jitsi.org> >> > wrote:
>>
>> Hi,
>>
>> check /etc/prosody/conf.avail/yourserver.cfg.lua does it have
>> component registration for jigasi, contains:
>> Component "callcontrol. yourserver" component_secret = "somsecret" and
>> that configuration is loaded, restart/reload prosody.
>>
>> Regards
>> damencho
>>
>> On Tue, Feb 21, 2017 at 8:20 AM, Kaiduan Xie <kaiduanx@gmail.com> >> >> wrote:
>> > Hi,
>> >
>> > I am trying to connect locally installed jitsi-meet with Freeswitch
>> > by
>> > following the steps listed,
>> >
>> > https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
>> >
>> > wget https://download.jitsi.org/unstable/jigasi_1.0-107_amd64.deb
>> > dpkg -i jigasi_1.0-107_amd64.deb
>> >
>> >
>> > From FreeSwitch, I can see the SIP account assigned to jigasi
>> > registered
>> > successfully,
>> >
>> > but there are a lot of error threw in jigasi.log as below,
>> >
>> > 2017-02-21 11:21:06.326 SEVERE: [26]
>> > org.jitsi.meet.ComponentMain.call().278
>> > host-unknown, host:localhost, port:5347
>> > org.xmpp.component.ComponentException: host-unknown
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
>> > at
>> > org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
>> > at
>> >
>> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> > at
>> >
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> > at
>> >
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> > at
>> >
>> >
>> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> > at
>> >
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> > at java.lang.Thread.run(Thread.java:745)
>> > 2017-02-21 11:21:11.330 SEVERE: [26]
>> > org.jitsi.meet.ComponentMain.call().278
>> > host-unknown, host:localhost, port:5347
>> > org.xmpp.component.ComponentException: host-unknown
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:219)
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:221)
>> > at
>> >
>> >
>> > org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:201)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:270)
>> > at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:255)
>> > at
>> > org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
>> > at
>> >
>> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>> > at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> > at
>> >
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>> > at
>> >
>> >
>> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>> > at
>> >
>> >
>> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> > at
>> >
>> >
>> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> > at java.lang.Thread.run(Thread.java:745)
>> >
>> > Any idea what went wrong?
>> >
>> > Thanks for help,
>> >
>> > /Kaiduan
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users