Routing

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
Line 31: Line 31:
 
| class="telephony-content-right"|
 
| class="telephony-content-right"|
 
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to register users from regfile]]</font><br/>
 
<div class="bullet">&nbsp;</div><font class="tel-title">[[How to register users from regfile]]</font><br/>
<div class="tel-desc">&nbsp;</div>
+
<div class="tel-desc">Example of register users in Regfile module.</div>
 
<div class="bullet">&nbsp;</div><font class="tel-title">[[Redirecting Calls to another User in the Regex Module]]</font><br/>
 
<div class="bullet">&nbsp;</div><font class="tel-title">[[Redirecting Calls to another User in the Regex Module]]</font><br/>
 
<div class="tel-desc">&nbsp;</div>
 
<div class="tel-desc">&nbsp;</div>

Revision as of 17:36, 6 December 2012

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
 
Regfile module
Module used for autentication, registration, and routing of users from a file.
 
Regular expressions module
Module used for routing incoming and outgoing call legs.
 
Javascript routing module
Javascript module is a module support for programmatically routing a call step by step.
 
Register module
Module used to write CDR(Call Detail Record) data in the database.
 
Call forker module
Module used to route a call to multiple alternative targets.
 
ENUM route module
Performs routing using the ENUM protocols that maps phone numbers to VoIP (or even other PSTN) resources.
 
Cluster route module
This module allows building clusters of servers for a single domain.
 
Late routing Module
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.
 
Call Counters Module
This module keeps a count of active calls per user specified context and adds one or all counters to be used in routing decisions.
 
How to register users from regfile
Example of register users in Regfile module.
 
Redirecting Calls to another User in the Regex Module
 
 
How to do routing using javascript
 
 
How to register users from register
 
 
How to do round-robin routing
 
 
Configuring regexp and callto parameters in cluster route module
 
 
Forking a call using lateroute
 
 
How to use callcounters module to count incoming calls
 


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers