<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#20124d">use domain NAMES instead of IP'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"><<a href="mailto:ing.antonyam@gmail.com" target="_blank">ing.antonyam@gmail.com</a>></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>
> El 04/03/2015, a las 16:38, Sergey Okhapkin <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>> escribió:<br>
><br>
> Any pointers to mysql bug tracker? I don't see anything related there.<br>
><br>
>> On Wednesday 04 March 2015 17:26:09 Michael Jerris wrote:<br>
>> In general. We have seen tons of issues due to thread safety issues in the<br>
>> mysql odbc drivers.<br>
>>> On Mar 4, 2015, at 4:50 PM, Tony Bourdeaux <<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>> wrote:<br>
>>><br>
>>> Hi Michael-<br>
>>><br>
>>> have you had issues with MySql in general or in this type of<br>
>>> configuration? Just curious what types of issues?<br>
>>><br>
>>> On Wed, Mar 4, 2015 at 1:36 PM, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a><br>
>>> <mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>>> wrote: You can't do mysql native, but you can<br>
>>> over odbc. That being said we have seen a lot of issues of the years<br>
>>> with mysql in general so i wouldn't recommend that.><br>
>>>> On Mar 4, 2015, at 4:32 PM, Tony Bourdeaux <<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a><br>
>>>> <mailto:<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>>> wrote:<br>
>>>><br>
>>>> yes- you can use PostgreSQL or ODBC for MySQL. Each server must connect<br>
>>>> to the same db server or cluster.<br>
>>>><br>
>>>> On Wed, Mar 4, 2015 at 12:56 PM, Sergey Safarov <<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a><br>
>>>> <mailto:<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>>> wrote: Tony is required configure<br>
>>>> "PostgreSQL in the core" for FS cluster in Active-Active mode? It is<br>
>>>> work?<br>
>>>><br>
>>>> On Wed, Mar 4, 2015 at 9:02 PM, Tony Bourdeaux <<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a><br>
>>>> <mailto:<a href="mailto:tony@intelecenter.com">tony@intelecenter.com</a>>> wrote: You can enable multiple domains<br>
>>>> on each Freeswitch instance following these instructions:<br>
>>>><br>
>>>> <a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" target="_blank">https://wiki.freeswitch.org/wiki/Multiple_Companies</a><br>
>>>> <<a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" target="_blank">https://wiki.freeswitch.org/wiki/Multiple_Companies</a>><br>
>>>><br>
>>>> Then use domain names for your user directories rather than IP.<br>
>>>><br>
>>>> You can load balance between your Freeswitch servers using Opensips or<br>
>>>> Kamailio or you can use DNS. You need a shared registration database<br>
>>>> with this type of setup so each Freeswitch can route calls to registered<br>
>>>> endpoints.<br>
>>>><br>
>>>> Thanks.<br>
>>>><br>
>>>> Tony Bourdeaux<br>
>>>><br>
>>>> On Wed, Mar 4, 2015 at 9:40 AM, Antony Aguirre Morales<br>
>>>> <<a href="mailto:ing.antonyam@gmail.com">ing.antonyam@gmail.com</a> <mailto:<a href="mailto:ing.antonyam@gmail.com">ing.antonyam@gmail.com</a>>> wrote: Hi<br>
>>>><br>
>>>><br>
>>>> I have 1 freeswitch xml_curl directory configured and working properly ,<br>
>>>> now I want to add another freeswitch and see the same BD for the 2 fs .<br>
>>>><br>
>>>> The problem I have is that the same management extensions in the 2<br>
>>>> freeswitch but they are 2 different ips , how can I do so that you can<br>
>>>> see the same directory without the problem domain .<br>
>>>><br>
>>>> Anyone have an idea?<br>
>>>><br>
>>>> example<br>
>>>><br>
>>>> fs1 -> domain 1.1.1.1<br>
>>>> fs2 -> domain 1.1.1.2<br>
>>>><br>
>>>> Have in common the extension 1000 but I can now register with a single<br>
>>>> domain either that of the fs1 and fs2 .<br>
>>>><br>
>>>> regards.<br>
>>>> r<br>
>>>><br>
>>>> _________________________________________________________________________<br>
>>>> Professional FreeSWITCH Consulting Services:<br>
>>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
>>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> <<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> <<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> <<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> <<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>
>>>> <mailto:<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>
>>>> <<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://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> <<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> <mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>><br>
>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a> <<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> <<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> <<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> <<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>
>>> <mailto:<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>
>>> <<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://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> <<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><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">"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."</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>