[Freeswitch-users] Stopping uuid_record error

Mike motosota at gmail.com
Mon Mar 28 16:43:38 MSD 2011


Dave,

it seems that if you don't specify a complete path, the 'start' option will
use the sound_prefix directory to put the file in - so unless you have
changed it in vars.xml, in your case the recording will
be /usr/local/freeswitch/sounds/en/us/callie/test.wav

It looks like the 'stop' option doesn't use the same assumption - but if you
specify the full path it will work - so

uuid_record 36dfdf636dfd6f36df
stop /usr/local/freeswitch/sounds/en/us/callie/test.wav

Or a better solution would be to specify the directory you want to use
explicitly when starting the recoding.

Mike

On Wed, Mar 23, 2011 at 5:16 PM, Dave Bracken <richocet2 at hotmail.com> wrote:

>  I have figured out how to start recording using uuid_record, but when i
> try to stop the record, i get: -ERR Cannot stop record session!
> here is my code(with a sudo uuid in place here)
> api uuid_record 36dfdf636dfd6f36df start test.wav
>
> and to stop the record:
> api uuid_record 36dfdf636dfd6f36df stop test.wav
>
> the start one works fine, but the stop one does not. What am i missing
> here?
>
> Thanks in advance,
> Dave
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110328/28268de2/attachment.html 


More information about the FreeSWITCH-users mailing list