[jitsi-users] jigasi failed to start a call when xmpp authentication enabled


#1

I was following jicofo documentation to enable XMPP authentication for creating conference room:https://github.com/jitsi/jicofo

I also add one line in root@meet:/etc/prosody# vi prosody.cfg.lua admins = { "demo@meet.mydomain.com" }
Fresh installed jigasi now can registered to freeswitch, but nothing happened on conference GUI when I start a call to any other registered user.ii jigasi 1.0-68 amd64 Jitsi Gateway for SIPCompared to another installation of jitsi-meet when XMPP authentication for creating conference room was not enabled.It can dial out successfully with an old jigasi.deb package.
<<Dialing failed jigasi.log:>>2015-03-27 15:40:59.255 WARNING: [58] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are not secured by JID filter!2015-03-27 15:40:59.264 INFO: [58] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.checkLockFile0ErrorCode() Could not lock User prefs. Unix error code 2.2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.syncWorld() Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.2015-03-27 15:41:00.173 INFO: [58] org.jitsi.jigasi.JvbConference.setXmppProvider().494 14cf9d26c04@callcontrol.meet.etalk.net will use ProtocolProviderServiceJabberImpl(14cf9d26c04@meet.etalk.net (Jabber))2015-03-27 15:41:01.153 INFO: [59] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA2015-03-27 15:41:01.169 INFO: [59] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107 Jingle : ON 2015-03-27 15:41:01.171 INFO: [59] org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]2015-03-27 15:41:01.599 INFO: [59] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA2015-03-27 15:41:01.605 INFO: [59] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107 Jingle : ON 2015-03-27 15:41:01.606 INFO: [59] org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
<<Dialing sucessful jigasi.log:>>ii jigasi 1.0-58 amd64 Jitsi Gateway for SIP15:58:51.412 WARNING: [2172] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are not secured by JID filter!15:58:51.413 INFO: [2172] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net15:58:51.415 INFO: [2172] org.jitsi.jigasi.JvbConference.setXmppProvider().402 14cf9e2c815@callcontrol.meet.etalk.net will use ProtocolProviderServiceJabberImpl(14cf9e2c815@meet.etalk.net (Jabber))15:58:51.514 INFO: [2173] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1288 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA15:58:51.514 INFO: [2173] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().106 Jingle : ON 15:58:51.515 INFO: [2173] org.jitsi.jigasi.JvbConference.registrationStateChanged().441 XMPP (14cf9e2c815@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]15:58:51.521 SEVERE: [2173] service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().190 An error occurred while executing RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent) of net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener@3a461b35java.lang.IllegalArgumentException: Connection cannot be anonymous at org.jivesoftware.smackx.packet.VCard.checkAuthenticated(VCard.java:602) at org.jivesoftware.smackx.packet.VCard.load(VCard.java:528) at net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.createAccountPhotoPresenceInterceptor(OperationSetPersistentPresenceJabberImpl.java:1829) at net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetPersistentPresenceJabberImpl.java:1075) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)15:58:51.526 SEVERE: [2173] impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported().751 Failed to retrieve carbon support.not-allowed(-1) Communication with remote domains is not enabled at org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:448) at net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:569) at net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:495) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported(OperationSetBasicInstantMessagingJabberImpl.java:745) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.access$900(OperationSetBasicInstantMessagingJabberImpl.java:38) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetBasicInstantMessagingJabberImpl.java:642) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)15:58:51.529 INFO: [2173] org.jitsi.jigasi.JvbConference.joinConferenceRoom().479 Joining JVB conference room: abc@conference.meet.etalk.netNo VCard for 14cf9e2c815@meet.etalk.net15:58:51.543 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/8d2061a0 has joined the abc@conference.meet.etalk.net chat room.15:58:51.546 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@9c5571]15:58:51.548 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/c8cd11cf has joined the abc@conference.meet.etalk.net chat room.15:58:51.548 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@2297933]15:58:51.549 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/focus has joined the abc@conference.meet.etalk.net chat room.15:58:51.549 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@70d40460]15:58:51.841 INFO: [2183] impl.protocol.jabber.IceUdpTransportManager.createIceAgent().173 Auto discovered harvester is null15:58:53.922 INFO: [2183] impl.protocol.jabber.IceUdpTransportManager.createIceAgent().265 End gathering harvester within 2082 ms15:58:54.170 INFO: [2183] impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.harvestCandidates().1183 End candidate harvest within 244 ms15:58:54.170 WARNING: [2183] impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment().898 No ICE media stream for media: video - ignored candidates.15:58:54.172 INFO: [2183] org.jitsi.jigasi.JvbConference.incomingCallReceived().698 Got invite from focus15:58:54.264 INFO: [401] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955 Dynamic PT map: 126=rtpmap:-1 telephone-event/8000; 116=rtpmap:-1 red/90000; 111=rtpmap:-1 opus/48000/2 fmtp:minptime=10; 103=rtpmap:-1 unknown/90000; 100=rtpmap:-1 VP8/90000; 117=rtpmap:-1 ulpfec/90000; 15:58:54.265 INFO: [401] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT overrides [103->105 ]15:58:54.266 INFO: [401] service.protocol.media.CallPeerMediaHandler.start().1915 Starting15:58:54.292 INFO: [401] org.jitsi.jigasi.JvbConference.onJvbCallStarted().575 JVB conference call IN_PROGRESS abc@conference.meet.etalk.net15:58:54.298 INFO: [401] impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184 Creating outgoing call to sip:8839@222.44.11.23715:58:54.301 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1002915:58:54.302 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003015:58:54.302 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003115:58:54.303 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003215:58:54.303 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003315:58:54.307 INFO: [401] org.jitsi.jigasi.GatewaySession.onConferenceCallStarted().356 Created outgoing call to 8839@222.44.11.237 Call: id=14301215342982097079840 peers=115:58:54.307 INFO: [401] org.jitsi.jigasi.JvbConference.peerStateChanged().726 14cf9e2c815@callcontrol.meet.etalk.net JVB peer state: net.java.sip.communicator.service.protocol.CallPeerState:Connected15:58:54.308 INFO: [401] org.jitsi.jigasi.JvbConference.advertisePeerSSRCs().166 Peer net.java.sip.communicator.service.protocol.CallPeerState:Connected SSRCs audio: 378261041 video: null15:58:54.315 INFO: [2220] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connecting15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Unable to handle format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Failed to prefetch: net.sf.fmj.media.ProcessEngine@291caff115:58:54.376 SEVERE: [2247] net.sf.fmj.media.Log.error() Error: Unable to prefetch net.sf.fmj.media.ProcessEngine@291caff1
15:58:54.434 INFO: [2268] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Alerting Remote User (Ringing)15:58:56.651 INFO: [2269] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955 Dynamic PT map: 97=rtpmap:-1 iLBC/8000; 96=rtpmap:-1 opus/48000/2 fmtp:useinbandfec=0;usedtx=1; 101=rtpmap:-1 telephone-event/8000; 15:58:56.651 INFO: [2269] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT overrides []15:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.handleCallState().546 Sip call IN_PROGRESS: Call: id=14301215342982097079840 peers=115:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.handleCallState().554 SIP call format used: rtpmap:0 PCMU/800015:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connected15:58:56.653 INFO: [2269] service.protocol.media.CallPeerMediaHandler.start().1915 Starting

Thanks and Best RegardsYanchong Wang


#2

At last I found the only factor that affect whether the jigasi can call out is the authentication configuration:
root@meet:/etc/prosody/conf.avail# cat meet.mydomain.com.cfg.luaVirtualHost "meet.mydomain.com" -- authentication = "anonymous" // jigasi can call out if authentication "anonymous" authentication = "internal_plain" //jigasi can not call out if authentication "internal_plain"
Could any expert kindly help clarifying how to use jigasi to call out if following jicofo guide to enable authentication when creating conference room by:
https://github.com/jitsi/jicofoin the "Secure Domain" part.

Thanks and Best RegardsYanchong Wang

···

From: wangyanchong@hotmail.com
To: users@jitsi.org; pawel.domas@jitsi.org
Date: Mon, 27 Apr 2015 08:05:34 +0000
Subject: [jitsi-users] jigasi failed to start a call when xmpp authentication enabled

I was following jicofo documentation to enable XMPP authentication for creating conference room:https://github.com/jitsi/jicofo

I also add one line in root@meet:/etc/prosody# vi prosody.cfg.lua admins = { "demo@meet.mydomain.com" }
Fresh installed jigasi now can registered to freeswitch, but nothing happened on conference GUI when I start a call to any other registered user.ii jigasi 1.0-68 amd64 Jitsi Gateway for SIPCompared to another installation of jitsi-meet when XMPP authentication for creating conference room was not enabled.It can dial out successfully with an old jigasi.deb package.
<<Dialing failed jigasi.log:>>2015-03-27 15:40:59.255 WARNING: [58] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are not secured by JID filter!2015-03-27 15:40:59.264 INFO: [58] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.checkLockFile0ErrorCode() Could not lock User prefs. Unix error code 2.2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.syncWorld() Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.2015-03-27 15:41:00.173 INFO: [58] org.jitsi.jigasi.JvbConference.setXmppProvider().494 14cf9d26c04@callcontrol.meet.etalk.net will use ProtocolProviderServiceJabberImpl(14cf9d26c04@meet.etalk.net (Jabber))2015-03-27 15:41:01.153 INFO: [59] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA2015-03-27 15:41:01.169 INFO: [59] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107 Jingle : ON 2015-03-27 15:41:01.171 INFO: [59] org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]2015-03-27 15:41:01.599 INFO: [59] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA2015-03-27 15:41:01.605 INFO: [59] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107 Jingle : ON 2015-03-27 15:41:01.606 INFO: [59] org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
<<Dialing sucessful jigasi.log:>>ii jigasi 1.0-58 amd64 Jitsi Gateway for SIP15:58:51.412 WARNING: [2172] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are not secured by JID filter!15:58:51.413 INFO: [2172] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net15:58:51.415 INFO: [2172] org.jitsi.jigasi.JvbConference.setXmppProvider().402 14cf9e2c815@callcontrol.meet.etalk.net will use ProtocolProviderServiceJabberImpl(14cf9e2c815@meet.etalk.net (Jabber))15:58:51.514 INFO: [2173] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1288 Chosen TLS protocol and algorithm:Protocol: TLSv1.2Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA15:58:51.514 INFO: [2173] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().106 Jingle : ON 15:58:51.515 INFO: [2173] org.jitsi.jigasi.JvbConference.registrationStateChanged().441 XMPP (14cf9e2c815@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]15:58:51.521 SEVERE: [2173] service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().190 An error occurred while executing RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent) of net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener@3a461b35java.lang.IllegalArgumentException: Connection cannot be anonymous at org.jivesoftware.smackx.packet.VCard.checkAuthenticated(VCard.java:602) at org.jivesoftware.smackx.packet.VCard.load(VCard.java:528) at net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.createAccountPhotoPresenceInterceptor(OperationSetPersistentPresenceJabberImpl.java:1829) at net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetPersistentPresenceJabberImpl.java:1075) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)15:58:51.526 SEVERE: [2173] impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported().751 Failed to retrieve carbon support.not-allowed(-1) Communication with remote domains is not enabled at org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:448) at net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:569) at net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:495) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported(OperationSetBasicInstantMessagingJabberImpl.java:745) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.access$900(OperationSetBasicInstantMessagingJabberImpl.java:38) at net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetBasicInstantMessagingJabberImpl.java:642) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503) at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)15:58:51.529 INFO: [2173] org.jitsi.jigasi.JvbConference.joinConferenceRoom().479 Joining JVB conference room: abc@conference.meet.etalk.netNo VCard for 14cf9e2c815@meet.etalk.net15:58:51.543 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/8d2061a0 has joined the abc@conference.meet.etalk.net chat room.15:58:51.546 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@9c5571]15:58:51.548 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/c8cd11cf has joined the abc@conference.meet.etalk.net chat room.15:58:51.548 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@2297933]15:58:51.549 INFO: [2178] impl.protocol.jabber.ChatRoomJabberImpl.joined().1121 abc@conference.meet.etalk.net/focus has joined the abc@conference.meet.etalk.net chat room.15:58:51.549 INFO: [2178] org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@70d40460]15:58:51.841 INFO: [2183] impl.protocol.jabber.IceUdpTransportManager.createIceAgent().173 Auto discovered harvester is null15:58:53.922 INFO: [2183] impl.protocol.jabber.IceUdpTransportManager.createIceAgent().265 End gathering harvester within 2082 ms15:58:54.170 INFO: [2183] impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.harvestCandidates().1183 End candidate harvest within 244 ms15:58:54.170 WARNING: [2183] impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment().898 No ICE media stream for media: video - ignored candidates.15:58:54.172 INFO: [2183] org.jitsi.jigasi.JvbConference.incomingCallReceived().698 Got invite from focus15:58:54.264 INFO: [401] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955 Dynamic PT map: 126=rtpmap:-1 telephone-event/8000; 116=rtpmap:-1 red/90000; 111=rtpmap:-1 opus/48000/2 fmtp:minptime=10; 103=rtpmap:-1 unknown/90000; 100=rtpmap:-1 VP8/90000; 117=rtpmap:-1 ulpfec/90000; 15:58:54.265 INFO: [401] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT overrides [103->105 ]15:58:54.266 INFO: [401] service.protocol.media.CallPeerMediaHandler.start().1915 Starting15:58:54.292 INFO: [401] org.jitsi.jigasi.JvbConference.onJvbCallStarted().575 JVB conference call IN_PROGRESS abc@conference.meet.etalk.net15:58:54.298 INFO: [401] impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184 Creating outgoing call to sip:8839@222.44.11.23715:58:54.301 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1002915:58:54.302 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003015:58:54.302 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003115:58:54.303 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003215:58:54.303 INFO: [401] impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525 Retrying a bind because of a failure to bind to address /61.152.148.53 and port 1003315:58:54.307 INFO: [401] org.jitsi.jigasi.GatewaySession.onConferenceCallStarted().356 Created outgoing call to 8839@222.44.11.237 Call: id=14301215342982097079840 peers=115:58:54.307 INFO: [401] org.jitsi.jigasi.JvbConference.peerStateChanged().726 14cf9e2c815@callcontrol.meet.etalk.net JVB peer state: net.java.sip.communicator.service.protocol.CallPeerState:Connected15:58:54.308 INFO: [401] org.jitsi.jigasi.JvbConference.advertisePeerSSRCs().166 Peer net.java.sip.communicator.service.protocol.CallPeerState:Connected SSRCs audio: 378261041 video: null15:58:54.315 INFO: [2220] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connecting15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Unable to handle format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Failed to prefetch: net.sf.fmj.media.ProcessEngine@291caff115:58:54.376 SEVERE: [2247] net.sf.fmj.media.Log.error() Error: Unable to prefetch net.sf.fmj.media.ProcessEngine@291caff1
15:58:54.434 INFO: [2268] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Alerting Remote User (Ringing)15:58:56.651 INFO: [2269] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955 Dynamic PT map: 97=rtpmap:-1 iLBC/8000; 96=rtpmap:-1 opus/48000/2 fmtp:useinbandfec=0;usedtx=1; 101=rtpmap:-1 telephone-event/8000; 15:58:56.651 INFO: [2269] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT overrides []15:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.handleCallState().546 Sip call IN_PROGRESS: Call: id=14301215342982097079840 peers=115:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.handleCallState().554 SIP call format used: rtpmap:0 PCMU/800015:58:56.652 INFO: [2269] org.jitsi.jigasi.GatewaySession.peerStateChanged().618 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connected15:58:56.653 INFO: [2269] service.protocol.media.CallPeerMediaHandler.start().1915 Starting

Thanks and Best RegardsYanchong Wang

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


#3

Hi,

did you tried the following props for jigasi:

https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L56

org.jitsi.jigasi.xmpp.acc.USER_ID=SOME_USER@SOME_DOMAIN
org.jitsi.jigasi.xmpp.acc.PASS=SOME_PASS
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Regards
damencho

···

On Mon, Apr 27, 2015 at 12:57 PM, WangYanchong <wangyanchong@hotmail.com> wrote:

At last I found the only factor that affect whether the jigasi can call out
is the authentication configuration:

root@meet:/etc/prosody/conf.avail# cat meet.mydomain.com.cfg.lua
VirtualHost "meet.mydomain.com"
        -- authentication = "anonymous" // jigasi can call out if
authentication "anonymous"
        authentication = "internal_plain" //jigasi can not call out if
authentication "internal_plain"

Could any expert kindly help clarifying how to use jigasi to call out if
following jicofo guide to enable authentication when creating conference
room by:

https://github.com/jitsi/jicofo
in the "Secure Domain" part.

Thanks and Best Regards
Yanchong Wang

________________________________
From: wangyanchong@hotmail.com
To: users@jitsi.org; pawel.domas@jitsi.org
Date: Mon, 27 Apr 2015 08:05:34 +0000
Subject: [jitsi-users] jigasi failed to start a call when xmpp
authentication enabled

I was following jicofo documentation to enable XMPP authentication for
creating conference room:
https://github.com/jitsi/jicofo

I also add one line in root@meet:/etc/prosody# vi prosody.cfg.lua
admins = { "demo@meet.mydomain.com" }

Fresh installed jigasi now can registered to freeswitch, but nothing
happened on conference GUI when I start a call to any other registered user.
ii jigasi 1.0-68 amd64
Jitsi Gateway for SIP
Compared to another installation of jitsi-meet when XMPP authentication for
creating conference room was not enabled.
It can dial out successfully with an old jigasi.deb package.

<<Dialing failed jigasi.log:>>
2015-03-27 15:40:59.255 WARNING: [58]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are
not secured by JID filter!
2015-03-27 15:40:59.264 INFO: [58]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net
2015-03-27 15:40:59.953 WARNING: [27]
java.util.prefs.checkLockFile0ErrorCode() Could not lock User prefs. Unix
error code 2.
2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.syncWorld() Couldn't
flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file
lock.
2015-03-27 15:41:00.173 INFO: [58]
org.jitsi.jigasi.JvbConference.setXmppProvider().494
14cf9d26c04@callcontrol.meet.etalk.net will use
ProtocolProviderServiceJabberImpl(14cf9d26c04@meet.etalk.net (Jabber))
2015-03-27 15:41:01.153 INFO: [59]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2015-03-27 15:41:01.169 INFO: [59]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
Jingle : ON
2015-03-27 15:41:01.171 INFO: [59]
org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
(14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
2015-03-27 15:41:01.599 INFO: [59]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2015-03-27 15:41:01.605 INFO: [59]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
Jingle : ON
2015-03-27 15:41:01.606 INFO: [59]
org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
(14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]

<<Dialing sucessful jigasi.log:>>
ii jigasi 1.0-58
amd64 Jitsi Gateway for SIP
15:58:51.412 WARNING: [2172]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are
not secured by JID filter!
15:58:51.413 INFO: [2172]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net
15:58:51.415 INFO: [2172]
org.jitsi.jigasi.JvbConference.setXmppProvider().402
14cf9e2c815@callcontrol.meet.etalk.net will use
ProtocolProviderServiceJabberImpl(14cf9e2c815@meet.etalk.net (Jabber))
15:58:51.514 INFO: [2173]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1288
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
15:58:51.514 INFO: [2173]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().106
Jingle : ON
15:58:51.515 INFO: [2173]
org.jitsi.jigasi.JvbConference.registrationStateChanged().441 XMPP
(14cf9e2c815@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
oldState=Unregistered; newState=RegistrationState=Registering;
reasonCode=-1; reason=null]
15:58:51.521 SEVERE: [2173]
service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().190
An error occurred while executing
RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent)
of
net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener@3a461b35
java.lang.IllegalArgumentException: Connection cannot be anonymous
        at
org.jivesoftware.smackx.packet.VCard.checkAuthenticated(VCard.java:602)
        at org.jivesoftware.smackx.packet.VCard.load(VCard.java:528)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.createAccountPhotoPresenceInterceptor(OperationSetPersistentPresenceJabberImpl.java:1829)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetPersistentPresenceJabberImpl.java:1075)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
        at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
15:58:51.526 SEVERE: [2173]
impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported().751
Failed to retrieve carbon support.
not-allowed(-1) Communication with remote domains is not enabled
        at
org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:448)
        at
net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:569)
        at
net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:495)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported(OperationSetBasicInstantMessagingJabberImpl.java:745)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.access$900(OperationSetBasicInstantMessagingJabberImpl.java:38)
        at
net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetBasicInstantMessagingJabberImpl.java:642)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
        at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
        at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
15:58:51.529 INFO: [2173]
org.jitsi.jigasi.JvbConference.joinConferenceRoom().479 Joining JVB
conference room: abc@conference.meet.etalk.net
No VCard for 14cf9e2c815@meet.etalk.net
15:58:51.543 INFO: [2178]
impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
abc@conference.meet.etalk.net/8d2061a0 has joined the
abc@conference.meet.etalk.net chat room.
15:58:51.546 INFO: [2178]
org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@9c5571]
15:58:51.548 INFO: [2178]
impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
abc@conference.meet.etalk.net/c8cd11cf has joined the
abc@conference.meet.etalk.net chat room.
15:58:51.548 INFO: [2178]
org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@2297933]
15:58:51.549 INFO: [2178]
impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
abc@conference.meet.etalk.net/focus has joined the
abc@conference.meet.etalk.net chat room.
15:58:51.549 INFO: [2178]
org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@70d40460]
15:58:51.841 INFO: [2183]
impl.protocol.jabber.IceUdpTransportManager.createIceAgent().173 Auto
discovered harvester is null
15:58:53.922 INFO: [2183]
impl.protocol.jabber.IceUdpTransportManager.createIceAgent().265 End
gathering harvester within 2082 ms
15:58:54.170 INFO: [2183]
impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.harvestCandidates().1183
End candidate harvest within 244 ms
15:58:54.170 WARNING: [2183]
impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment().898
No ICE media stream for media: video - ignored candidates.
15:58:54.172 INFO: [2183]
org.jitsi.jigasi.JvbConference.incomingCallReceived().698 Got invite from
focus
15:58:54.264 INFO: [401]
service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
Dynamic PT map: 126=rtpmap:-1 telephone-event/8000; 116=rtpmap:-1 red/90000;
111=rtpmap:-1 opus/48000/2 fmtp:minptime=10; 103=rtpmap:-1 unknown/90000;
100=rtpmap:-1 VP8/90000; 117=rtpmap:-1 ulpfec/90000;
15:58:54.265 INFO: [401]
service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT
overrides [103->105 ]
15:58:54.266 INFO: [401]
service.protocol.media.CallPeerMediaHandler.start().1915 Starting
15:58:54.292 INFO: [401]
org.jitsi.jigasi.JvbConference.onJvbCallStarted().575 JVB conference call
IN_PROGRESS abc@conference.meet.etalk.net
15:58:54.298 INFO: [401]
impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184
Creating outgoing call to sip:8839@222.44.11.237
15:58:54.301 INFO: [401]
impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
Retrying a bind because of a failure to bind to address /61.152.148.53 and
port 10029
15:58:54.302 INFO: [401]
impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
Retrying a bind because of a failure to bind to address /61.152.148.53 and
port 10030
15:58:54.302 INFO: [401]
impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
Retrying a bind because of a failure to bind to address /61.152.148.53 and
port 10031
15:58:54.303 INFO: [401]
impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
Retrying a bind because of a failure to bind to address /61.152.148.53 and
port 10032
15:58:54.303 INFO: [401]
impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
Retrying a bind because of a failure to bind to address /61.152.148.53 and
port 10033
15:58:54.307 INFO: [401]
org.jitsi.jigasi.GatewaySession.onConferenceCallStarted().356 Created
outgoing call to 8839@222.44.11.237 Call: id=14301215342982097079840 peers=1
15:58:54.307 INFO: [401]
org.jitsi.jigasi.JvbConference.peerStateChanged().726
14cf9e2c815@callcontrol.meet.etalk.net JVB peer state:
net.java.sip.communicator.service.protocol.CallPeerState:Connected
15:58:54.308 INFO: [401]
org.jitsi.jigasi.JvbConference.advertisePeerSSRCs().166 Peer
net.java.sip.communicator.service.protocol.CallPeerState:Connected SSRCs
audio: 378261041 video: null
15:58:54.315 INFO: [2220]
org.jitsi.jigasi.GatewaySession.peerStateChanged().618
14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connecting
15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Unable to handle
format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Failed to prefetch:
net.sf.fmj.media.ProcessEngine@291caff1
15:58:54.376 SEVERE: [2247] net.sf.fmj.media.Log.error() Error: Unable to
prefetch net.sf.fmj.media.ProcessEngine@291caff1

15:58:54.434 INFO: [2268]
org.jitsi.jigasi.GatewaySession.peerStateChanged().618
14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Alerting Remote User
(Ringing)
15:58:56.651 INFO: [2269]
service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
Dynamic PT map: 97=rtpmap:-1 iLBC/8000; 96=rtpmap:-1 opus/48000/2
fmtp:useinbandfec=0;usedtx=1; 101=rtpmap:-1 telephone-event/8000;
15:58:56.651 INFO: [2269]
service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT
overrides []
15:58:56.652 INFO: [2269]
org.jitsi.jigasi.GatewaySession.handleCallState().546 Sip call IN_PROGRESS:
Call: id=14301215342982097079840 peers=1
15:58:56.652 INFO: [2269]
org.jitsi.jigasi.GatewaySession.handleCallState().554 SIP call format used:
rtpmap:0 PCMU/8000
15:58:56.652 INFO: [2269]
org.jitsi.jigasi.GatewaySession.peerStateChanged().618
14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connected
15:58:56.653 INFO: [2269]
service.protocol.media.CallPeerMediaHandler.start().1915 Starting

Thanks and Best Regards
Yanchong Wang

_______________________________________________ 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, Damian:It works by following your suggestions. Although not fully understand the idea.The configuration for VirtualHost "meet.mydomain.com": authentication = "anonymous" or authentication "internal_plain" can affect whether browser user can ask for jicofo instance, which then join "MUC" to create jingle session between videobridge and anonymous participant.The jigasi one way register to SIP proxy and another way to join local XMPP server subdomain =callcontrol during startup.For these three lines configuration, it seems that they are also for xmpp login, I feel a little confused.
# If you want jigasi to perform authenticated login instead of anonymous login# to the XMPP server, you can set the following properties. org.jitsi.jigasi.xmpp.acc.USER_ID=user@talk.polylink.net org.jitsi.jigasi.xmpp.acc.PASS=polylink org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Thanks and Best RegardsYanchong Wang

···

From: damencho@jitsi.org
Date: Mon, 27 Apr 2015 13:03:17 +0300
To: users@jitsi.org
Subject: Re: [jitsi-users] jigasi failed to start a call when xmpp authentication enabled

Hi,

did you tried the following props for jigasi:

https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L56

org.jitsi.jigasi.xmpp.acc.USER_ID=SOME_USER@SOME_DOMAIN
org.jitsi.jigasi.xmpp.acc.PASS=SOME_PASS
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Regards
damencho

On Mon, Apr 27, 2015 at 12:57 PM, WangYanchong <wangyanchong@hotmail.com> wrote:
> At last I found the only factor that affect whether the jigasi can call out
> is the authentication configuration:
>
> root@meet:/etc/prosody/conf.avail# cat meet.mydomain.com.cfg.lua
> VirtualHost "meet.mydomain.com"
> -- authentication = "anonymous" // jigasi can call out if
> authentication "anonymous"
> authentication = "internal_plain" //jigasi can not call out if
> authentication "internal_plain"
>
> Could any expert kindly help clarifying how to use jigasi to call out if
> following jicofo guide to enable authentication when creating conference
> room by:
>
> https://github.com/jitsi/jicofo
> in the "Secure Domain" part.
>
>
> Thanks and Best Regards
> Yanchong Wang
>
>
> ________________________________
> From: wangyanchong@hotmail.com
> To: users@jitsi.org; pawel.domas@jitsi.org
> Date: Mon, 27 Apr 2015 08:05:34 +0000
> Subject: [jitsi-users] jigasi failed to start a call when xmpp
> authentication enabled
>
>
> I was following jicofo documentation to enable XMPP authentication for
> creating conference room:
> https://github.com/jitsi/jicofo
>
> I also add one line in root@meet:/etc/prosody# vi prosody.cfg.lua
> admins = { "demo@meet.mydomain.com" }
>
> Fresh installed jigasi now can registered to freeswitch, but nothing
> happened on conference GUI when I start a call to any other registered user.
> ii jigasi 1.0-68 amd64
> Jitsi Gateway for SIP
> Compared to another installation of jitsi-meet when XMPP authentication for
> creating conference room was not enabled.
> It can dial out successfully with an old jigasi.deb package.
>
> <<Dialing failed jigasi.log:>>
> 2015-03-27 15:40:59.255 WARNING: [58]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are
> not secured by JID filter!
> 2015-03-27 15:40:59.264 INFO: [58]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
> request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net
> 2015-03-27 15:40:59.953 WARNING: [27]
> java.util.prefs.checkLockFile0ErrorCode() Could not lock User prefs. Unix
> error code 2.
> 2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.syncWorld() Couldn't
> flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file
> lock.
> 2015-03-27 15:41:00.173 INFO: [58]
> org.jitsi.jigasi.JvbConference.setXmppProvider().494
> 14cf9d26c04@callcontrol.meet.etalk.net will use
> ProtocolProviderServiceJabberImpl(14cf9d26c04@meet.etalk.net (Jabber))
> 2015-03-27 15:41:01.153 INFO: [59]
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2015-03-27 15:41:01.169 INFO: [59]
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
> Jingle : ON
> 2015-03-27 15:41:01.171 INFO: [59]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
> (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 2015-03-27 15:41:01.599 INFO: [59]
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2015-03-27 15:41:01.605 INFO: [59]
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
> Jingle : ON
> 2015-03-27 15:41:01.606 INFO: [59]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
> (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
>
> <<Dialing sucessful jigasi.log:>>
> ii jigasi 1.0-58
> amd64 Jitsi Gateway for SIP
> 15:58:51.412 WARNING: [2172]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests are
> not secured by JID filter!
> 15:58:51.413 INFO: [2172]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
> request fromnumber -> 8839@222.44.11.237 room: abc@conference.meet.etalk.net
> 15:58:51.415 INFO: [2172]
> org.jitsi.jigasi.JvbConference.setXmppProvider().402
> 14cf9e2c815@callcontrol.meet.etalk.net will use
> ProtocolProviderServiceJabberImpl(14cf9e2c815@meet.etalk.net (Jabber))
> 15:58:51.514 INFO: [2173]
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1288
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 15:58:51.514 INFO: [2173]
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().106
> Jingle : ON
> 15:58:51.515 INFO: [2173]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().441 XMPP
> (14cf9e2c815@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 15:58:51.521 SEVERE: [2173]
> service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().190
> An error occurred while executing
> RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent)
> of
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener@3a461b35
> java.lang.IllegalArgumentException: Connection cannot be anonymous
> at
> org.jivesoftware.smackx.packet.VCard.checkAuthenticated(VCard.java:602)
> at org.jivesoftware.smackx.packet.VCard.load(VCard.java:528)
> at
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.createAccountPhotoPresenceInterceptor(OperationSetPersistentPresenceJabberImpl.java:1829)
> at
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetPersistentPresenceJabberImpl.java:1075)
> at
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
> at
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
> at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
> 15:58:51.526 SEVERE: [2173]
> impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported().751
> Failed to retrieve carbon support.
> not-allowed(-1) Communication with remote domains is not enabled
> at
> org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:448)
> at
> net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:569)
> at
> net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:495)
> at
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported(OperationSetBasicInstantMessagingJabberImpl.java:745)
> at
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.access$900(OperationSetBasicInstantMessagingJabberImpl.java:38)
> at
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetBasicInstantMessagingJabberImpl.java:642)
> at
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
> at
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
> at
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
> at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
> 15:58:51.529 INFO: [2173]
> org.jitsi.jigasi.JvbConference.joinConferenceRoom().479 Joining JVB
> conference room: abc@conference.meet.etalk.net
> No VCard for 14cf9e2c815@meet.etalk.net
> 15:58:51.543 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/8d2061a0 has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.546 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@9c5571]
> 15:58:51.548 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/c8cd11cf has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.548 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@2297933]
> 15:58:51.549 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/focus has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.549 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@70d40460]
> 15:58:51.841 INFO: [2183]
> impl.protocol.jabber.IceUdpTransportManager.createIceAgent().173 Auto
> discovered harvester is null
> 15:58:53.922 INFO: [2183]
> impl.protocol.jabber.IceUdpTransportManager.createIceAgent().265 End
> gathering harvester within 2082 ms
> 15:58:54.170 INFO: [2183]
> impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.harvestCandidates().1183
> End candidate harvest within 244 ms
> 15:58:54.170 WARNING: [2183]
> impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment().898
> No ICE media stream for media: video - ignored candidates.
> 15:58:54.172 INFO: [2183]
> org.jitsi.jigasi.JvbConference.incomingCallReceived().698 Got invite from
> focus
> 15:58:54.264 INFO: [401]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
> Dynamic PT map: 126=rtpmap:-1 telephone-event/8000; 116=rtpmap:-1 red/90000;
> 111=rtpmap:-1 opus/48000/2 fmtp:minptime=10; 103=rtpmap:-1 unknown/90000;
> 100=rtpmap:-1 VP8/90000; 117=rtpmap:-1 ulpfec/90000;
> 15:58:54.265 INFO: [401]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT
> overrides [103->105 ]
> 15:58:54.266 INFO: [401]
> service.protocol.media.CallPeerMediaHandler.start().1915 Starting
> 15:58:54.292 INFO: [401]
> org.jitsi.jigasi.JvbConference.onJvbCallStarted().575 JVB conference call
> IN_PROGRESS abc@conference.meet.etalk.net
> 15:58:54.298 INFO: [401]
> impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184
> Creating outgoing call to sip:8839@222.44.11.237
> 15:58:54.301 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53 and
> port 10029
> 15:58:54.302 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53 and
> port 10030
> 15:58:54.302 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53 and
> port 10031
> 15:58:54.303 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53 and
> port 10032
> 15:58:54.303 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53 and
> port 10033
> 15:58:54.307 INFO: [401]
> org.jitsi.jigasi.GatewaySession.onConferenceCallStarted().356 Created
> outgoing call to 8839@222.44.11.237 Call: id=14301215342982097079840 peers=1
> 15:58:54.307 INFO: [401]
> org.jitsi.jigasi.JvbConference.peerStateChanged().726
> 14cf9e2c815@callcontrol.meet.etalk.net JVB peer state:
> net.java.sip.communicator.service.protocol.CallPeerState:Connected
> 15:58:54.308 INFO: [401]
> org.jitsi.jigasi.JvbConference.advertisePeerSSRCs().166 Peer
> net.java.sip.communicator.service.protocol.CallPeerState:Connected SSRCs
> audio: 378261041 video: null
> 15:58:54.315 INFO: [2220]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connecting
> 15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Unable to handle
> format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> 15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Failed to prefetch:
> net.sf.fmj.media.ProcessEngine@291caff1
> 15:58:54.376 SEVERE: [2247] net.sf.fmj.media.Log.error() Error: Unable to
> prefetch net.sf.fmj.media.ProcessEngine@291caff1
>
> 15:58:54.434 INFO: [2268]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Alerting Remote User
> (Ringing)
> 15:58:56.651 INFO: [2269]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
> Dynamic PT map: 97=rtpmap:-1 iLBC/8000; 96=rtpmap:-1 opus/48000/2
> fmtp:useinbandfec=0;usedtx=1; 101=rtpmap:-1 telephone-event/8000;
> 15:58:56.651 INFO: [2269]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972 PT
> overrides []
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.handleCallState().546 Sip call IN_PROGRESS:
> Call: id=14301215342982097079840 peers=1
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.handleCallState().554 SIP call format used:
> rtpmap:0 PCMU/8000
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connected
> 15:58:56.653 INFO: [2269]
> service.protocol.media.CallPeerMediaHandler.start().1915 Starting
>
>
> Thanks and Best Regards
> Yanchong Wang
>
> _______________________________________________ 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

If you set prosody to ask users to authenticate when connecting then
jicofo and jigasi needs to authenticate. There is no need of config
for jicofo as it already authenticates, cause jicofo needs an admin
account. And the lines I sent are to configure and jigasi to
authenticate.
If there is no authentication (authentication = "anonymous") then no
need to config jigasi or jicofo, as jicasi connect anonymously and
jicofo authenticates as an admin user.

Hope it helps
damencho

···

On Tue, Apr 28, 2015 at 5:50 AM, WangYanchong <wangyanchong@hotmail.com> wrote:

Hi, Damian:
It works by following your suggestions. Although not fully understand the
idea.
The configuration for VirtualHost "meet.mydomain.com":
authentication = "anonymous" or authentication "internal_plain" can affect
whether browser user can ask for jicofo instance, which then join "MUC" to
create jingle session between videobridge and anonymous participant.
The jigasi one way register to SIP proxy and another way to join local XMPP
server subdomain =callcontrol during startup.
For these three lines configuration, it seems that they are also for xmpp
login, I feel a little confused.

# If you want jigasi to perform authenticated login instead of anonymous
login
# to the XMPP server, you can set the following properties.
org.jitsi.jigasi.xmpp.acc.USER_ID=user@talk.polylink.net
org.jitsi.jigasi.xmpp.acc.PASS=polylink
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Thanks and Best Regards
Yanchong Wang

From: damencho@jitsi.org
Date: Mon, 27 Apr 2015 13:03:17 +0300
To: users@jitsi.org
Subject: Re: [jitsi-users] jigasi failed to start a call when xmpp
authentication enabled

Hi,

did you tried the following props for jigasi:

https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L56

org.jitsi.jigasi.xmpp.acc.USER_ID=SOME_USER@SOME_DOMAIN
org.jitsi.jigasi.xmpp.acc.PASS=SOME_PASS
org.jitsi.jigasi.xmpp.acc.ANONYMOUS_AUTH=false

Regards
damencho

On Mon, Apr 27, 2015 at 12:57 PM, WangYanchong <wangyanchong@hotmail.com> >> wrote:
> At last I found the only factor that affect whether the jigasi can call
> out
> is the authentication configuration:
>
> root@meet:/etc/prosody/conf.avail# cat meet.mydomain.com.cfg.lua
> VirtualHost "meet.mydomain.com"
> -- authentication = "anonymous" // jigasi can call out if
> authentication "anonymous"
> authentication = "internal_plain" //jigasi can not call out if
> authentication "internal_plain"
>
> Could any expert kindly help clarifying how to use jigasi to call out if
> following jicofo guide to enable authentication when creating conference
> room by:
>
> https://github.com/jitsi/jicofo
> in the "Secure Domain" part.
>
>
> Thanks and Best Regards
> Yanchong Wang
>
>
> ________________________________
> From: wangyanchong@hotmail.com
> To: users@jitsi.org; pawel.domas@jitsi.org
> Date: Mon, 27 Apr 2015 08:05:34 +0000
> Subject: [jitsi-users] jigasi failed to start a call when xmpp
> authentication enabled
>
>
> I was following jicofo documentation to enable XMPP authentication for
> creating conference room:
> https://github.com/jitsi/jicofo
>
> I also add one line in root@meet:/etc/prosody# vi prosody.cfg.lua
> admins = { "demo@meet.mydomain.com" }
>
> Fresh installed jigasi now can registered to freeswitch, but nothing
> happened on conference GUI when I start a call to any other registered
> user.
> ii jigasi 1.0-68 amd64
> Jitsi Gateway for SIP
> Compared to another installation of jitsi-meet when XMPP authentication
> for
> creating conference room was not enabled.
> It can dial out successfully with an old jigasi.deb package.
>
> <<Dialing failed jigasi.log:>>
> 2015-03-27 15:40:59.255 WARNING: [58]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests
> are
> not secured by JID filter!
> 2015-03-27 15:40:59.264 INFO: [58]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
> request fromnumber -> 8839@222.44.11.237 room:
> abc@conference.meet.etalk.net
> 2015-03-27 15:40:59.953 WARNING: [27]
> java.util.prefs.checkLockFile0ErrorCode() Could not lock User prefs.
> Unix
> error code 2.
> 2015-03-27 15:40:59.953 WARNING: [27] java.util.prefs.syncWorld()
> Couldn't
> flush user prefs: java.util.prefs.BackingStoreException: Couldn't get
> file
> lock.
> 2015-03-27 15:41:00.173 INFO: [58]
> org.jitsi.jigasi.JvbConference.setXmppProvider().494
> 14cf9d26c04@callcontrol.meet.etalk.net will use
> ProtocolProviderServiceJabberImpl(14cf9d26c04@meet.etalk.net (Jabber))
> 2015-03-27 15:41:01.153 INFO: [59]
>
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2015-03-27 15:41:01.169 INFO: [59]
>
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
> Jingle : ON
> 2015-03-27 15:41:01.171 INFO: [59]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
> (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 2015-03-27 15:41:01.599 INFO: [59]
>
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1258
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 2015-03-27 15:41:01.605 INFO: [59]
>
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().107
> Jingle : ON
> 2015-03-27 15:41:01.606 INFO: [59]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().533 XMPP
> (14cf9d26c04@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
>
> <<Dialing sucessful jigasi.log:>>
> ii jigasi 1.0-58
> amd64 Jitsi Gateway for SIP
> 15:58:51.412 WARNING: [2172]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().194 Requests
> are
> not secured by JID filter!
> 15:58:51.413 INFO: [2172]
> org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().209 Got dial
> request fromnumber -> 8839@222.44.11.237 room:
> abc@conference.meet.etalk.net
> 15:58:51.415 INFO: [2172]
> org.jitsi.jigasi.JvbConference.setXmppProvider().402
> 14cf9e2c815@callcontrol.meet.etalk.net will use
> ProtocolProviderServiceJabberImpl(14cf9e2c815@meet.etalk.net (Jabber))
> 15:58:51.514 INFO: [2173]
>
> impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1288
> Chosen TLS protocol and algorithm:
> Protocol: TLSv1.2
> Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
> 15:58:51.514 INFO: [2173]
>
> impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().106
> Jingle : ON
> 15:58:51.515 INFO: [2173]
> org.jitsi.jigasi.JvbConference.registrationStateChanged().441 XMPP
> (14cf9e2c815@callcontrol.meet.etalk.net): RegistrationStateChangeEvent[
> oldState=Unregistered; newState=RegistrationState=Registering;
> reasonCode=-1; reason=null]
> 15:58:51.521 SEVERE: [2173]
>
> service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().190
> An error occurred while executing
>
> RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent)
> of
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener@3a461b35
> java.lang.IllegalArgumentException: Connection cannot be anonymous
> at
> org.jivesoftware.smackx.packet.VCard.checkAuthenticated(VCard.java:602)
> at org.jivesoftware.smackx.packet.VCard.load(VCard.java:528)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.createAccountPhotoPresenceInterceptor(OperationSetPersistentPresenceJabberImpl.java:1829)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetPersistentPresenceJabberImpl.java:1075)
> at
>
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
> at
>
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
> at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
> 15:58:51.526 SEVERE: [2173]
>
> impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported().751
> Failed to retrieve carbon support.
> not-allowed(-1) Communication with remote domains is not enabled
> at
>
> org.jivesoftware.smackx.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:448)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:569)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ScServiceDiscoveryManager.discoverInfo(ScServiceDiscoveryManager.java:495)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.isCarbonSupported(OperationSetBasicInstantMessagingJabberImpl.java:745)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl.access$900(OperationSetBasicInstantMessagingJabberImpl.java:38)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.OperationSetBasicInstantMessagingJabberImpl$RegistrationStateListener.registrationStateChanged(OperationSetBasicInstantMessagingJabberImpl.java:642)
> at
>
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
> at
>
> net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1343)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:979)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:790)
> at
>
> net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:503)
> at org.jitsi.jigasi.RegisterThread.run(RegisterThread.java:38)
> 15:58:51.529 INFO: [2173]
> org.jitsi.jigasi.JvbConference.joinConferenceRoom().479 Joining JVB
> conference room: abc@conference.meet.etalk.net
> No VCard for 14cf9e2c815@meet.etalk.net
> 15:58:51.543 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/8d2061a0 has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.546 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member
> presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
>
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
>
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@9c5571]
> 15:58:51.548 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/c8cd11cf has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.548 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member
> presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
>
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
>
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@2297933]
> 15:58:51.549 INFO: [2178]
> impl.protocol.jabber.ChatRoomJabberImpl.joined().1121
> abc@conference.meet.etalk.net/focus has joined the
> abc@conference.meet.etalk.net chat room.
> 15:58:51.549 INFO: [2178]
> org.jitsi.jigasi.JvbConference.memberPresenceChanged().625 Member
> presence
> change: ChatRoomMemberPresenceChangeEvent[type=MemberJoined
>
> sourceRoom=net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl@661d3dd
>
> member=net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl@70d40460]
> 15:58:51.841 INFO: [2183]
> impl.protocol.jabber.IceUdpTransportManager.createIceAgent().173 Auto
> discovered harvester is null
> 15:58:53.922 INFO: [2183]
> impl.protocol.jabber.IceUdpTransportManager.createIceAgent().265 End
> gathering harvester within 2082 ms
> 15:58:54.170 INFO: [2183]
>
> impl.protocol.jabber.CallPeerMediaHandlerJabberImpl.harvestCandidates().1183
> End candidate harvest within 244 ms
> 15:58:54.170 WARNING: [2183]
>
> impl.protocol.jabber.IceUdpTransportManager.startConnectivityEstablishment().898
> No ICE media stream for media: video - ignored candidates.
> 15:58:54.172 INFO: [2183]
> org.jitsi.jigasi.JvbConference.incomingCallReceived().698 Got invite
> from
> focus
> 15:58:54.264 INFO: [401]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
> Dynamic PT map: 126=rtpmap:-1 telephone-event/8000; 116=rtpmap:-1
> red/90000;
> 111=rtpmap:-1 opus/48000/2 fmtp:minptime=10; 103=rtpmap:-1
> unknown/90000;
> 100=rtpmap:-1 VP8/90000; 117=rtpmap:-1 ulpfec/90000;
> 15:58:54.265 INFO: [401]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972
> PT
> overrides [103->105 ]
> 15:58:54.266 INFO: [401]
> service.protocol.media.CallPeerMediaHandler.start().1915 Starting
> 15:58:54.292 INFO: [401]
> org.jitsi.jigasi.JvbConference.onJvbCallStarted().575 JVB conference
> call
> IN_PROGRESS abc@conference.meet.etalk.net
> 15:58:54.298 INFO: [401]
>
> impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().184
> Creating outgoing call to sip:8839@222.44.11.237
> 15:58:54.301 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53
> and
> port 10029
> 15:58:54.302 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53
> and
> port 10030
> 15:58:54.302 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53
> and
> port 10031
> 15:58:54.303 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53
> and
> port 10032
> 15:58:54.303 INFO: [401]
> impl.netaddr.NetworkAddressManagerServiceImpl.createDatagramSocket().525
> Retrying a bind because of a failure to bind to address /61.152.148.53
> and
> port 10033
> 15:58:54.307 INFO: [401]
> org.jitsi.jigasi.GatewaySession.onConferenceCallStarted().356 Created
> outgoing call to 8839@222.44.11.237 Call: id=14301215342982097079840
> peers=1
> 15:58:54.307 INFO: [401]
> org.jitsi.jigasi.JvbConference.peerStateChanged().726
> 14cf9e2c815@callcontrol.meet.etalk.net JVB peer state:
> net.java.sip.communicator.service.protocol.CallPeerState:Connected
> 15:58:54.308 INFO: [401]
> org.jitsi.jigasi.JvbConference.advertisePeerSSRCs().166 Peer
> net.java.sip.communicator.service.protocol.CallPeerState:Connected SSRCs
> audio: 378261041 video: null
> 15:58:54.315 INFO: [2220]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connecting
> 15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Unable to
> handle
> format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> 15:58:54.375 SEVERE: [2255] net.sf.fmj.media.Log.error() Failed to
> prefetch:
> net.sf.fmj.media.ProcessEngine@291caff1
> 15:58:54.376 SEVERE: [2247] net.sf.fmj.media.Log.error() Error: Unable
> to
> prefetch net.sf.fmj.media.ProcessEngine@291caff1
>
> 15:58:54.434 INFO: [2268]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Alerting Remote
> User
> (Ringing)
> 15:58:56.651 INFO: [2269]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().955
> Dynamic PT map: 97=rtpmap:-1 iLBC/8000; 96=rtpmap:-1 opus/48000/2
> fmtp:useinbandfec=0;usedtx=1; 101=rtpmap:-1 telephone-event/8000;
> 15:58:56.651 INFO: [2269]
> service.protocol.media.MediaHandler.registerDynamicPTsWithStream().972
> PT
> overrides []
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.handleCallState().546 Sip call
> IN_PROGRESS:
> Call: id=14301215342982097079840 peers=1
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.handleCallState().554 SIP call format
> used:
> rtpmap:0 PCMU/8000
> 15:58:56.652 INFO: [2269]
> org.jitsi.jigasi.GatewaySession.peerStateChanged().618
> 14cf9e2c815@callcontrol.meet.etalk.net SIP peer state: Connected
> 15:58:56.653 INFO: [2269]
> service.protocol.media.CallPeerMediaHandler.start().1915 Starting
>
>
> Thanks and Best Regards
> Yanchong Wang
>
> _______________________________________________ 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