Asterisk, Jitsi, jigasi on the same machine - inbound calls to jigasi rejected

Asterisk and Jitsi are running happily on the same machine.
Asterisk is accepting regular SIP calls on port 5060 and talks to jigasi on 5160.

jigasi is also running, and successfully registers via PJSIP as an endpoint on Asterisk.

But when I try to call into a conference room from Asterisk to jigasi, whether I specify and conference room in the SIP header field X-Room_Name or not (and therefore I should go to the default room), jigasi does not appear to even respond to the Invite from Asterisk.

I have looked through other threads, but have so far been unable to resolve this issue.

Please can you point me in the right direction?

All the best,

David

Maybe upload the jigasi logs as a start.

Thanks for responding. Which log files would be most useful?

Here are the last few lines from /var/log/jitsi/jigasi.log

2020-04-09 00:00:50.976 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:00:54.633 INFO: [167] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060
2020-04-09 00:00:55.980 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:01:00.984 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:01:05.988 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

To get rid of this exception make sure JIGASI_SECRET from /etc/jitsi/jigasi/config matches the one from prosody config in /etc/prosody/cond.d/youromain.cfg.lua under component_secret of callcontrol

Component "callcontrol.meet.jit.si"
    component_secret = "topsecret"
```.

Thank you. I did that. Here is the latest few lines for the same log file:

2020-04-09 00:45:39.018 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:45:44.025 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:45:49.030 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-04-09 00:45:49.370 INFO: [80] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060
2020-04-09 00:45:54.035 SEVERE: [38] org.jitsi.meet.ComponentMain.call().299 not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:291)
at org.jitsi.meet.ComponentMain$3.call(ComponentMain.java:276)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Sorry! I had not done it… I had accidentally picked up the component secret from focus rather than callcontrol.
I have now corrected it.

The logs have changed, but sadly there is still no response to the SIP call from Asterisk.

Here are the latest logs:

2020-04-09 00:54:48.523 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.VP8/90000=0

2020-04-09 00:54:48.523 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10

2020-04-09 00:54:48.523 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.notifications.eventType1586393686419.actions.actionType1586393686419.default=true

2020-04-09 00:54:48.523 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264/90000=0

2020-04-09 00:54:48.524 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.DEFAULT_ENCRYPTION=false

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.ulpfec/90000=0

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMU/8000=650

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jigasi.xmpp.acc.SERVER_STORED_INFO_DISABLED=true

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.iLBC/8000=10

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jigasi.xmpp.acc.IS_SERVER_OVERRIDDEN=true

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jigasi.xmpp.acc.IM_DISABLED=true

2020-04-09 00:54:48.532 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ENCRYPTED_PASSWORD=**********

2020-04-09 00:54:48.537 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.G722/8000=700

2020-04-09 00:54:48.543 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.notifications.eventType1586393686415.actions.actionType1586393686415.timeout=-1

2020-04-09 00:54:48.543 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.opus/48000=1000

2020-04-09 00:54:48.543 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PREFERRED_TRANSPORT=UDP

2020-04-09 00:54:48.554 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=online.quaintonbaptistchapel.org

2020-04-09 00:54:48.558 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP

2020-04-09 00:54:48.558 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() net.java.sip.communicator.impl.notifications.eventType1586393686419.actions.actionType1586393686419=PopupMessageAction

2020-04-09 00:54:48.558 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jigasi.xmpp.acc.SERVER_ADDRESS=127.0.0.1

2020-04-09 00:54:49.438 WARNING: [38] org.jitsi.jigasi.xmpp.CallControl.().138 Always trust in remote TLS certificates mode is enabled

2020-04-09 00:54:50.223 SEVERE: [42] impl.protocol.sip.SipLogger.logError().133 Error from the JAIN-SIP stack: Invalid argument address = ::0 port = 5060 transport = UDP

2020-04-09 00:54:50.395 INFO: [42] impl.dns.ParallelResolverImpl.send().232 Primary DNS seems laggy: no response for _sips._TCP.online.quaintonbaptistchapel.org./SRV after 1500ms. Enabling redundant mode.

2020-04-09 00:54:50.396 INFO: [49] impl.dns.ParallelResolverImpl.run().573 Sending query for _sips._TCP.online.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.427 INFO: [52] impl.dns.ParallelResolverImpl.run().573 Sending query for _sips._TCP.online.quaintonbaptistchapel.org.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.694 INFO: [49] impl.dns.ParallelResolverImpl.run().573 Sending query for _sip._TCP.online.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.713 INFO: [52] impl.dns.ParallelResolverImpl.run().573 Sending query for _sip._TCP.online.quaintonbaptistchapel.org.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.714 INFO: [42] impl.dns.ParallelResolverImpl.send().263 Primary DNS seems back in biz. Disabling redundant mode.

2020-04-09 00:54:50.725 INFO: [42] impl.dns.ParallelResolverImpl.send().232 Primary DNS seems laggy: no response for _sip._UDP.online.quaintonbaptistchapel.org./SRV after 1500ms. Enabling redundant mode.

2020-04-09 00:54:50.726 INFO: [52] impl.dns.ParallelResolverImpl.run().573 Sending query for _sip._UDP.online.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.736 INFO: [49] impl.dns.ParallelResolverImpl.run().573 Sending query for _sip._UDP.online.quaintonbaptistchapel.org.quaintonbaptistchapel.org./SRV to backup resolvers

2020-04-09 00:54:50.783 INFO: [42] impl.dns.ParallelResolverImpl.send().263 Primary DNS seems back in biz. Disabling redundant mode.

2020-04-09 00:54:50.787 INFO: [42] org.jitsi.jigasi.SipGateway.registrationStateChanged().105 REG STATE CHANGE ProtocolProviderServiceSipImpl(qbc-jitsi@online.quaintonbaptistchapel.org (SIP)) -> RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]

2020-04-09 00:54:51.273 INFO: [54] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060

2020-04-09 00:54:51.442 INFO: [56] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060

2020-04-09 00:54:51.552 INFO: [56] org.jitsi.jigasi.SipGateway.registrationStateChanged().105 REG STATE CHANGE ProtocolProviderServiceSipImpl(qbc-jitsi@online.quaintonbaptistchapel.org (SIP)) -> RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Registered; reasonCode=-1; reason=null]

2020-04-09 00:54:51.580 INFO: [61] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060

2020-04-09 00:54:51.583 WARNING: [56] org.jitsi.jigasi.health.SipHealthPeriodicChecker.log() No health check started, no HEALTH_CHECK_SIP_URI prop.

2020-04-09 00:55:15.728 INFO: [62] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:15.744 SEVERE: [62] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:15.745 SEVERE: [62] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

2020-04-09 00:55:16.229 INFO: [63] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:16.233 SEVERE: [63] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:16.233 SEVERE: [63] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

2020-04-09 00:55:16.489 INFO: [64] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5060

2020-04-09 00:55:17.222 INFO: [65] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:17.224 SEVERE: [65] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:17.224 SEVERE: [65] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

2020-04-09 00:55:19.222 INFO: [68] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:19.230 SEVERE: [68] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:19.230 SEVERE: [68] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

2020-04-09 00:55:23.233 INFO: [69] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:23.240 SEVERE: [69] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:23.240 SEVERE: [69] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

2020-04-09 00:55:31.221 INFO: [70] impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: Setting SIPMessage peerPacketSource to: /127.0.0.1:5160

2020-04-09 00:55:31.222 SEVERE: [70] impl.protocol.sip.SipStackSharing.findTargetFor().922 no listeners

2020-04-09 00:55:31.222 SEVERE: [70] impl.protocol.sip.SipStackSharing.processRequest().709 couldn’t find a ProtocolProviderServiceSipImpl to dispatch to

Your config is not full, I think. Try adding this and see how it goes?
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROXY_ADDRESS=127.0.0.1
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROXY_AUTO_CONFIG=false
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROXY_PORT= 5160
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PREFERRED_TRANSPORT=UDP

Thank you. Thank you. Thank you. Thank you. Thank you!!!

I already had PROXY_PORT and PREFERRED TRANSPORT, but not PROXY_ACCESS or PROXY_AUTO_CONFIG.

With those two lines, everything now appears to work - both inbound and outbound.

I am very grateful to you for sticking with me to a successful conclusion :slight_smile: .

Wishing you all the best,
David

1 Like

I’m back…

It turns out that calls from Asterisk to jigasi get dropped after 30 seconds.

They do get into the correct room (through specifying X-Room-Name in the SIP header).

Since Asterisk and jigasi are running on the same machine, I can’t imagine that it is a NAT issue :slight_smile:

What else could be causing this?

Thank you.

Add this to your config net.java.sip.communicator.impl.protocol.sip.SKIP_REINVITE_ON_FOCUS_CHANGE_PROP=true
This is part of the code, but we had not push new stable, will update it soon.

Thank you Sir - that fixed the issue!
Your help is very much appreciated.

@uk-david: I am searching on infos how to install and configure asterisk with jistsi meet with incoming calls. While searching on the web I found your post here.
Do you have an hint for me how to install and configure asterisk with jitsi for incoming calls? Any help would be usefull for me - for documentation on this topic is scarce commodity (in German: Mangelware).

Thanks in advance!

My experience is limited to jigasi 1.0-235.

This is the only version I have been able to have working.

So my suggestion would be to uninstall jigasi and replace like this:

apt-get install jigasi=1.0-235

Doing that and then following the advice I got in thread that you have seen got both inbound and outbound working via Asterisk.

All the best,

David

David Duffett
TeleSpeak Ltd.

Author of the forthcoming book “Let the Geek Speak” www.letthegeekspeak.com/free-report

But to do good and to communicate forget not: for with such sacrifices God is well pleased.
Hebrews 13:16, KJV

The only Digium authorised Asterisk training partner in the UK.
Asterisk training, consultancy and support by specialists.

Unit 2E Woodway Farm, Bicester Road, Long Crendon, Bucks HP18 9EP, UK

T: 01869 440045
M: 07722 442236
E: david.duffett@telespeak.co.uk
W: www.telespeak.co.uk

Thanks a lot, I’ll try it out. I am just using jitsi as docker-container, outgoing calls are successfull.