mod_sndfile.c - path separator for windows - system error
While executing a lua script, I got this error. I am running FS on window 7. 2011-06-29 17:27:52.265291 [ERR] mod_sndfile.c:195 Error Opening File [C:\ankitw alia\FreeSwitch\freeswitch-1.0.6\Debug\sounds/en/us/callie\blah.wav] [System err or : The system cannot find the file specified. ] This seems to be because of path seperator used as "/" instead of "\" for windows in mod_sndfile.c file. Thanks Ankit -- Life is like a rose its upto u feel it as its fragrance or thorns
Shouldn't be - all recent versions of Windows accept / as a path separator. Are you sure the file exists in that path? -Steve On 29 June 2011 13:05, ankIT WALiA <ankitwalia4u@gmail.com> wrote:
While executing a lua script, I got this error. I am running FS on window 7.
2011-06-29 17:27:52.265291 [ERR] mod_sndfile.c:195 Error Opening File [C:\ankitw alia\FreeSwitch\freeswitch-1.0.6\Debug\sounds/en/us/callie\blah.wav] [System err or : The system cannot find the file specified. ]
This seems to be because of path seperator used as "/" instead of "\" for windows in mod_sndfile.c file.
Thanks Ankit
-- Life is like a rose its upto u feel it as its fragrance or thorns
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
My guess is that the file doesn't exist, \ or / doesn't matter in Windows anymore. However, you might also change the sound_prefix in vars.xml, if you really want to change the path to something else. /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För ankIT WALiA Skickat: den 29 juni 2011 14:05 Till: FreeSWITCH Users Help Ämne: [Freeswitch-users] mod_sndfile.c - path separator for windows - system error While executing a lua script, I got this error. I am running FS on window 7. 2011-06-29 17:27:52.265291 [ERR] mod_sndfile.c:195 Error Opening File [C:\ankitw alia\FreeSwitch\freeswitch-1.0.6\Debug\sounds/en/us/callie\blah.wav] [System err or : The system cannot find the file specified. ] This seems to be because of path seperator used as "/" instead of "\" for windows in mod_sndfile.c file. Thanks Ankit -- Life is like a rose its upto u feel it as its fragrance or thorns !DSPAM:4e0b166332769092317685!
I'm sorry. I did place the file there. My mistake. On Wed, Jun 29, 2011 at 5:50 PM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
My guess is that the file doesn’t exist, \ or / doesn’t matter in Windows anymore.****
** **
However, you might also change the sound_prefix in vars.xml, if you really want to change the path to something else.****
** **
/Peter****
** **
** **
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *ankIT WALiA *Skickat:* den 29 juni 2011 14:05 *Till:* FreeSWITCH Users Help *Ämne:* [Freeswitch-users] mod_sndfile.c - path separator for windows - system error****
** **
While executing a lua script, I got this error. I am running FS on window 7.
2011-06-29 17:27:52.265291 [ERR] mod_sndfile.c:195 Error Opening File [C:\ankitw alia\FreeSwitch\freeswitch-1.0.6\Debug\sounds/en/us/callie\blah.wav] [System err or : The system cannot find the file specified. ]
This seems to be because of path seperator used as "/" instead of "\" for windows in mod_sndfile.c file.
Thanks Ankit
-- Life is like a rose its upto u feel it as its fragrance or thorns !DSPAM:4e0b166332769092317685! ****
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
-- Life is like a rose its upto u feel it as its fragrance or thorns
participants (3)
-
ankIT WALiA
-
Peter Olsson
-
Steven Ayre