I start the record_session when I have received from event_socket ALL theses events :
 Event-Name: BACKGROUND_JOB, 
Event-Name: CHANNEL_ANSWER, 
Event-Name: CHANNEL_EXECUTE (Application: park ).

 

 

sebastien

 

 

From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: 10 septembre 2008 12:04
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Chunky sound in wav file using Record_Session with RECORD_STEREO=true

 

At what point do you start the recording?

 

On Sep 10, 2008, at 11:02 AM, Sebastien Maisonneuve wrote:



We are not using Bridge. we are using ( event socket )  bgapi originate <call_url> &park()  

to start the call.  after that we wait the background_job event and take the ID of the session and use it to pass playback commands on the line.

 

sebastien

 

Brian West