提交 c0657210 authored 作者: Brian West's avatar Brian West

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
上级 e08d9c86
...@@ -45,3 +45,56 @@ while(session.ready()) { ...@@ -45,3 +45,56 @@ while(session.ready()) {
session.hangup(); // or break; 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
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论