add notes for js and get ready to finish docs on it.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@791 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2006-03-07 19:20:11 +00:00
parent e08d9c86d3
commit c065721090
1 changed files with 53 additions and 0 deletions

View File

@ -45,3 +45,56 @@ while(session.ready()) {
session.hangup(); // or break;
}
}
To Document(these are in mod_spidermonkey already and just need
documentation and examples):
Methods:
session.recordFile
session.speak
session.getDigits
session.answer
session.ready
session.waitForAnswer
session.hangup
session.execute
Properties:
session.name
session.state
session.dialplan
session.caller_id_name
session.caller_id_num
session.network_addr
session.ani
session.ani2
session.destination
Methods:
DB.exec
DB.next
DB.fetch
DB.prepare
Properties
DB.path
Methods:
teletone.generate
teletone.onDTMF
teletone.addTone
Properties:
teletone.name
Other functions:
console_log
include
email
bridge
apiExecute
If you have CURL installed:
fetchURLHash
fetchURLFile