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
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@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@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 can also specify "all" as the file which removes all bugs for that uuid -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Stopping-uuid-record-error-tp6... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thanks for the reply. But it turned out the file path solution worked for me. Dave
Date: Mon, 28 Mar 2011 07:07:12 -0700 From: jeff@jefflenk.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Stopping uuid_record error
you can also specify "all" as the file which removes all bugs for that uuid
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Stopping-uuid-record-error-tp6... Sent from the freeswitch-users mailing list archive at Nabble.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
participants (3)
-
Dave Bracken
-
Jeff Lenk
-
Mike