This is highly specific to your environment. I’m afraid that there’s no one-size-fits-all solution. There are some suggestions being presented here: Preparing Openfire for Audio/Video calls with Conversations Without more specific data, it’s hard to predict why things are not working for you.