[Freeswitch-dev] Record in Freeswitch

Bob Coleman bobc at devassert.com
Sun May 30 19:26:22 PDT 2010


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_thirupathikumar at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100531/17dc53a3/attachment.html 


More information about the FreeSWITCH-dev mailing list