[Freeswitch-dev] post recording

victor.velo at videotron.ca victor.velo at videotron.ca
Tue Mar 6 23:24:53 MSK 2012


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,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20120306/f29bc91f/attachment.html 

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