[Freeswitch-users] Voicemail on GlusterFS

Kris kris at livecall.com
Wed Mar 23 10:26:17 MSK 2011


I have noticed that FS has a bug in playback and record APIs where it will 
fail if there are only 2 slashes in front of the server.
This is what I have to do to get it to work- add a third slash.  Something 
to try...hope it helps

string filename = VoiceMessage.ConferenceRecordingFilename(ForumExt, 
ConferenceUUID);

if (filename.StartsWith("\\\\"))//server path

filename = "\\" + filename;//fs expects 3 slashes for some reason..while 
dealing with them only 1 is left

string msg=fsApi.Execute("conference", ConferenceName + " record " + 
filename);



Kris

----- Original Message ----- 
From: "Dan Lane" <null at invalid.name>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Tuesday, March 22, 2011 10:42 AM
Subject: Re: [Freeswitch-users] Voicemail on GlusterFS


On Tue, Mar 22, 2011 at 3:55 PM, Moe Navid <manavid at gmail.com> wrote:
> Hi All,
> Has anyone tried using voicemail on GlusterFS?
> GlusteFS looks very promising for building distributed file systems. 
> Pandora
> Radio recently started using
> glusterfs 
> http://www.gluster.com/2011/01/05/gluster-to-help-manage-rapid-data-growth-for-pandora/
> I managed to get the recording right for voicemails but retrieving the WAV
> files fails. FreeSWITCH gives the following error:
> 2011-03-22 08:54:06.325001 [ERR] mod_sndfile.c:194 Error Opening File
> [/home/moe/freeswitch/storage/voicemail/default/192.168.1.10/1001/msg_02a108cc-549c-11e0-a9f6-9f1a6f4da0f7.wav]
> [File contains data in an unknown format.]
> Any thoughts?
> Thanks
> Moe

We've been using GlusterFS for storing voicemail in a production
environment for over a year now but we built a custom voicemail
solution rather than using the built-in one.

We didn't experience the issue you're referring to so I'm afraid I
can't offer any assistance.






More information about the FreeSWITCH-users mailing list