Hi, In Javascript, I do the following: var mSession = new Session("{ignore_early_media=true,originate_timeout=8}" + endpoint_url); mSession.execute("record_session", recordfile); This works very well, however, the client would like the rings to be recorded as well. I've tried using various channel variables, but 'new Session' only returns after the call is answered. I tried calling apiExecute("record", <file_path>); before 'new Session', but that returns an error. Is is possible to record the rings (in javascript)? And if so, how would I do that? Thanks, Birgit -- -- Birgit Arkesteijn, birgit@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>