Re: [Freeswitch-users] Javascript: stream, speak, stream - cepstral cut offs 2nd stream

2008-11-18 Thread Birgit Arkesteijn
Hi, Thanks, Anthony, for your reply. mSession.sleep(100); does indeed do the trick! Cheers, Birgit On 17/11/08 19:51, Anthony Minessale wrote: > you never want to msleep during a js running on a call > you should use session.sleep(500); > msleep blocks the whole thread and thus the audio. > >

Re: [Freeswitch-users] Javascript: stream, speak, stream - cepstral cut offs 2nd stream

2008-11-17 Thread Anthony Minessale
you never want to msleep during a js running on a call you should use session.sleep(500); msleep blocks the whole thread and thus the audio. On Mon, Nov 17, 2008 at 1:05 PM, Birgit Arkesteijn <[EMAIL PROTECTED]>wrote: > Hi, > > In javascript I doing the following: > > var consumer_name = "Birgit

[Freeswitch-users] Javascript: stream, speak, stream - cepstral cut offs 2nd stream

2008-11-17 Thread Birgit Arkesteijn
Hi, In javascript I doing the following: var consumer_name = "Birgit Arkesteijn"; var endpoint_url = 'sofia/gateway/westhawk/0662'; var mSession = new Session("{ignore_early_media=true,originate_timeout=8}" + endpoint_url); var ready = mSession.ready(); // log("merchant answered: " + rea