[jitsi-users] jigasi 'invalid transport: udp' errors


#1

Hello

I am trying to connect jigasi in order to route sip calls between twilio
and jitsi. I have been successful calling jitsi-communicator through the
twilio sip trunk, and looking at my logs for both prosody and twilio I see
that jigasi registers and authenticates at startup (via callcontrol for the
former, and twilio user credentials for the latter)

the jigasi logs show that it is receiving an incoming call, however the
call is never routed to the jitsi meet room. ('siptest', or otherwise after
trying to use sip headers)

I get a long list of 'invalid transport: UDP' errors, even long after the
call has been terminated. Do you have any advice on why this might be
failing?

2017-05-01 20:40:14.720 INFO: [60]
org.jitsi.jigasi.SipGateway.incomingCallReceived().289 Incoming call
received...
2017-05-01 20:40:15.723 INFO: [61]
org.jitsi.jigasi.GatewaySession.run().878 Using default JVB room name
property siptest
2017-05-01 20:40:15.828 INFO: [61]
org.jitsi.jigasi.JvbConference.setXmppProvider().516
15bc5bdfe80@callcontrol.meetdev.cloudversify.com will use
ProtocolProviderServiceJabberImpl(user10@meetdev.cloudversify.com (Jabber))
2017-05-01 20:40:15.904 INFO: [63]
org.igniterealtime.jbosh.BOSHClient.init() Starting with 1 request
processors
log4j:WARN No appenders could be found for logger
(org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
2017-05-01 20:40:16.404 INFO: [63]
org.igniterealtime.jbosh.BOSHClient.init() Starting with 1 request
processors
2017-05-01 20:40:21.361 INFO: [39]
org.jitsi.jigasi.SipGateway.registrationStateChanged().172 REG STATE CHANGE
ProtocolProviderServiceSipImpl(clouduser1@versidio.sip.us1.twilio.com
(SIP)) -> RegistrationStateChangeEvent[ oldState=Registered;
newState=RegistrationState=Connection Failed; reasonCode=-1; reason=A
timeout occurred while trying to connect to the server.]
2017-05-01 20:40:21.362 INFO: [80]
plugin.reconnectplugin.ReconnectPluginActivator.run().621 Reconnect
clouduser1@versidio.sip.us1.twilio.com (SIP) after 2000 ms.
2017-05-01 20:40:21.362 INFO: [39]
impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: the
sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been
stopped
2017-05-01 20:40:22.363 INFO: [39]
impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: the
sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been
stopped
2017-05-01 20:40:23.363 INFO: [81]
plugin.reconnectplugin.ReconnectPluginActivator.run().985 Start
reconnecting clouduser1@versidio.sip.us1.twilio.com (SIP)
2017-05-01 20:40:23.364 INFO: [39]
org.jitsi.jigasi.SipGateway.registrationStateChanged().172 REG STATE CHANGE
ProtocolProviderServiceSipImpl(clouduser1@versidio.sip.us1.twilio.com
(SIP)) -> RegistrationStateChangeEvent[ oldState=Connection Failed;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2017-05-01 20:40:23.364 INFO: [81]
impl.protocol.sip.SipLogger.logInfo().196 Info from the JAIN-SIP stack: the
sip stack timer gov.nist.javax.sip.stack.timers.DefaultSipTimer has been
started
2017-05-01 20:40:23.364 SEVERE: [39]
impl.protocol.sip.SipRegistrarConnection.register().293 Failed to create a
Register request.
java.lang.IllegalArgumentException: Invalid transport: UDP
        at
net.java.sip.communicator.impl.protocol.sip.SipStackSharing.getLP(SipStackSharing.java:265)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getListeningPoint(ProtocolProviderServiceSipImpl.java:1647)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1308)
        at
net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1094)
        at
net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:268)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.registerUsingNextAddress(ProtocolProviderServiceSipImpl.java:2737)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.notifyConnectionFailed(ProtocolProviderServiceSipImpl.java:2786)
        at
net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.processTimeout(EventPackageSubscriber.java:913)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processTimeout(ProtocolProviderServiceSipImpl.java:904)
        at
net.java.sip.communicator.impl.protocol.sip.SipStackSharing.processTimeout(SipStackSharing.java:839)
        at
gov.nist.javax.sip.EventScanner.deliverTimeoutEvent(EventScanner.java:401)
        at
gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:150)
        at
gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:185)
        at
gov.nist.javax.sip.SipProviderImpl.transactionErrorEvent(SipProviderImpl.java:968)
        at
gov.nist.javax.sip.stack.SIPTransactionImpl.raiseErrorEvent(SIPTransactionImpl.java:960)
        at
gov.nist.javax.sip.stack.SIPClientTransactionImpl.fireTimeoutTimer(SIPClientTransactionImpl.java:1177)
        at
gov.nist.javax.sip.stack.SIPTransactionImpl.fireTimer(SIPTransactionImpl.java:661)
        at
gov.nist.javax.sip.stack.SIPClientTransactionImpl$TransactionTimer.runTask(SIPClientTransactionImpl.java:259)
        at
gov.nist.javax.sip.stack.timers.DefaultSipTimer$DefaultTimerTask.run(DefaultSipTimer.java:67)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)