[Freeswitch-users] mod_callcenter with Active/Backup Freeswitch servers using a shared mysql database
Steven Ayre
steveayre at gmail.com
Tue Apr 16 02:20:57 MSD 2013
There will be background stuff being processed by fs2... Which probably won't be limited to callcenter, it may affect registrations limit etc too if the hostname is the same and perhaps other stuff even if they're not.
Are you perhaps able to have FreeSWITCH not running on fs2 and only start it during failover? Solutions like heartbeat/pacemaker could give you that ability.
Steve
On 15 Apr 2013, at 19:12, Ira Tessler <ira at connectmevoice.com> wrote:
> Configuration:
> Server: FS1 - Active server. All calls come into this server. All phones register to this server.
> Server: FS2 - Backup Server. Is online just in in case FS1 fails. If FS1 fails, all calls get routed to FS2 (by my SBC)
>
> Both FS1 & FS2 share a mysql database for core, all sofia profiles and mod_call center.
>
> The problem I am having is with mod_callcenter. When a call comes into FS1 and FS2 Freeswitch process is down, all works as expected when I call the call center application.
>
> When FS2 is online as well as FS1 it looks like FS2 is processing data in the members table(I'm guessing) and I get this log entries:
>
> 2013-04-15 13:32:40.225033 [DEBUG] mod_callcenter.c:1045 Updated Agent agent701 at 22555.sbc.cmvtesttele.com set state = Receiving
> 2013-04-15 13:32:40.225033 [ERR] mod_callcenter.c:1399 Member CONNECTME <+17324909007> with uuid 71b3beea-a5f2-11e2-9143-7dbd0c2f58e6 in queue mySbcQueue1 at 22555.sbc.cmvtesttele.com is gone just before we assigned an agent
> 2013-04-15 13:32:40.225033 [DEBUG] mod_callcenter.c:1045 Updated Agent agent701 at 22555.sbc.cmvtesttele.com set state = Waiting
>
> Since FS1 is the "live" server, I don't want FS2 to process call center calls. I want FS1 and FS2 to share the call center data in order have one copy of the agent and tier data for redundancy and so I don't have to worry about syncing multiple call center database.
>
> Before I post a Jira, I wanted to see if I am doing some wrong, or the other question does mod_callcenter have the capability or is it designed to work in this configuration? If not, anyhow have any alternative solutions?
>
> Thanks!
>
> Ira Tessler
> Lead Software Engineer
> ConnectMe
> (732) 490-9007 x2
> ira at connectmevoice.com
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130415/6127d1f5/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list