How To's

From Yate Documentation
Revision as of 13:41, 11 September 2013 by Monica (Talk | contribs)

Jump to: navigation, search

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 as IAX server and YateClient as IAX client
Yate can be used as IAX Server and YateClient as IAX Client.
 
Yate as H323 GateKeeper and YateClient as H323 client
Yate used as a H323 Gatekeeper and YateClient as a H323 Client.
 
Yate as SIP server
Configuring Yate as a SIP server.
 
SIP Flood Protection
Yate provides a protection mechanism against several types of SIP flood attacks.
 
Jabber Client With Jingle Yate Server
Configuring Yate Server to use Jingle and YateClient to use a Jabber client.
 
H323 To SIP Signalling Proxy
Configuring Yate Server to be a H323 to SIP Signalling Proxy
 
Connecting To Google Voice using your SIP account
Use Yate server to handle all your Google Voice calls.
 
Using Yate with various service providers
Yate can be used with various service providers.
 
Yate as a PBX
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
 
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
 
How to add custom parameters in CDR from routing
Example of how to add custom parameters in CDR
 
Cdrcombine
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