How To's

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Yate configuration as Server and / or Client)
(Call detail records)
Line 69: Line 69:
 
|-
 
|-
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[Register]]</font><br/>
+
* [[Register]]
<div class="yate-page-desc">How to write call logs to a database</div>
+
How to write call logs to a database
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to route and bill from a database]]</font><br/>
+
* [[How to route and bill from a database]]
<div class="yate-page-desc">Some things to take into account when wanting to bill from a database</div>
+
Some things to take into account when wanting to bill from a database
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[CDR File Module]]</font><br/>
+
* [[CDR File Module]]
<div class="yate-page-desc">How to write call logs to a file</div>
+
How to write call logs to a file
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[How to add custom parameters in CDR from routing]]</font><br/>
+
* [[How to add custom parameters in CDR from routing]]
<div class="yate-page-desc">Example of how to add custom parameters in CDR</div>
+
Example of how to add custom parameters in CDR
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[CDRcombine_Module|Cdrcombine]]</font><br/>
+
* [[CDRcombine_Module|Cdrcombine]]
<div class="yate-page-desc">For basic setups configure yate to write single cdr entry per call, instead of entry for each call leg.</div>
+
For basic setups configure yate to write single cdr entry per call, instead of entry for each call leg
 
|}
 
|}
  

Revision as of 13:47, 11 September 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.

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

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

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

Use Yate server to handle all your Google Voice calls.

Yate can be used with various service providers.

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

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

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
 
Monitoring Yate
Overview on how to monitor yate using SNMP and rmanager.
 
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.
 
Debugging and, or Investigation of messages
Yate offers the msgsniff module to allow the investigation of messages at runtime.
 
Monitoring Yate with Munin
Yate can be monitored using Munin.

Miscellaneous

How To's
 
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.
 
Handling many simultaneous calls
Notes on various protocols when you wish to handle many simultaneous calls.
 
Altering release cause
How to modify call release cause codes.

VoIP to PSTN gateway

How To's
 
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.
 
Installing Sangoma cards under Windows
Guide to install Sangoma cards under Windows.
 
Setting up Yate with ISDN BRI
Guide to use Yate with BRI Stuff.

Troubleshooting

Issue
 
Database Connection Problems
What to do if you suspect Yate is not connected to the database.
 
YateAdmin Headers Sent Fix
How to solve 'Headers already sent' warning for YateAdmin
 
Debugging with tcpdump
You can use tcmpdump to follow VoIP traffic.
 
Miscellaneous problems
Various issues: STUN, kdoc, YateClient on Ubuntu 11.10

See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers