[Freeswitch-users] mod_callcenter with Active/Backup Freeswitch servers using a shared mysql database

Ira Tessler ira at connectmevoice.com
Mon Apr 15 22:12:43 MSD 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130415/d8fe9dd0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list