[Freeswitch-dev] post recording

victor.velo at videotron.ca victor.velo at videotron.ca
Thu Mar 8 02:28:59 MSK 2012


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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120307/307fc405/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list