How To's

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Yate configuration as Server and / or Client)
(Troubleshooting)
(40 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
==Routing==
 
==Routing==
 
 
The most popular scenarios for routing:
 
The most popular scenarios for routing:
  
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"| How To's
 
|-
 
|-
 +
|class="yate-content-left"|
 +
* [[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.
 +
* [[Round_Robin_Routing|How to do round-robin routing]]
 +
Round robin routing examples.
 +
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to register users from regfile]]</font><br/>
+
* [[How to convert SIP headers into SIP parameters names in messages]]
<div class="yate-page-desc">Example of register users in Regfile module.</div>
+
Examples on how to convert SIP headers into SIP parameters.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Redirecting Calls to another User in the Regex Module]]</font><br/>
+
* [[How to add custom parameters in CDR from routing]]
<div class="yate-page-desc">Example of redirecting calls to another user.</div>
+
Example on how to use copyparams from routing in CDR.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to do routing using javascript]]</font><br/>
+
* [[IVR Setup]]
<div class="yate-page-desc">Examples of how to route calls from javascript module.</div>
+
Setting up an IVR.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to register users from register]]</font><br/>
+
* [[Routing tips from various users]]
<div class="yate-page-desc">Example of how to register users from a database.</div>
+
Useful information from various users about routing.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Round_Robin_Routing|How to do round-robin routing]]</font><br/>
+
<div class="yate-page-desc">Round robin routing examples.</div>
+
<!--<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Example using parameters in cluster route module|Configuring regexp and callto parameters in cluster route module]]</font><br/>
+
<div class="yate-page-desc">Example of configuring parameters in cluster route module.  </div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Example of forking a call using lateroute|Forking a call using lateroute]]</font><br/>
+
<div class="yate-page-desc">Examples for routing calls using lateroute.</div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to use callcounters module to count incoming calls]]</font><br/>
+
<div class="yate-page-desc">Example of count incoming calls.</div>-->
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to convert SIP headers into SIP parameters names in messages]]</font><br/>
+
<div class="yate-page-desc">Examples on how to convert SIP headers into SIP parameters.</div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to add custom parameters in CDR from routing]]</font><br/>
+
<div class="yate-page-desc">Example on how to use copyparams from routing in CDR.</div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[IVR Setup]]</font><br/>
+
<div class="yate-page-desc">Setting up an IVR.</div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Routing tips from various users]]</font><br/>
+
<div class="yate-page-desc">Useful information from various users about routing.</div>
+
 
|}
 
|}
  
Line 40: Line 35:
  
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"|How To's
 
|-
 
|-
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to configure Yate as IAX server|Yate as IAX server and YateClient as IAX client]]</font><br/>
+
* [[How to configure Yate as IAX server|Yate as IAX server and YateClient as IAX client]]
<div class="yate-page-desc">Yate can be used as IAX Server and YateClient as IAX Client.</div>
+
Yate can be used as IAX Server and YateClient as IAX Client.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Yate as H323 GateKeeper and YateClient as H323 client]]</font><br/>
+
* [[Yate as H323 GateKeeper and YateClient as H323 client]]
<div class="yate-page-desc">Yate used as a H323 Gatekeeper and YateClient as a H323 Client.</div>
+
Yate used as a H323 Gatekeeper and YateClient as a H323 Client.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Yate as SIP server]]</font><br/>
+
* [[Yate as SIP server]]
<div class="yate-page-desc"> Configuring Yate as a SIP server.</div>
+
Configuring Yate as a SIP server.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[SIP Flood Protection]]</font><br/>
+
* [[Jabber Client With Jingle Yate Server]]
<div class="yate-page-desc"> Yate provides a protection mechanism against several types of SIP flood attacks.</div>
+
Configuring Yate Server to use Jingle and YateClient to use a Jabber client.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Jabber Client With Jingle Yate Server]]</font><br/>
+
* [[Yate as a PBX]]
<div class="yate-page-desc">Configuring Yate Server to use Jingle and YateClient to use a Jabber client.</div>
+
How to set up Yate as a PBX depending on the features you need.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[H323 To SIP Signalling Proxy]]</font><br/>
+
* [[H323 To SIP Signalling Proxy]]
<div class="yate-page-desc">Configuring Yate Server to be a H323 to SIP Signalling Proxy</div>
+
Configuring Yate Server to be a H323 to SIP Signalling Proxy.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Connecting To Google Voice|Connecting To Google Voice using your SIP account]]</font><br/>
+
* [[Connecting To Google Voice|Connecting To Google Voice using your SIP account]]
<div class="yate-page-desc">Use Yate server to handle all your Google Voice calls. </div>
+
Use Yate server to handle all your Google Voice calls.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Using Yate with various service providers]]</font><br/>
+
 
<div class="yate-page-desc">Yate can be used with various service providers.</div>
+
|class="yate-content-left"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Yate as a PBX]]</font><br/>
+
* [[Using YateClient with SIPsocial]]
<div class="yate-page-desc">How to set up Yate as a PBX depending on the features you need.</div>
+
How to use YateClient with SIPsocial
 +
* [[Connecting to FWD-FreeWorldDialUp]]
 +
How to connect to FreeWorldDialUp
 +
* [[Connecting to InPhoneX]]
 +
How to connect to InPhoneX
 +
* [[Connecting to SAPO]]
 +
How to connect to SAPO
 +
* [[Connecting to IAXtel]]
 +
How to connect to IAXtel
 +
* [[Using SIP MESSAGE or how to enable chat messages in SIP]]
 +
How to enable SIP MESSAGE request in yate5 to allow chat messages between registered users.
 +
* [[SIP Flood Protection]]
 +
Yate provides a protection mechanism against several types of SIP flood attacks.
 
|}
 
|}
  
Line 66: Line 73:
 
Below are the modules and some tips you can use when writing call logs. You use this modules to obtain billing information.
 
Below are the modules and some tips you can use when writing call logs. You use this modules to obtain billing information.
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"|How To's
 
|-
 
|-
 +
|class="yate-content-left"|
 +
* [[Register]]
 +
How to write call logs to a database
 +
* [[How to route and bill from a database]]
 +
Some things to take into account when wanting to bill from a database
 +
* [[CDR File Module]]
 +
How to write call logs to a file
 +
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Register]]</font><br/>
+
* [[How to add custom parameters in CDR from routing]]
<div class="yate-page-desc">How to write call logs to a database</div>
+
Example of how to add custom parameters in CDR
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to route and bill from a database]]</font><br/>
+
* [[CDRcombine_Module|Cdrcombine]]
<div class="yate-page-desc">Some things to take into account when wanting to bill from a database</div>
+
For basic setups configure yate to write single cdr entry per call, instead of entry for each call leg
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[CDR File Module]]</font><br/>
+
* [[Starting CDR Ring Timer on call.progress]]
<div class="yate-page-desc">How to write call logs to a file</div>
+
Example on how to start CDR Ring Timer on call.progress message.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to add custom parameters in CDR from routing]]</font><br/>
+
<div class="yate-page-desc">Example of how to add custom parameters in CDR</div>
+
 
|}
 
|}
  
==Yate debug==
+
==Monitoring and debugging Yate==
  
Some examples on how to enable debugging in Yate, the module involved in this action, the output of the debugging.
+
Some examples on how to monitor and enable debugging in Yate and the modules involved in this actions.
  
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"|How To's
 
|-
 
|-
 +
|class="yate-content-left"|
 +
* [[Monitoring Yate]]
 +
Overview on how to monitor yate using SNMP and rmanager.
 +
* [[Debug Output | How to set debug levels in Yate]]
 +
Yate provides Debugging info on console.
 +
* [[How to find which external modules are loaded from rmanager]]
 +
Debug an external module in Telnet
 +
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Debug Output | How to set debug levels in Yate]]</font><br/>
+
* [[Debugging and, or Investigation of messages]]
<div class="yate-page-desc">Yate provides Debugging info on console.</div>
+
Yate offers the msgsniff module to allow the investigation of messages at runtime.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to find which external modules are loaded from rmanager]]</font><br/>
+
* [[Monitoring Yate with Munin]]
<div class="yate-page-desc">Debug an external module in Telnet.</div>
+
Yate can be monitored using Munin.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Debugging and, or Investigation of messages]]</font><br/>
+
<div class="yate-page-desc">Yate offers the msgsniff module to allow the investigation of messages at runtime.</div>
+
 
|}
 
|}
  
Line 98: Line 117:
  
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"|How To's
 
|-
 
|-
 +
|class="yate-content-left"|
 +
* [[Yate and VMWare]]
 +
Tips on what you should pay attention to when running Yate in VMWare.
 +
* [[How to setup chat and short file transfer using MESSAGE Request Method]]
 +
This example allows chat and short files transfer between Twinkle clients using SIP MESSAGE Request Method.
 +
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Yate and VMWare]]</font><br/>
+
* [[Handling many simultaneous calls]]
<div class="yate-page-desc">Tips on what you should pay attention to when running Yate in VMWare.</div>
+
Notes on various protocols when you wish to handle many simultaneous calls.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to setup chat and short file transfer using MESSAGE Request Method]]</font><br/>
+
* [[Altering release cause]]
<div class="yate-page-desc">This example allows chat and short files transfer between Twinkle clients using SIP MESSAGE Request Method.</div>
+
How to modify call release cause codes.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Handling many simultaneous calls]]</font><br/>
+
<div class="yate-page-desc">Notes on various protocols when you wish to handle many simultaneous calls.</div>
+
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Monitoring Yate with Munin]]</font><br/>
+
<div class="yate-page-desc">Yate can be monitored using Munin.</div>
+
 
|}
 
|}
  
 
==VoIP to PSTN gateway==
 
==VoIP to PSTN gateway==
 
{|class="yate-table"
 
{|class="yate-table"
|class="yate-header-right"|How To's
+
|class="yate-header-right" colspan="2"|How To's
 
|-
 
|-
 +
|class="yate-content-left"|
 +
* [[VoIP PSTN Gateway]]
 +
Example on how to use Yate as VoIP-PSTN gateway
 +
* [[Installing Sangoma cards under Linux]]
 +
Guide to install Sangoma cards under Linux.
 +
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[VoIP PSTN Gateway]]</font><br/>
+
* [[Installing Sangoma cards under Windows]]
<div class="yate-page-desc">Example on how to use Yate as VoIP-PSTN gateway.</div>
+
Guide to install Sangoma cards under Windows.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Installing Sangoma cards under Linux]]</font><br/>
+
* [[Setting up Yate with ISDN BRI]]
<div class="yate-page-desc">Guide to install Sangoma cards under Linux.</div>
+
Guide to use Yate with ISDN BRI.
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Installing Sangoma cards under Windows]]</font><br/>
+
|}
<div class="yate-page-desc">Guide to install Sangoma cards under Windows.</div>
+
 
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Setting up Yate with ISDN BRI]]</font><br/>
+
==Troubleshooting==
<div class="yate-page-desc">Guide to use Yate with BRI Stuff.</div>
+
 
 +
{|class="yate-table"
 +
|class="yate-header-right" colspan="2"|Issue
 +
|-
 +
|class="yate-content-left"|
 +
* [[Database Connection Problems]]
 +
What to do if you suspect Yate is not connected to the database
 +
* [[Debugging with tcpdump]]
 +
You can use tcmpdump to follow VoIP traffic
 +
 
 +
|class="yate-content-right"|
 +
* [[YateAdmin Headers Sent Fix]]
 +
How to solve 'Headers already sent' warning for YateAdmin
 +
* [[Miscellaneous problems]]
 +
Various issues: STUN, kdoc, YateClient on Ubuntu 11.10
 
|}
 
|}
  
Line 129: Line 170:
  
 
* [[Telephony]]
 
* [[Telephony]]
 +
 +
[[Category:Routing]] [[Category:Debug]] [[Category:Monitoring]] [[Category:Server]]

Revision as of 10:40, 4 November 2013

Yate has multiple routing modules and signalling modules. Here you can find some how to's for configuring Yate using different modules.

Contents

Routing

The most popular scenarios for routing:

How To's

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.

Examples on how to convert SIP headers into SIP parameters.

Example on how to use copyparams from routing in CDR.

Setting up an IVR.

Useful information from various users about routing.

Yate configuration as Server and / or Client

Various configuration for Yate to act as a Server and as a Client using different protocols.

How To's

Yate can be used as IAX Server and YateClient as IAX Client.

Yate used as a H323 Gatekeeper and YateClient as a H323 Client.

Configuring Yate as a SIP server.

Configuring Yate Server to use Jingle and YateClient to use a Jabber client.

How to set up Yate as a PBX depending on the features you need.

Configuring Yate Server to be a H323 to SIP Signalling Proxy.

Use Yate server to handle all your Google Voice calls.

How to use YateClient with SIPsocial

How to connect to FreeWorldDialUp

How to connect to InPhoneX

How to connect to SAPO

How to connect to IAXtel

How to enable SIP MESSAGE request in yate5 to allow chat messages between registered users.

Yate provides a protection mechanism against several types of SIP flood attacks.

Call detail records

Below are the modules and some tips you can use when writing call logs. You use this modules to obtain billing information.

How To's

How to write call logs to a database

Some things to take into account when wanting to bill from a database

How to write call logs to a file

Example of how to add custom parameters in CDR

For basic setups configure yate to write single cdr entry per call, instead of entry for each call leg

Example on how to start CDR Ring Timer on call.progress message.

Monitoring and debugging Yate

Some examples on how to monitor and enable debugging in Yate and the modules involved in this actions.

How To's

Overview on how to monitor yate using SNMP and rmanager.

Yate provides Debugging info on console.

Debug an external module in Telnet

Yate offers the msgsniff module to allow the investigation of messages at runtime.

Yate can be monitored using Munin.

Miscellaneous

How To's

Tips on what you should pay attention to when running Yate in VMWare.

This example allows chat and short files transfer between Twinkle clients using SIP MESSAGE Request Method.

Notes on various protocols when you wish to handle many simultaneous calls.

How to modify call release cause codes.

VoIP to PSTN gateway

How To's

Example on how to use Yate as VoIP-PSTN gateway

Guide to install Sangoma cards under Linux.

Guide to install Sangoma cards under Windows.

Guide to use Yate with ISDN BRI.

Troubleshooting

Issue

What to do if you suspect Yate is not connected to the database

You can use tcmpdump to follow VoIP traffic

How to solve 'Headers already sent' warning for YateAdmin

Various issues: STUN, kdoc, YateClient on Ubuntu 11.10

See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers