Routing

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
  
 
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.  
 
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.  
http://www.pleasevoteforme.org
+
 
 
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:
  

Revision as of 15:13, 6 June 2013

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.
 
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
Example of redirecting calls to another user.
 
How to do routing using javascript
Examples of how to route calls from javascript module.
 
How to register users from register
Example of how to register users from a database.
 
How to do round-robin routing
Round robin routing examples.
 
Configuring regexp and callto parameters in cluster route module
Example of configuring parameters in cluster route module.
 
Forking a call using lateroute
Examples for routing calls using lateroute.
 
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.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers