<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>Here's my situation. I have 4 FreeSWITCH Servers and I need to create users across all the servers dynamically using an App built for Android/IOS. <br><br>Here's the approach I'm taking, please tell me if I'm on the correct path:<br>- Install OpenSIPS as a SIP proxy with MySQL<br>- Install another OpenSIPS server with MySQL and setup master/master mode for MySQL<br>- Configure FreeSWITCH to send/receive calls from both OpenSIPS servers<br><br>Please can someone suggest If my approach is incorrect and any help on the questions below would be appreciated.<br><br>- Should I add users to OpenSIPS MySQL database on the fly? - sample code would be helpful<br>- How will FreeSWITCH know about the users?<br>- Would it be better to use ESL or send a chunk of xml code to add the users?<br>- use PHP to write to add the users to the XML directory then send a reload xml?<br>- How is the connection between OpenSIPS and FreeSWITCH made to look up users or they users are found using OpenSIPS sip signaling but the media is relay via FreeSWITCH<br><br>Any help would be welcomed and thanks in advance for talking the time to read<br><br>                                            </div></body>
</html>