Routing
(2 intermediate revisions by one user not shown) | |||
Line 7: | Line 7: | ||
{|class="yate-table" | {|class="yate-table" | ||
− | |class=" | + | |class="yate-header-left"|'''Routing modules in Yate''' |
− | |class=" | + | |class="yate-header-right"|'''How to do routing in Yate''' |
|- | |- | ||
− | |class=" | + | |class="yate-content-left"| |
* [[Regfile|Regfile module]] | * [[Regfile|Regfile module]] | ||
Module used for autentication, registration, and routing of users from a file. | Module used for autentication, registration, and routing of users from a file. | ||
* [[Regular expressions|Regular expressions module]] | * [[Regular expressions|Regular expressions module]] | ||
Module used for routing incoming and outgoing call legs. | Module used for routing incoming and outgoing call legs. | ||
− | * [[Javascript | + | * [[Javascript module|Javascript routing module]] |
Javascript module is a module support for programmatically routing a call. | Javascript module is a module support for programmatically routing a call. | ||
* [[register|Register module]] | * [[register|Register module]] | ||
Line 30: | Line 30: | ||
This module keeps a count of active calls per user specified context and adds one or all counters to be used in routing decisions. | 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=" | + | | class="yate-content-right"| |
* [[How to register users from regfile]] | * [[How to register users from regfile]] | ||
Example of register users in Regfile module. | Example of register users in Regfile module. | ||
Line 56: | 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