I think you only have to specify it relative to the sounds directory, no
need for full path.

Test it by just specifying the name without a path.

On Tue, May 25, 2010 at 6:10 PM, Thirupathi <s_thirupathiku...@yahoo.com>wrote:

>   Hi,
>
> i am using record function to record the user information through channel
> into the voice file.
>
> @con.execute("record", "#{record_file_path} #{record_duration}
> #{silence_threshold}")
>
> I have specified the full path with the record_file_path variable. But i
> got the below error
> 2010-05-24 12:53:32.917541 [ERR] mod_sndfile.c:194 Error Opening File
> [/opt/freeswitch/sounds/123.wav] [System error : No such file or directory.]
>
> Is there any record function available in the freeswitch so that it will
> create the file automatically in the specified record_file_path parameter.
>
> Thanks and Regards,
> Thirupathi
>
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to