[Freeswitch-users] Javascript: record ringing of session

Birgit Arkesteijn birgit at westhawk.co.uk
Thu Nov 20 01:50:11 PST 2008


Hi Michael,

Sorry to nag you, but did you manage to experiment with the Javascript 
session in this capacity?
I hope you reached your office. :-)

Cheers, Birgit


On 18/11/08 18:10, Michael S Collins wrote:
> Birgit,
> 
> I'm almost to my office. I will give you more info soon. I have not  
> used js in this capacity so we will have to do some experimenting.
> 
> -MC
> 
> Sent from my iPhone
> 
> On Nov 18, 2008, at 9:51 AM, Birgit Arkesteijn <birgit at westhawk.co.uk>  
> wrote:
> 
>> Hi Michael,
>>
>> Thanks for your reply.
>>
>> I tried a variety of options:
>> var mSession = new Session(endpoint_url);
>> var mSession = new Session("{ignore_early_media=false}" +   
>> endpoint_url);
>>
>> both only return after the session is answered (originated?).
>>
>> The customer wants
>> "the number of seconds we wait for each user to pick up"
>> configurable, hence I use "originate_timeout". I noticed (by try and
>> error) that this is the timeout that does the trick. The other timeout
>> variables behaved differently.
>>
>> I'm currently trying to see how I can do recording of the rings. If  
>> that
>> clashes with this neat "originate_timeout" variable, I'll have to see
>> what my options are.
>>
>> I did read the http://wiki.freeswitch.org/wiki/Channel_Variables page,
>> but to be honest, even with descriptions I don't really understand the
>> implications of using these variables, sorry.
>>
>>
>> Thanks, Birgit


-- 
-- Birgit Arkesteijn, birgit at westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>




More information about the FreeSWITCH-users mailing list