[jitsi-users] JIGASI and JICOFO with Secure domain


#1

Hello, maybe you can helpme with this situation:

I've configured JIGASI to perform the bridge between Jitsi and a external Asterisk. This works well.

Then, I configured JICOFO as is described here https://github.com/jitsi/jicofo#secure-domain (only allow the conference creation to authenticated users) and all is still working but the calls to SIP.

This is all the information shown in the log. Looks like the callcontrol.jitsi.mycompanydomain.com is not ablo to registering anymore:

==> /var/log/jitsi/jigasi.log <==
2016-06-03 17:02:46.675 WARNING: [72] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().230 Requests are not secured by JID filter!
2016-06-03 17:02:46.675 INFO: [72] org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().245 Got dial request fromnumber -> 800 room: mischievouspeoplepursueloudly
2016-06-03 17:02:46.677 INFO: [72] org.jitsi.jigasi.JvbConference.setXmppProvider().505 15517379593@callcontrol.jitsi.mycompanydomain.com will use ProtocolProviderServiceJabberImpl(800@jitsi.mycompanydomain.com (Jabber))
2016-06-03 17:02:46.781 INFO: [170] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259 Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:46.782 INFO: [170] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118 Jingle : ON
2016-06-03 17:02:46.782 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171a4d17@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171a77fd@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171aca4a@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171c1b76@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (15517354e88@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; rehttp://pastebin.com/EkeMSKD6ason=null]
2016-06-03 17:02:46.783 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (15517379593@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.037 INFO: [170] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259 Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:47.038 INFO: [170] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118 Jingle : ON
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171a4d17@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171a77fd@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171aca4a@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (155171c1b76@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (15517354e88@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170] org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP (15517379593@callcontrol.jitsi.mycompanydomain.com): RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; reasonCode=-1; reason=null]

This is the current prosody server configuration: http://pastebin.com/EkeMSKD6

Can you provide me some kind of information about what I'm doing it badly?

Thanks in advance.


#2

Hi,

You can configure Jigasi to use authenticated user:
https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L55

Regards
damencho

···

On Fri, Jun 3, 2016 at 12:11 PM, psaavedra <psaavedra@igalia.com> wrote:

Hello, maybe you can helpme with this situation:

I've configured JIGASI to perform the bridge between Jitsi and a external
Asterisk. This works well.

Then, I configured JICOFO as is described here
https://github.com/jitsi/jicofo#secure-domain (only allow the conference
creation to authenticated users) and all is still working but the calls to
SIP.

This is all the information shown in the log. Looks like the
callcontrol.jitsi.mycompanydomain.com is not ablo to registering anymore:

==> /var/log/jitsi/jigasi.log <==
2016-06-03 17:02:46.675 WARNING: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().230 Requests are
not secured by JID filter!
2016-06-03 17:02:46.675 INFO: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().245 Got dial
request fromnumber -> 800 room: mischievouspeoplepursueloudly
2016-06-03 17:02:46.677 INFO: [72]
org.jitsi.jigasi.JvbConference.setXmppProvider().505
15517379593@callcontrol.jitsi.mycompanydomain.com will use
ProtocolProviderServiceJabberImpl(800@jitsi.mycompanydomain.com (Jabber))
2016-06-03 17:02:46.781 INFO: [170]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:46.782 INFO: [170]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a4d17@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a77fd@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171aca4a@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171c1b76@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517354e88@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1;
rehttp://pastebin.com/EkeMSKD6ason=null]
2016-06-03 17:02:46.783 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517379593@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.037 INFO: [170]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:47.038 INFO: [170]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a4d17@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a77fd@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171aca4a@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171c1b76@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517354e88@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517379593@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]

This is the current prosody server configuration:
http://pastebin.com/EkeMSKD6

Can you provide me some kind of information about what I'm doing it badly?

Thanks in advance.

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


#3

Thanks!. Works for me.

···

On 2016-06-03 19:15, Damian Minkov wrote:

Hi,

You can configure Jigasi to use authenticated user:
https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L55

Regards
damencho

On Fri, Jun 3, 2016 at 12:11 PM, psaavedra <psaavedra@igalia.com> > wrote:

Hello, maybe you can helpme with this situation:

I've configured JIGASI to perform the bridge between Jitsi and a external
Asterisk. This works well.

Then, I configured JICOFO as is described here
https://github.com/jitsi/jicofo#secure-domain (only allow the conference
creation to authenticated users) and all is still working but the calls to
SIP.

This is all the information shown in the log. Looks like the
callcontrol.jitsi.mycompanydomain.com is not ablo to registering anymore:

==> /var/log/jitsi/jigasi.log <==
2016-06-03 17:02:46.675 WARNING: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().230 Requests are
not secured by JID filter!
2016-06-03 17:02:46.675 INFO: [72]
org.jitsi.jigasi.xmpp.CallControlComponent.handleIQSet().245 Got dial
request fromnumber -> 800 room: mischievouspeoplepursueloudly
2016-06-03 17:02:46.677 INFO: [72]
org.jitsi.jigasi.JvbConference.setXmppProvider().505
15517379593@callcontrol.jitsi.mycompanydomain.com will use
ProtocolProviderServiceJabberImpl(800@jitsi.mycompanydomain.com (Jabber))
2016-06-03 17:02:46.781 INFO: [170]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:46.782 INFO: [170]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a4d17@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a77fd@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171aca4a@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171c1b76@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:46.782 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517354e88@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1;
rehttp://pastebin.com/EkeMSKD6ason=null]
2016-06-03 17:02:46.783 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517379593@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.037 INFO: [170]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1259
Chosen TLS protocol and algorithm:
Protocol: TLSv1.2
Cipher suite: TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
2016-06-03 17:02:47.038 INFO: [170]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().118
Jingle : ON
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a4d17@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171a77fd@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171aca4a@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(155171c1b76@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517354e88@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]
2016-06-03 17:02:47.038 INFO: [170]
org.jitsi.jigasi.JvbConference.registrationStateChanged().544 XMPP
(15517379593@callcontrol.jitsi.mycompanydomain.com):
RegistrationStateChangeEvent[ oldState=Unregistered;
newState=RegistrationState=Registering; reasonCode=-1; reason=null]

This is the current prosody server configuration:
http://pastebin.com/EkeMSKD6

Can you provide me some kind of information about what I'm doing it badly?

Thanks in advance.

_______________________________________________
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