<div dir="ltr"><div><span style="font-size:12.8000001907349px">Hi,</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> </span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Now, I have a freeswitch server and xml_curl are working correctly. I would like add a second freeswitch server but this second freeswitch (FS) should make the queries to the DB which are linked with the first freeswitch. How can I configure both FS for making the queries to the same DB or I have to configure DB for multiple domanins? </span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><div style="font-size:12.8000001907349px">FS1 -> 192.168.15.1</div><div style="font-size:12.8000001907349px">FS2 -> 192.168.15.2</div><div style="font-size:12.8000001907349px">BD xml_curl -> 192.168.15.3</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">extension en xml_curl :</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><document type="freeswitch/xml"></div><div style="margin-left:1em;color:rgb(0,0,0);font-family:monospace;font-size:13px"><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><section name="directory" description="FreeSWITCH Directory"></div><div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><domain name="192.168.15.1"></div><div style="margin-left:1em"><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><params></div><div style="margin-left:1em"><div><param name="default_gateway" value="errors"/></div><div><param name="dial-string" value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/></div></div><div></params></div></div><div><variables/></div><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><groups></div><div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><group name="default"></div><div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><users></div><div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><user id="<span style="white-space:pre-wrap">12345678ip</span>" cacheable="0" mailbox="<span style="white-space:pre-wrap">12345678ip</span>"></div><div style="margin-left:1em"><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><params></div><div style="margin-left:1em"><div><param name="password" value="6389"/></div><div><param name="vm-password" value="<span style="white-space:pre-wrap">12345678ip</span>"/></div><div><param name="register" value="true"/></div></div><div></params></div></div><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><variables></div><div style="margin-left:1em"><div><variable name="accountcode" value="<span style="white-space:pre-wrap">12345678ip</span>"/></div><div><variable name="user_context" value="default"/></div><div><variable name="effective_caller_id_name" value="Extension<span style="white-space:pre-wrap">12345678ip</span>"/></div><div><variable name="effective_caller_id_number" value="<span style="white-space:pre-wrap">12345678ip</span>"/></div></div><div></variables></div></div><div><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><gateways></div><div style="margin-left:1em"><div><span style="display:inline-block;width:10px;vertical-align:bottom;min-height:10px;background-repeat:no-repeat"></span><gateway name="<span style="white-space:pre-wrap">12345678ip</span>"></div><div style="margin-left:1em"><div><param name="username" value="<span style="white-space:pre-wrap">12345678ip</span>"/></div><div><param name="from-user" value="<span style="white-space:pre-wrap">12345678ip</span>"/></div><div><param name="from-domain" value="empresa1"/></div><div><param name="password" value="6389"/></div><div><param name="extension-in-contact" value="true"/></div><div><param name="proxy" value="0.0.0.0"/></div><div><param name="register-proxy" value="0.0.0.0"/></div><div><param name="register-transport" value="udp"/></div><div><param name="caller-id-in-from" value="true"/></div></div><div></gateway></div></div><div></gateways></div></div></div><div></user></div></div><div></users></div></div><div></group></div></div><div></groups></div></div></div><div></domain></div></div><div></section></div></div><div><span style="white-space:pre-wrap"><!-- User is 12345678ip --></span></div><div><span style="white-space:pre-wrap"><!-- user id is: 1 --></span></div><div><span style="white-space:pre-wrap"><!-- Total # of Queries Run: 16 --></span></div><div><span style="white-space:pre-wrap"><!-- Estimated Execution Time Is: 0.0039031505584717 --></span></div></div><div style="color:rgb(0,0,0);font-family:monospace;font-size:13px"></document></div></div></div>
</div>