Routing

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
 
(23 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
This is the list of the routing modules and a [[How To's]] for each of them:
 
This is the list of the routing modules and a [[How To's]] for each of them:
  
{|class="telephony"
+
{|class="yate-table"
|class="telephony_header_left"|'''Routing modules in Yate'''
+
|class="yate-header-left"|'''Routing modules in Yate'''
|class="telephony_header_right"|'''How to do routing in Yate'''
+
|class="yate-header-right"|'''How to do routing in Yate'''
 
|-
 
|-
|class="telephony-content-left"|
+
|class="yate-content-left"|
<div class="bullet">&nbsp;</div><font class="tel-title">[[Regfile|Regfile module]]</font><br/>
+
* [[Regfile|Regfile module]]
<div class="tel-desc">Module used for autentication, registration, and routing of users from a file.</div>
+
Module used for autentication, registration, and routing of users from a file.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Regular expressions|Regular expressions module]]</font><br/>
+
* [[Regular expressions|Regular expressions module]]
<div class="tel-desc">Module used for routing incoming and outgoing call legs.</div>
+
Module used for routing incoming and outgoing call legs.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Javascript routing|Javascript routing module]]</font><br/>
+
* [[Javascript module|Javascript routing module]]
<div class="tel-desc">Javascript module is a module support for programmatically routing a call step by step.</div>
+
Javascript module is a module support for programmatically routing a call.
<div class="bullet">&nbsp;</div><font class="tel-title">[[register|Register module]] </font><br/>
+
* [[register|Register module]]
<div class="tel-desc">Module used to write CDR(Call Detail Record) data in the database.</div>
+
Module used to write CDR(Call Detail Record) data in the database.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Call_Forker|Call forker module]]</font><br/>
+
* [[Call_Forker|Call forker module]]
<div class="tel-desc">Module used to route a call to multiple alternative targets.</div>
+
Module used to route a call to multiple alternative targets.
<div class="bullet">&nbsp;</div><font class="tel-title">[[ENUM_Routing|ENUM route module]]</font><br/>
+
* [[ENUM_Routing|ENUM route module]]
<div class="tel-desc">Performs routing using the ENUM protocols that maps phone numbers to VoIP (or even other PSTN) resources.</div>
+
Performs routing using the ENUM protocols that maps phone numbers to VoIP (or even other PSTN) resources.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Clustering|Cluster route module]]</font><br/>
+
* [[Clustering|Cluster route module]]
<div class="tel-desc">This module allows building clusters of servers for a single domain.</div>
+
This module allows building clusters of servers for a single domain.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Late routing Module]]</font><br/>
+
* [[Late routing Module]]
<div class="tel-desc">This module can be used whenever you need to route the calls to one or several numbers or aliases whose addresses are unknown in advance.</div>
+
This module can be used whenever you need to route the calls to one or several numbers or aliases whose addresses are unknown in advance.
<div class="bullet">&nbsp;</div><font class="tel-title">[[Call Counters|Call Counters Module]]</font><br/>
+
* [[Call Counters|Call Counters Module]]
<div class="tel-desc">This module keeps a count of active calls per user specified context and adds one or all counters to be used in routing decisions.</div>
+
This module keeps a count of active calls per user specified context and adds one or all counters to be used in routing decisions.
| class="telephony-content-right"|
+
 
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to register users from regfile]]</font><br/>
+
| class="yate-content-right"|
<div class="tel-desc">Example of register users in Regfile module.</div>
+
* [[How to register users from regfile]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[Redirecting Calls to another User in the Regex Module]]</font><br/>
+
Example of register users in Regfile module.
<div class="tel-desc">Example of redirecting calls to another user.</div>
+
* [[Redirecting Calls to another User in the Regex Module]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to do routing using javascript]]</font><br/>
+
Example of redirecting calls to another user.
<div class="tel-desc">Examples of how to route calls from javascript module.</div>
+
* [[How to do routing using javascript]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to register users from register]]</font><br/>
+
Examples of how to route calls from javascript module.
<div class="tel-desc">Example of how to register users from a database.</div>
+
* [[How to register users from register]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[Round_Robin_Routing|How to do round-robin routing]]</font><br/>
+
Example of how to register users from a database.
<div class="tel-desc">Round robin routing examples.</div>
+
* [[Round_Robin_Routing|How to do round-robin routing]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[Example using parameters in cluster route module|Configuring regexp and callto parameters in cluster route module]]</font><br/>
+
Round robin routing examples.
<div class="tel-desc">&nbsp;</div>
+
* [[Configuring regexp and callto parameters in cluster route module]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[Example of forking a call using lateroute|Forking a call using lateroute]]</font><br/>
+
Example of configuring parameters in cluster route module.
<div class="tel-desc">&nbsp;</div>
+
* [[Example of forking a call using lateroute|Forking a call using lateroute]]
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to use callcounters module to count incoming calls]]</font><br/>
+
Examples for routing calls using lateroute.
<div class="tel-desc">&nbsp;</div>
+
* [[How to use callcounters module to count incoming calls]]
 +
Example of count incoming calls.
 +
* [[How to route and bill from a database]]
 +
Example on how to route and bill from a database.
 
|}
 
|}
  
Line 53: Line 56:
 
* [[Modules| All Yate modules]]
 
* [[Modules| All Yate modules]]
 
* [[Telephony]]
 
* [[Telephony]]
 +
 +
[[Category:Routing]]

Latest revision as of 11:01, 10 March 2016

Yate has multiple routing modules. A routing module is a module that handles (sees) the call.route message.

You can set all routing in a single module or use a combination of modules. If more than one module is used, then the priority that is set in each configuration file determines the order of the modules processing the message. A numerically lower priority means a higher priority of the route. A module can add/modify parameters without handling the message.

This is the list of the routing modules and a How To's for each of them:

Routing modules in Yate How to do routing in Yate

Module used for autentication, registration, and routing of users from a file.

Module used for routing incoming and outgoing call legs.

Javascript module is a module support for programmatically routing a call.

Module used to write CDR(Call Detail Record) data in the database.

Module used to route a call to multiple alternative targets.

Performs routing using the ENUM protocols that maps phone numbers to VoIP (or even other PSTN) resources.

This module allows building clusters of servers for a single domain.

This module can be used whenever you need to route the calls to one or several numbers or aliases whose addresses are unknown in advance.

This module keeps a count of active calls per user specified context and adds one or all counters to be used in routing decisions.

Example of register users in Regfile module.

Example of redirecting calls to another user.

Examples of how to route calls from javascript module.

Example of how to register users from a database.

Round robin routing examples.

Example of configuring parameters in cluster route module.

Examples for routing calls using lateroute.

Example of count incoming calls.

Example on how to route and bill from a database.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers