Error on Call Recording - Windows, FS V1.2.4
Hi Everyone, Just a minor one here I'm checking on. Running the latest release of Freeswitch V1.2.4 (on Windows Server 2008R2, yes I know!) and running through some tests with our system that uses Lua scripts to request actions from the Server. Whilst recording calls I'm getting the following error, the call recording files is still created (or appended to if I choose to call this). 2012-11-19 11:29:22.666979 [ERR] switch_ivr_async.c:1840 Error finding the folder path section in 'C:\FreeSwitch\recordings\RobsTESTRecording5762fadd-7b5-8abf-e61cb1633827.wav' Does anyone have any idea what could be causing this? I've had a dig around in the documentation for switch_ivr_async.c. It looks like and error relating to a check on creating a directory but If I'm honest it's a little beyond my current skill set. Really I'm just trying to get shot of the error message and at the moment I'm a little stumped as to what could be causing this (although I wouldn't be surprised if it's the windows file system) Thanks in advanced Rob Rob Moore Telephony Systems Infrastructure Manager [Description: Aeriandi] m. +44 (0)7766 838 040 t. +44 (0)845 108 0308 Aeriandi Ltd / Prama House, 267 Banbury Road, Oxford OX2 7HT / +44 (0)845 108 0308 / info@aeriandi.com<mailto:info@aeriandi.com> / aeriandi.com<http://www.aeriandi.com/> This transmission is intended solely for the addressee and may be confidential. If you are not the named addressee, or if the message has been addressed to you in error, you must not read, disclose, reproduce, distribute or use this transmission. Please delete the message or contact the sender. Delivery of this message to any person other than the named addressee is not intended in any way to waive confidentiality. Please note that neither Aeriandi Ltd nor the sender accepts any responsibility for any viruses, which may be transmitted, and it is your responsibility to scan attachments (if any).
Rob, I had the same issue with FreeSwitch .net sockets. To fix this, replace "\" with "/". So in your record request, file path should be 'C:/FreeSwitch/recordings/RobsTESTRecording5762fadd-7b5-8abf-e61cb1633827.wav' Nuwan From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rob Moore Sent: 19 November 2012 11:51 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Error on Call Recording - Windows, FS V1.2.4 Hi Everyone, Just a minor one here I'm checking on. Running the latest release of Freeswitch V1.2.4 (on Windows Server 2008R2, yes I know!) and running through some tests with our system that uses Lua scripts to request actions from the Server. Whilst recording calls I'm getting the following error, the call recording files is still created (or appended to if I choose to call this). 2012-11-19 11:29:22.666979 [ERR] switch_ivr_async.c:1840 Error finding the folder path section in 'C:\FreeSwitch\recordings\RobsTESTRecording5762fadd-7b5-8abf-e61cb1633827.wav' Does anyone have any idea what could be causing this? I've had a dig around in the documentation for switch_ivr_async.c. It looks like and error relating to a check on creating a directory but If I'm honest it's a little beyond my current skill set. Really I'm just trying to get shot of the error message and at the moment I'm a little stumped as to what could be causing this (although I wouldn't be surprised if it's the windows file system) Thanks in advanced Rob Rob Moore Telephony Systems Infrastructure Manager [Description: Aeriandi] m. +44 (0)7766 838 040 t. +44 (0)845 108 0308 Aeriandi Ltd / Prama House, 267 Banbury Road, Oxford OX2 7HT / +44 (0)845 108 0308 / info@aeriandi.com<mailto:info@aeriandi.com> / aeriandi.com<http://www.aeriandi.com/> This transmission is intended solely for the addressee and may be confidential. If you are not the named addressee, or if the message has been addressed to you in error, you must not read, disclose, reproduce, distribute or use this transmission. Please delete the message or contact the sender. Delivery of this message to any person other than the named addressee is not intended in any way to waive confidentiality. Please note that neither Aeriandi Ltd nor the sender accepts any responsibility for any viruses, which may be transmitted, and it is your responsibility to scan attachments (if any). This e-mail and any attachments are for the intended addressee(s) only and may contain confidential and/or privileged material. If you are not a named addressee, do not use, retain or disclose such information. This email is not guaranteed to be free from viruses and does not bind Unify in any contract or obligation. Unify Business Solutions Ltd. Registered in England and Wales. No: 4749638 Registered Office: Ambassador House, 5 Midland Way, Barlborough, S43 4XA United Kingdom.
Aww Nuwan you absolute legend! That worked perfectly. Many Thanks for the help! Rob.
This is a very common source of problems with windows and fs; with fs being cross platform with *nix based environments that use the forward slash exclusively for path separators. The issue involves backslash "\" encoded escape entries. (ex. \r being an encoded return character hex 0xd or \n an encoded newline hex 0xa) there are many more examples of this too. The best way to deal with this in a cross platform way is to use windows ability to use forward slashes "/" for path separators. All releases of windows can do this without difficulty(and least for 10 years or so). All internal path handing in FreeSWITCH has been changed(last few months) to manipulate paths with forward slashes to minimize this very problem. So if you supply external paths to fs make sure you always supply them with forward slashes to avoid this problem. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-on-Call-Recording-Window... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thanks Jeff! I codified this in the Windows quickstart section: http://wiki.freeswitch.org/wiki/Installation_for_Windows#Path_Separator HtH the Windows users... -MC On Mon, Nov 19, 2012 at 11:12 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
This is a very common source of problems with windows and fs; with fs being cross platform with *nix based environments that use the forward slash exclusively for path separators. The issue involves backslash "\" encoded escape entries. (ex. \r being an encoded return character hex 0xd or \n an encoded newline hex 0xa) there are many more examples of this too.
The best way to deal with this in a cross platform way is to use windows ability to use forward slashes "/" for path separators. All releases of windows can do this without difficulty(and least for 10 years or so).
All internal path handing in FreeSWITCH has been changed(last few months) to manipulate paths with forward slashes to minimize this very problem. So if you supply external paths to fs make sure you always supply them with forward slashes to avoid this problem.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-on-Call-Recording-Window... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Jeff, Thanks for this info, but now that I remember from reading this post, do you know how I can specify a UNC path that FS will like? --Dave _____ From: Jeff Lenk [mailto:jeff@jefflenk.com] To: freeswitch-users@lists.freeswitch.org Sent: Mon, 19 Nov 2012 11:12:18 -0800 Subject: Re: [Freeswitch-users] [Confidential] - RE: Error on Call Recording - Windows, FS V1.2.4 This is a very common source of problems with windows and fs; with fs being cross platform with *nix based environments that use the forward slash exclusively for path separators. The issue involves backslash "\" encoded escape entries. (ex. \r being an encoded return character hex 0xd or \n an encoded newline hex 0xa) there are many more examples of this too. The best way to deal with this in a cross platform way is to use windows ability to use forward slashes "/" for path separators. All releases of windows can do this without difficulty(and least for 10 years or so). All internal path handing in FreeSWITCH has been changed(last few months) to manipulate paths with forward slashes to minimize this very problem. So if you supply external paths to fs make sure you always supply them with forward slashes to avoid this problem. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-on-Call-Recording-Window... Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
you should be able to double encode them \\\\test\\name1\\name2 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-on-Call-Recording-Window... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (6)
-
Dave R. Kompel
-
Jeff Lenk
-
Michael Collins
-
Nuwan Wijerathne
-
Rob Moore
-
Rob Moore