<div class="forum-post-content">
        <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Dear All, <br></p><p>using the following link:-</p><p><br></p><p><a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a><br>
</p>
<p>I have successfully integrated Asterisk and Kamailio on the same box 
for testing, but am now facing the problem of getting Freepbx to use the
 same MySQL database tables.</p>
<p>My Kamailio and Asterisk install uses the following tables:-</p>
<p>sipusers<br>
sipregs<br>
voicemail<br>
voicemail_data<br>
voicemail_messages</p>
<p>However Freepbx uses the following tables.</p>
<p>devices <br>
users</p>
<p>Any idea on how I fully integrate Freepbx with my Asterisk and Kamailio configuration using Mysql?</p>
<p>My goal is to have a Kamailio LB to multiple Asterisk/Freepbx servers sharing the same extension and voicemail databases.</p>
<p>I will also probably integrate a2billing and share the a2billing 
database between the Asterisk/Freepbx servers to create a fully scalable
 solution.</p>
<p>Any advice most gratefully received.</p>
</div></div></div>      </div>