[Freeswitch-users] Help with mod xml_curl
Ing. Antonyam
ing.antonyam at gmail.com
Thu Mar 5 03:48:29 MSK 2015
Ok, tell them a little bit of architecture.
I have 2 fs, these contain this configuration:
- Core in DB
- Directory in DB [XML_CURL]
-dialplan [static from native fs]
- Configure [static from native fs]
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.
In Part directory [XML_CURL] in the database have discharged 2 domains [ip] of freeswitch
+ ---- + ---------------- +
| Id | domain_name |
+ ---- + ---------------- +
| 1 | 1.1.1.1 |
| 2 | 1.1.1.2 |
and table is linked users
+ ---- + -------------- + ----------- + ------- +
| Id | username | domain_id | cache |
+ ---- + -------------- + ----------- + ------- +
| 1 | 1000ip | 1 | 0 |
+ ---- + -------------- + ----------- + ------- +
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.
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.
Enviado desde mi iPhone
> El 04/03/2015, a las 16:38, Sergey Okhapkin <sos at sokhapkin.dyndns.org> escribió:
>
> Any pointers to mysql bug tracker? I don't see anything related there.
>
>> On Wednesday 04 March 2015 17:26:09 Michael Jerris wrote:
>> In general. We have seen tons of issues due to thread safety issues in the
>> mysql odbc drivers.
>>> On Mar 4, 2015, at 4:50 PM, Tony Bourdeaux <tony at intelecenter.com> wrote:
>>>
>>> Hi Michael-
>>>
>>> have you had issues with MySql in general or in this type of
>>> configuration? Just curious what types of issues?
>>>
>>> On Wed, Mar 4, 2015 at 1:36 PM, Michael Jerris <mike at jerris.com
>>> <mailto:mike at jerris.com>> wrote: You can't do mysql native, but you can
>>> over odbc. That being said we have seen a lot of issues of the years
>>> with mysql in general so i wouldn't recommend that.>
>>>> On Mar 4, 2015, at 4:32 PM, Tony Bourdeaux <tony at intelecenter.com
>>>> <mailto:tony at intelecenter.com>> wrote:
>>>>
>>>> yes- you can use PostgreSQL or ODBC for MySQL. Each server must connect
>>>> to the same db server or cluster.
>>>>
>>>> On Wed, Mar 4, 2015 at 12:56 PM, Sergey Safarov <s.safarov at gmail.com
>>>> <mailto:s.safarov at gmail.com>> wrote: Tony is required configure
>>>> "PostgreSQL in the core" for FS cluster in Active-Active mode? It is
>>>> work?
>>>>
>>>> On Wed, Mar 4, 2015 at 9:02 PM, Tony Bourdeaux <tony at intelecenter.com
>>>> <mailto:tony at intelecenter.com>> wrote: You can enable multiple domains
>>>> on each Freeswitch instance following these instructions:
>>>>
>>>> https://wiki.freeswitch.org/wiki/Multiple_Companies
>>>> <https://wiki.freeswitch.org/wiki/Multiple_Companies>
>>>>
>>>> Then use domain names for your user directories rather than IP.
>>>>
>>>> You can load balance between your Freeswitch servers using Opensips or
>>>> Kamailio or you can use DNS. You need a shared registration database
>>>> with this type of setup so each Freeswitch can route calls to registered
>>>> endpoints.
>>>>
>>>> Thanks.
>>>>
>>>> Tony Bourdeaux
>>>>
>>>> On Wed, Mar 4, 2015 at 9:40 AM, Antony Aguirre Morales
>>>> <ing.antonyam at gmail.com <mailto:ing.antonyam at gmail.com>> wrote: Hi
>>>>
>>>>
>>>> I have 1 freeswitch xml_curl directory configured and working properly ,
>>>> now I want to add another freeswitch and see the same BD for the 2 fs .
>>>>
>>>> The problem I have is that the same management extensions in the 2
>>>> freeswitch but they are 2 different ips , how can I do so that you can
>>>> see the same directory without the problem domain .
>>>>
>>>> Anyone have an idea?
>>>>
>>>> example
>>>>
>>>> fs1 -> domain 1.1.1.1
>>>> fs2 -> domain 1.1.1.2
>>>>
>>>> Have in common the extension 1000 but I can now register with a single
>>>> domain either that of the fs1 and fs2 .
>>>>
>>>> regards.
>>>> r
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list