Javascript
(7 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
* [[Javascript Reference]] | * [[Javascript Reference]] | ||
Language, Objects and Functions Reference. | Language, Objects and Functions Reference. | ||
− | * [[Javascript | + | * [[Javascript module]] |
Configuring Javascript module to use routing scripts. | Configuring Javascript module to use routing scripts. | ||
+ | * [[Javascript_script_load_and_execution|Javascript script load and execution]] | ||
+ | Script load and execution information. | ||
* [[Including other files]] | * [[Including other files]] | ||
Language extensions for including other files and libraries. | Language extensions for including other files and libraries. | ||
Line 23: | Line 25: | ||
* [[Javascript Rmanager commands]] | * [[Javascript Rmanager commands]] | ||
Commands and ways to interact with Javascript scripts or interpretor from rmanager. | Commands and ways to interact with Javascript scripts or interpretor from rmanager. | ||
− | * [[ | + | * [[Javascript ConfigFile]] |
Reading configuration files | Reading configuration files | ||
Line 37: | Line 39: | ||
* [[Yate setup at BurningMan2013]] | * [[Yate setup at BurningMan2013]] | ||
Registration and routing examples in Javascript. This is the actual setup used at Burning Man 2013. | Registration and routing examples in Javascript. This is the actual setup used at Burning Man 2013. | ||
− | * [[Network in a | + | * [[Network in a PC javascript application for YateBTS]] |
Javascript scripts that build a basic HLR, MSC/VLR and SMSC for YateBTS. | Javascript scripts that build a basic HLR, MSC/VLR and SMSC for YateBTS. | ||
* [[Db client|Javascript Db client class]] | * [[Db client|Javascript Db client class]] | ||
Line 43: | Line 45: | ||
* [[Javascript IVR example]] | * [[Javascript IVR example]] | ||
Example of Javascript IVR: play prompts, catch dtmfs, send call to another destination | Example of Javascript IVR: play prompts, catch dtmfs, send call to another destination | ||
+ | * [[Using kcachegrind to debug javascript scripts]] | ||
+ | Example on how to use kcachegrind to profile Javascript script | ||
|} | |} | ||
Line 48: | Line 52: | ||
'''See also''' | '''See also''' | ||
+ | * [[Javascript_module|Javascript module]] | ||
* [[Routing]] | * [[Routing]] | ||
* [[External Module]] | * [[External Module]] |
Latest revision as of 13:34, 2 September 2024
Here is information about how to use the embedded Javascript implementation to change the behavior of Yate.
Information about the language | Configuration examples |
Language, Objects and Functions Reference. Configuring Javascript module to use routing scripts. Script load and execution information. Language extensions for including other files and libraries. Object construction and prototypal inheritance in Javascript. Messages in JavaScript Describes implemented methods that process actions in certain time intervals. Methods of sharing data between different Javascript instances. Commands and ways to interact with Javascript scripts or interpretor from rmanager. Reading configuration files |
Routing rules written in a script using Yate's Javascript module. Accessing the database from javascript module. How to start CDR Ring Timer on call.progress How to hangle call.route for SIP MESSAGE request to build SMSC or allow SIP messages only for some users Registration and routing examples in Javascript. This is the actual setup used at Burning Man 2013. Javascript scripts that build a basic HLR, MSC/VLR and SMSC for YateBTS. Javascript class that eases work with database queries. Example of Javascript IVR: play prompts, catch dtmfs, send call to another destination Example on how to use kcachegrind to profile Javascript script |
See also