Finnaly, we found the source of the problem. It come from our SIP gateway that send to FS some wrong RTP. FS was just doing is work correctly, recording the bad RTP coming from our SIP Gateway.

 

 

I thank you for your great help !

 

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:35
To: freeswitch-dev@lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Chunky sound in wav file using Record_Session with RECORD_STEREO=true

 

I need the exact commands you're doing via event socket to reproduce this.. I have tried my best to replicate this based on the information you have given me. 

 

What I can't tell is how you get RECORD_STEREO=true on the channel using the method you outlined.

 

I have done:

 

originate {RECORD_STEREO=true}sofia/99.157.44.198/1001 &park

 

+OK 045b4e13-745e-4548-bf2e-99085e4b7eae

 

sendmsg 045b4e13-745e-4548-bf2e-99085e4b7eae

call-command: execute

execute-app-name: record_session

execute-app-arg: /tmp/test.wav

 

sendmsg 045b4e13-745e-4548-bf2e-99085e4b7eae

call-command: execute

execute-app-name: playback

execute-app-arg: /tmp/swimp.raw

 

And I can't reproduce it... Can you give me a sample of the wav file you have that shows this happening?  And tell me if I'm not doing something you are.

 

 

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



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

 

Brian West