Alright. So, I modified the configs to use focus component of the domain2 for which I am trying to dial-in. It seems to be working now. But, now, the similar issue (as above) will happen for my domain1 (vHost1) on the same VM, because, now it is using focus of vHost2 and not vHost1.
I am not sure, if this is a bug or I am doing something wrong. But, it will be great if you can let me know what focus we should be using for multiple vHosts configuration.
In jicofo config file, we set and fix HOSTNAME. What should we set for multiple vHosts? can we have two separate config files for jicofo?
# Jitsi Conference Focus settings
# sets the host name of the XMPP server
# sets the XMPP domain (default: none)
# sets the secret used to authenticate as an XMPP component
# sets the port to use for the XMPP component connection
# sets the XMPP domain name to use for XMPP user logins
# sets the username to use for XMPP user logins
# sets the password to use for XMPP user logins
# extra options to pass to the jicofo daemon
# adds java system props that are passed to jicofo (default are for home and logging config file)
JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/jicofo/logging.properties"
I read here that @saghul mentioned we can share internal auth, but how about domains? How to configure both?