Re: [Freeswitch-users] Voicemail Question (using multiple servers)
Thank you Bill for the input, but changing how I access the data source does not solve my problem. I was hoping to avoid the management of IP Addresses for every voicemail box on the system. Is there a way for me to set a default greeting to all voicemail boxes globally, without having to go to a repository (regardless of means of access) for each mailbox? ---------- Forwarded message ---------- From: "Bill W." <freeswitch@aastral.net> To: freeswitch-users@lists.freeswitch.org Date: Wed, 30 Dec 2009 23:06:09 -0500 Subject: Re: [Freeswitch-users] Voicemail Question (using multiple servers) Hey VM, Couldn't you just have your core use ODBC instead of SQLite? http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core -Bill W VM Knott wrote:
I am attempting to use multiple FreeSWITCH servers to share a common collection of voicemail boxes. Everything is working great, except for when it comes to managing the custom greetings within the individual voicemail boxes.
As I understand it, when creating a custom greeting within a voicemail box, a record is stored in the voicemail_default.db file located in the ../freeswitch/db directory (which allows FS to know where to retrieve the greeting message). My original plan was to link (NFS) the remote servers to the directory to reference this file, and keep the custom greetings in an additional shared directory location (again, all of this working great so far).
voicemail_prefs cols: username, domain, name_path, greeting_path, password
Unfortunately, the record that is inserted into this file includes an IP address (domain) of the FS server handling the call. This complicates things if I am “hot swapping” FS servers in and out of the server cluster. Each time I add a server to the cluster, I will have to have a process go into this file and replicate all of the records for each mailbox account, to account for the specific server ip address. Seems awkward.
Am I approaching this wrong? i.e., is there a way to by pass this voicemail_prefs table? or would I have to dig into the mod_voicemail.c source code and customize it?
- VMK
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
use a real domain instead of IP might work. On Thu, Dec 31, 2009 at 4:03 PM, VM Knott <vmknott@gmail.com> wrote:
Thank you Bill for the input, but changing how I access the data source does not solve my problem. I was hoping to avoid the management of IP Addresses for every voicemail box on the system.
Is there a way for me to set a default greeting to all voicemail boxes globally, without having to go to a repository (regardless of means of access) for each mailbox?
---------- Forwarded message ---------- From: "Bill W." <freeswitch@aastral.net> To: freeswitch-users@lists.freeswitch.org Date: Wed, 30 Dec 2009 23:06:09 -0500 Subject: Re: [Freeswitch-users] Voicemail Question (using multiple servers) Hey VM,
Couldn't you just have your core use ODBC instead of SQLite?
http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core
-Bill W
VM Knott wrote:
I am attempting to use multiple FreeSWITCH servers to share a common collection of voicemail boxes. Everything is working great, except for when it comes to managing the custom greetings within the individual voicemail boxes.
As I understand it, when creating a custom greeting within a voicemail box, a record is stored in the voicemail_default.db file located in the ../freeswitch/db directory (which allows FS to know where to retrieve the greeting message). My original plan was to link (NFS) the remote servers to the directory to reference this file, and keep the custom greetings in an additional shared directory location (again, all of this working great so far).
voicemail_prefs cols: username, domain, name_path, greeting_path, password
Unfortunately, the record that is inserted into this file includes an IP address (domain) of the FS server handling the call. This complicates things if I am “hot swapping” FS servers in and out of the server cluster. Each time I add a server to the cluster, I will have to have a process go into this file and replicate all of the records for each mailbox account, to account for the specific server ip address. Seems awkward.
Am I approaching this wrong? i.e., is there a way to by pass this voicemail_prefs table? or would I have to dig into the mod_voicemail.c source code and customize it?
- VMK
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
So is the problem that you're having to replicate the voicemail database across switches in the cluster or is the problem the content of the entries in voicemail database? Because in your original post you're speaking of trying to share the voicemail db over NFS. Thanks, Bill VM Knott wrote:
Thank you Bill for the input, but changing how I access the data source does not solve my problem. I was hoping to avoid the management of IP Addresses for every voicemail box on the system.
Is there a way for me to set a default greeting to all voicemail boxes globally, without having to go to a repository (regardless of means of access) for each mailbox?
participants (3)
-
Anthony Minessale
-
Bill W.
-
VM Knott