Javascript

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
 
(24 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
|-
 
|-
 
|class="yate-content-left"|
 
|class="yate-content-left"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Javascript Reference]]</font><br/>
+
* [[Javascript Reference]]
<div class="yate-page-desc">Language, Objects and Functions Reference.</div>
+
Language, Objects and Functions Reference.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Javascript routing]]</font><br/>
+
* [[Javascript module]]
<div class="yate-page-desc">Configuring Javascript module to use routing scripts.</div>
+
Configuring Javascript module to use routing scripts.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Including other files]]</font><br/>
+
* [[Including other files]]
<div class="yate-page-desc">Language extensions for including other files and libraries.</div>
+
Language extensions for including other files and libraries.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Constructors and prototypes]]</font><br/>
+
* [[Constructors and prototypes]]
<div class="yate-page-desc">Object construction and prototypal inheritance in Javascript.</div>
+
Object construction and prototypal inheritance in Javascript.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Messages in JS]]</font><br/>
+
* [[Messages in JS]]
<div class="yate-page-desc">Messages in JavaScript</div>
+
Messages in JavaScript
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Time events in Javascript]]</font><br/>
+
* [[Time events in Javascript]]
<div class="yate-page-desc">Describes implemented methods that process actions in certain time intervals.</div>
+
Describes implemented methods that process actions in certain time intervals.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Sharing data in Javascript]]</font><br/>
+
* [[Sharing data in Javascript]]
<div class="yate-page-desc">Methods of sharing data between different Javascript instances.</div>
+
Methods of sharing data between different Javascript instances.
 +
* [[Javascript Rmanager commands]]
 +
Commands and ways to interact with Javascript scripts or interpretor from rmanager.
 +
* [[Javascript ConfigFile]]
 +
Reading configuration files
 +
 
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to do routing using javascript]]</font><br/>
+
* [[How to do routing using javascript]]
<div class="yate-page-desc">Routing rules written in a script using Yate's Javascript module.</div>
+
Routing rules written in a script using Yate's Javascript module.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to access a database from Yate's Javascript module]]</font><br/>
+
* [[How to access a database from Yate's Javascript module]]
<div class="yate-page-desc">Accessing the database from javascript module.</div>
+
Accessing the database from javascript module.
 +
* [[Starting_CDR_Ring_Timer_on_call.progress#Javascript_example|Starting CDR Ring Timer on call.progress]]
 +
How to start CDR Ring Timer on call.progress
 +
* [[Using_SIP_MESSAGE_or_how_to_enable_chat_messages_in_SIP#Custom_applications|Custom handling of SIP MESSAGE requests from javascript]]
 +
How to hangle call.route for SIP MESSAGE request to build SMSC or allow SIP messages only for some users
 +
* [[Yate setup at BurningMan2013]]
 +
Registration and routing examples in Javascript. This is the actual setup used at Burning Man 2013.
 +
* [[Network in a PC javascript application for YateBTS]]
 +
Javascript scripts that build a basic HLR, MSC/VLR and SMSC for YateBTS.
 +
* [[Db client|Javascript Db client class]]
 +
Javascript class that eases work with database queries.
 +
* [[Javascript IVR example]]
 +
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 31: Line 50:
 
'''See also'''
 
'''See also'''
  
 +
* [[Javascript_module|Javascript module]]
 
* [[Routing]]
 
* [[Routing]]
 
* [[External Module]]
 
* [[External Module]]
 
* [[Programmer's guide]]
 
* [[Programmer's guide]]
 +
 +
 +
[[Category:Javascript]] [[Category:Programmers]] [[Category:Scripting]]

Latest revision as of 11:50, 21 August 2017

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.

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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers