[Freeswitch-users] Voicemail on GlusterFS

Anthony Minessale anthony.minessale at gmail.com
Fri Mar 25 22:42:56 MSK 2011


not a bug \ is an escape character and you need 2 to imply 1 \\ will
reduce to \ by the parser.


On Wed, Mar 23, 2011 at 2:26 AM, Kris <kris at livecall.com> wrote:
> 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.
>
>
>
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list