<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#20124d">use domain NAMES instead of IP&#39;s</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 4:48 PM, Ing. Antonyam <span dir="ltr">&lt;<a href="mailto:ing.antonyam@gmail.com" target="_blank">ing.antonyam@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, tell them a little bit of architecture.<br>
<br>
I have 2 fs, these contain this configuration:<br>
<br>
- Core in DB<br>
- Directory in DB [XML_CURL]<br>
-dialplan [static from native fs]<br>
- Configure [static from native fs]<br>
<br>
I have set my opensips with the modules load balancer and dispatcher in are discharged 2 freeswitch and sends the requests according to the balancer.<br>
<br>
In Part directory [XML_CURL] in the database have discharged 2 domains [ip] of freeswitch<br>
<br>
+ ---- + ---------------- +<br>
| Id | domain_name |<br>
+ ---- + ---------------- +<br>
| 1 | 1.1.1.1 |<br>
| 2 | 1.1.1.2 |<br>
<br>
and table is linked users<br>
<br>
+ ---- + -------------- + ----------- + ------- +<br>
| Id | username | domain_id | cache |<br>
+ ---- + -------------- + ----------- + ------- +<br>
| 1 | 1000ip | 1 | 0 |<br>
+ ---- + -------------- + ----------- + ------- +<br>
<br>
I currently connect to the ip of opensips [1.1.1.3] and which is responsible for sending the register to fs, but if the register reaches fs having ip 1.1.1.2 states that there is no extension to that domain, because that user is linked to in the above table 1 in the ip id 1.1.1.1.<br>
<br>
my question is how can I make the extension or username created this not tied to a single domain if no reply to either of 2 fs.<br>
<br>
Enviado desde mi iPhone<br>
<br>
&gt; El 04/03/2015, a las 16:38, Sergey Okhapkin &lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt; escribió:<br>
&gt;<br>
&gt; Any pointers to mysql bug tracker? I don&#39;t see anything related there.<br>
&gt;<br>
&gt;&gt; On Wednesday 04 March 2015 17:26:09 Michael Jerris wrote:<br>
&gt;&gt; In general.  We have seen tons of issues due to thread safety issues in the<br>
&gt;&gt; mysql odbc drivers.<br>
&gt;&gt;&gt; On Mar 4, 2015, at 4:50 PM, Tony Bourdeaux &lt;<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Michael-<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; have you had issues with MySql in general or in this type of<br>
&gt;&gt;&gt; configuration? Just curious what types of issues?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Mar 4, 2015 at 1:36 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;&gt; wrote: You can&#39;t do mysql native, but you can<br>
&gt;&gt;&gt; over odbc.  That being said we have seen a lot of issues of the years<br>
&gt;&gt;&gt; with mysql in general so i wouldn&#39;t recommend that.&gt;<br>
&gt;&gt;&gt;&gt; On Mar 4, 2015, at 4:32 PM, Tony Bourdeaux &lt;<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a><br>
&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; yes- you can use PostgreSQL or ODBC for MySQL.  Each server must connect<br>
&gt;&gt;&gt;&gt; to the same db server or cluster.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Mar 4, 2015 at 12:56 PM, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a><br>
&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>&gt;&gt; wrote: Tony is required configure<br>
&gt;&gt;&gt;&gt; &quot;PostgreSQL in the core&quot; for FS cluster in Active-Active mode? It is<br>
&gt;&gt;&gt;&gt; work?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Mar 4, 2015 at 9:02 PM, Tony Bourdeaux &lt;<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a><br>
&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>&gt;&gt; wrote: You can enable multiple domains<br>
&gt;&gt;&gt;&gt; on each Freeswitch instance following these instructions:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; <a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" target="_blank">https://wiki.freeswitch.org/wiki/Multiple_Companies</a><br>
&gt;&gt;&gt;&gt; &lt;<a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" target="_blank">https://wiki.freeswitch.org/wiki/Multiple_Companies</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Then use domain names for your user directories rather than IP.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; You can load balance between your Freeswitch servers using Opensips or<br>
&gt;&gt;&gt;&gt; Kamailio or you can use DNS. You need a shared registration database<br>
&gt;&gt;&gt;&gt; with this type of setup so each Freeswitch can route calls to registered<br>
&gt;&gt;&gt;&gt; endpoints.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Tony Bourdeaux<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Mar 4, 2015 at 9:40 AM, Antony Aguirre Morales<br>
&gt;&gt;&gt;&gt; &lt;<a href="mailto:ing.antonyam@gmail.com">ing.antonyam@gmail.com</a> &lt;mailto:<a href="mailto:ing.antonyam@gmail.com">ing.antonyam@gmail.com</a>&gt;&gt; wrote: Hi<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have 1 freeswitch xml_curl directory configured and working properly ,<br>
&gt;&gt;&gt;&gt; now I want to add another freeswitch and see the same BD for the 2 fs .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The problem I have is that the same management extensions in the 2<br>
&gt;&gt;&gt;&gt; freeswitch but they are 2 different ips , how can I do so that you can<br>
&gt;&gt;&gt;&gt; see the same directory without the problem domain .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Anyone have an idea?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; example<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; fs1 -&gt; domain 1.1.1.1<br>
&gt;&gt;&gt;&gt; fs2 -&gt; domain 1.1.1.2<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Have in common the extension 1000 but I can now register with a single<br>
&gt;&gt;&gt;&gt; domain either that of the fs1 and fs2 .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; regards.<br>
&gt;&gt;&gt;&gt; r<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _________________________________________________________________________<br>
&gt;&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com/</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a> &lt;<a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org/</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt;&gt; &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt;&gt; &lt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>&gt;<br>
&gt;&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt;&gt; &lt;<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _________________________________________________________________________<br>
&gt;&gt;&gt; Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt;&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com/</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;&gt;&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a> &lt;<a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.org/</a>&gt;<br>
&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt; &lt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>&gt;<br>
&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; &lt;<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>&gt;<br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a>&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><a name="SafeHtmlFilter__MailAutoSig"><span><font size="3" face="verdana, sans-serif">Tony
Bourdeaux</font></span></a></p><p style="margin:0in 0in 0pt"><a name="SafeHtmlFilter__MailAutoSig"><span><font face="verdana, sans-serif" size="1" color="#0000ff"><b>Intelecenter, LLC</b></font></span></a></p><font size="3" face="verdana, sans-serif">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">ph: 805-428-3031<span></span><span></span></font></span></span></p><font face="verdana, sans-serif" size="1">

</font><p style="margin:0in 0in 0pt"><span><span><font face="verdana, sans-serif" size="1">Skype: tony.bourdeaux</font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">
 
 
  
  
  
  
  
  
  
  
  
  
  
  
 
 
 
</font></font><font size="3"><font face="Calibri">
 
</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3"><font face="Calibri">&quot;This message and any attachments are solely for the
intended recipient and may contain confidential or privileged information. If
you are not the intended recipient, any disclosure, copying, use, or
distribution of the information included in this message and any attachments is
prohibited. If you have received this communication in error, please notify me
by reply e-mail and immediately and permanently delete this message and any
attachments.&quot;</font></font></span></span></p><font size="3" face="Times New Roman">

</font><p style="margin:0in 0in 0pt"><span><span><font size="3" face="Calibri"> </font></span></span></p><font size="3" face="Times New Roman">

</font></div></div>
</div>