hi ,
I have a problem to record files.
here is my javascript:
---------------
session = new Session('sofia/gateway/mygateway/14164516999');
session.waitForAnswer(10000);

if (session.ready()) {
    session.execute("record_session", "/usr/local/freeswitch/recordings/" + session.uuid + ".wav");     
}
---------------
after press answer key on my keypad, the call disconnected. What I am missing here?

Thank you for your help.

Will