[Freeswitch-dev] post recording
Michael Collins
msc at freeswitch.org
Fri Mar 9 02:43:32 MSK 2012
You need to use the "system" application. Probably this is what you need:
command_args = "record_post_process_exec_app=system
/usr/local/freeswitch/bin/post_recording
/usr/local/freeswitch/temp_recording/victor8.wav";
-MC
On Wed, Mar 7, 2012 at 3:28 PM, <victor.velo at videotron.ca> wrote:
> Hello,
>
> I get the latest code, and now I have an error message "Invalid
> application ..."
> Do I have to build a module to use as a post recording app?
>
> Thanks,
>
> ----- Original Message -----
> From: <victor.velo at videotron.ca>
> Date: Tuesday, March 6, 2012 3:24 pm
> Subject: post recording
> To: freeswitch-dev at lists.freeswitch.org
>
> > Hello,
> >
> > I'm trying to activate a post recording program from an ESL script
> using the "record_post_process_exec_app" channel variable.
> >
> > Like this:
> >
> > command_args =
> "record_post_process_exec_app=/usr/local/freeswitch/bin/post_recording
> /usr/local/freeswitch/temp_recording/victor8.wav";
> > myconn.execute("set", command_args.c_str(),
> legA_uuid.c_str());
> >
> > and then wait for the execution to complete... etc.
> >
> > Afterward I start the recording...
> >
> > command_args = "api uuid_record "+legA_uuid+" start
> /usr/local/freeswitch/temp-recording/victor8.wav";
> > current_event = myconn.sendRecv(command_args.c_str());
> >
> > My understanding is that the "record_post_process_exec_app" will be
> started (automatically) when the recording ends.This is but not happen...,
> > Do I miss something?
> >
> >
> > --------------------
> >
> > Another question is about the possibility to record legA in mono 8bit
> (mixed) like LegB recording.
> > How could I overwrite this setting?
> >
> >
> > Thanks in advance,
> >
> > Victor
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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/20120308/e8a36527/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list