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:
parent
e08d9c86d3
commit
c065721090
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue