Telephony

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Session Initiation Protocol(SIP))
(SS7 Protocol suite)
 
(89 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Yate is a telephony engine who's main function is to connect together call legs to external devices or to internal server resources. It uses a variety of VoIP protocols(as SIP, H.323, IAX2 or Jingle) that can be used without the need of special hardware. In the next chapters you will find more informations about configuring each telephony protocol and the features supported by Yate.
 
 
<!--{|class="wikitable"
 
|colspan="12" style="text-align:center;font-weight:bold;" |Telephony modules in Yate
 
|-
 
|colspan="2" style="text-align:center;"|SIP
 
|colspan="2" style="text-align:center;"|H323
 
|colspan="2" style="text-align:center;"|MGCP
 
|colspan="2" style="text-align:center;"|IAX2(IAX1)
 
|colspan="2" style="text-align:center;"|JINGLE
 
|colspan="2" style="text-align:center;"|JABBER
 
|-
 
|About SIP||SIP Features||About H323|| H323 Features||About MGCP||MGCP Features||About IAX||IAX Features||About JINGLE||JINGLE Features||About JABBER||JABBER Features
 
|-
 
|[[SIP in Yate]]
 
|[[SIP Client]]
 
|[[H323 channel module]]
 
|[[H323 Gatekeeper And Multiple Endpoint Server]]
 
|[[MGCP call agent module]]
 
|[[Configuring Mediant MGCP]]
 
|[[IAX|IAX channel]]
 
|[[Yate as IAX server and YateClient as IAX client]]
 
|[[Yjinglechan]]
 
|[[Jabber Client With Jingle Yate Server]]
 
|[[Jabber Client Module]]
 
|[[Building Jabber server using Yate]]
 
|-
 
| [[SIP Listeners in Yate]]
 
| [[SIP Features Module]]
 
|
 
|[[H323 To SIP Signalling Proxy]]
 
|
 
|[[Configuration for a Mediant MP-114 FXS analog gateway]]
 
|
 
|[[Connecting To IAXTEL]]
 
|
 
|[[Connecting to GMail]]
 
|[[Jabber Server Module]]
 
|[[Jbfeatures|Jbfeatures Module]]
 
|-
 
|[[SIP Messages]]
 
|[[SIP Send DTMFs]]
 
|
 
|[[H323 Send DTMFs]]
 
|colspan="8" rowspan="8"|
 
|-
 
|[[SIP Routing in Yate]]
 
|[[SIP Attended Call Transfer In Cluster]]
 
|
 
|[[Compiling Yate with H323plus support]]
 
|-
 
|[[SIP Configuration File]]
 
|[[SIP Flood Protection]]
 
|colspan="10" rowspan="6"|
 
|-
 
|rowspan="5"|
 
|[[SIP Generic Message]]
 
|-
 
|[[SIP SBC]]
 
|-
 
|[[xsip.generate]]
 
|-
 
|[[SIP query for CNAM and LNP]]
 
|-
 
|[[SIP NAT]]
 
|-
 
|}
 
 
-->
 
 
 
 
==Session Initiation Protocol(SIP)==
 
==Session Initiation Protocol(SIP)==
  
 
The Session Initiation Protocol(SIP) is an signaling protocol widely used for controlling communication sessions such as voice and video calls over Internet Protocol(IP).
 
The Session Initiation Protocol(SIP) is an signaling protocol widely used for controlling communication sessions such as voice and video calls over Internet Protocol(IP).
  
{|class="wikitable"
+
{|class="yate-table"
 
+
|class="yate-header-left"|'''About'''
| style="width:500px; vertical-align:top; border:1px solid #fb9508;background-color:#fef0de;"
+
|class="yate-header-right"|'''Features'''
!About SIP
+
|style="background-color:#fef0de;width:500px;border:1px solid #fb9508;vertical-align:top;"
+
!SIP Features
+
 
|-
 
|-
|colspan="2" class="article-content"|
+
|class="yate-content-left"|
<div class="bullet">&nbsp;</div><div class="content"><font class="title">;[[SIP in Yate]]</font>  <br/>
+
* [[SIP in Yate]]
;[[SIP in Yate]]
+
SIP protocol in Yate
: SIP protocol in Yate
+
* [[SIP Security in Yate]]
; [[SIP Security in Yate]]
+
TLS and SRTP in Yate
: TLS and SRTP in Yate
+
* [[SIP Configuration File]]
;[[SIP Configuration File]]
+
Main configuration file for SIP module in Yate.
:Main configuration file for SIP module in Yate.
+
* [[SIP Methods]]
<!--;[[Listeners in Yate]]
+
How Yate processes SIP request methods and how to enable methods that are not handled by default.
:Listeners (TCP, UDP, TLS) specify on which network interfaces to listen. -->
+
* [[SIP Features Module]]
;[[SIP Methods]]
+
SIP features module that implements SUBSCRIBE and NOTIFY Methods.
:How Yate processes SIP request methods and how to enable methods that are not handled by default.
+
* [[SIP Routing in Yate]]
;[[SIP Features Module]]  
+
Route to a SIP channel and a SIP Line.
:SIP features module that implements SUBSCRIBE and NOTIFY Methods.
+
* [[SIP Client]]
;[[SIP Routing in Yate]]  
+
Implementation and SIP Client features in Yate
:Route to a SIP channel and a SIP Line.
+
  
;[[SIP Client]]
+
|class="yate-content-right"|
: Implementation and SIP Client features in Yate
+
* [[SIP Features Module]]
| style="width:500px; vertical-align:top; border:1px solid #aaa;" |
+
SIP features module that implements SUBSCRIBE and NOTIFY methods.
;SIP Features
+
* [[SIP Send DTMFs]]
;[[SIP Features Module]]  
+
How to do configurations related to DTMFs in SIP channel.
:SIP features module that implements SUBSCRIBE and NOTIFY methods  
+
* [[SIP Attended Call Transfer In Cluster]]
;[[SIP Send DTMFs]]  
+
How to configure Yate to handle a SIP attended call transfer for an unknown call leg in the cluster node.
:How to do configurations related to DTMFs in SIP channel.
+
* [[SIP Flood Protection]]
;[[SIP Attended Call Transfer In Cluster]]  
+
Yate provides a protection mechanism against several types of SIP flood attacks.
:How to configure Yate to handle a SIP attended call transfer for an unknown call leg in the cluster node
+
* [[SIP SBC]]
;[[SIP Flood Protection]]  
+
Describes how Yate can be used as a SIP session border controller.
:Yate provides a protection mechanism against several types of SIP flood attacks.
+
* [[xsip.generate]]
;[[SIP SBC]]  
+
Use this message to initiate the transmission of a SIP request.
:Describes how Yate can be used as a SIP session border controller.
+
* [[SIP query for CNAM and LNP]]
;[[xsip.generate]]  
+
Feature used in a routing module that allows Yate to query CNAM and LNP databases over the SIP protocol.
:Use this message to initiate the transmission of a SIP request.  
+
* [[SIP NAT|SIP with NAT]]
;[[SIP query for CNAM and LNP]]  
+
Resolving SIP traversal problem by Yate.
: Feature used in a routing module that allows Yate to query CNAM and LNP databases over the SIP protocol.
+
* [[How_to_setup_chat_and_short_file_transfer_using_MESSAGE_Request_Method|How to use MESSAGE and PUBLISH requests]]
;[[SIP NAT|SIP with NAT]]  
+
Example on how to handle custom SIP requests.
<!--: Describes how Yate as a SIP Server can pass the voice (RTP) through a NAT.-->
+
:Resolving SIP traversal problem by Yate.
+
 
|}
 
|}
  
 +
== H323 Protocol==
  
 +
H.323 is a standard that specifies the components, protocols and procedures that provide multimedia communication services - real-time audio, video, and data communications - over packet-based networks.
  
 +
{|class="yate-table"
 +
|class="yate-header-left"|'''About'''
 +
|class="yate-header-right"|'''Features'''
 +
|-
 +
|class="yate-content-left"|
 +
* [[H323 channel module]]
 +
Configuration file used to configure H323 protocol in Yate
 +
* [[OpenH323|Compiling Yate with OpenH323 support]]
 +
Installing and compiling OpenH323 - stable version to use with Yate
 +
* [[Compiling Yate with H323plus support]]
 +
How to compile Yate with H323plus support - <font color="red">unstable version</font> to use with Yate
  
<!--
+
|class="yate-content-right"|
{| style="background:transparent;"
+
* [[Yate as H323 GateKeeper and YateClient as H323 client]]
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
Configure H323 Gatekeeper And Multiple Endpoint Server
;About SIP
+
* [[H323 To SIP Signalling Proxy]]
;[[SIP in Yate]]
+
Configure in Yate H323 To SIP Signalling Proxy
:Describes the implementation of the SIP protocol in Yate and some SIP features.
+
* [[H323 Send DTMFs]]
;[[Listeners in Yate]]  
+
Describes DTMFs send related to h323 channel.
:Listeners (TCP, UDP, TLS) specify on which network interfaces to listen.
+
;[[SIP Methods]]
+
:How Yate processes SIP request methods and how to enable methods that are not handled by default.
+
;[[SIP Features Module]]
+
:Describes SIP features module that implements SUBSCRIBE and NOTIFY methods
+
;[[SIP Routing in Yate]]
+
:Route to a SIP channel and a SIP Line.
+
;[[SIP Configuration File]]
+
:Main configuration file for SIP module in Yate.
+
;[[SIP Client]]
+
: Implementation and SIP Client features in Yate
+
 
+
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
;SIP Features
+
;[[SIP Features Module]]
+
:Describes SIP features module that implements SUBSCRIBE and NOTIFY methods
+
;[[SIP Send DTMFs]]  
+
: Describes configurations related to DTMFs in SIP channel.
+
;[[SIP Attended Call Transfer In Cluster]]
+
: How to configure Yate to handle a SIP attended call transfer for an unknown call leg in the cluster node
+
;[[SIP Flood Protection]]
+
: Yate provides a protection mechanism against several types of SIP flood attacks.
+
;[[SIP SBC]]
+
: Describes how Yate can be used as a SIP session border controller.
+
;[[xsip.generate]]
+
:Use this message to initiate the transmission of a SIP request.
+
;[[SIP query for CNAM and LNP]]
+
: Feature used in a routing module that allows Yate to query CNAM and LNP databases over the SIP protocol.
+
;[[SIP NAT|SIP with NAT]]
+
: Describes how Yate as a SIP Server can pass the voice (RTP) through a NAT.
+
|}-->
+
 
+
== H323 ==
+
 
+
H.323 is a standard that specifies the components, protocols and procedures that provide multimedia communication services - real-time audio, video, and data communications - over packet-based networks.
+
 
+
{| style="background:transparent;"
+
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
; About  H323
+
  
 
|}
 
|}
Line 177: Line 74:
 
Media Gateway Control Protocol is a signalling and call control protocol used within Voice over IP (VoIP) systems that typically inter-operate with the public switched telephone network (PSTN).
 
Media Gateway Control Protocol is a signalling and call control protocol used within Voice over IP (VoIP) systems that typically inter-operate with the public switched telephone network (PSTN).
  
{| style="background:transparent;"
+
{|class="yate-table"
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-header-left"|'''About'''
; About MGCP
+
|class="yate-header-right"|'''Features'''
 +
|-
 +
|class="yate-content-left"|
 +
* [[MGCP call agent module]]
 +
This module implements the Call Agent part of MGCP allowing Yate to control analog or digital Media Gateways
 +
 
 +
|class="yate-content-right"|
 
|}
 
|}
  
Line 185: Line 88:
  
 
IAX2 is a VoIP protocol that carries both signaling and media on the same port.
 
IAX2 is a VoIP protocol that carries both signaling and media on the same port.
 +
{|class="yate-table"
 +
|class="yate-header-left"|'''About'''
 +
|class="yate-header-right"|'''Features'''
 +
|-
 +
|class="yate-content-left"|
 +
* [[IAX]]
 +
Main configuration file for IAX channel module in Yate.
  
{| style="background:transparent;"
+
|class="yate-content-right"|
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
* [[How to configure Yate as IAX server|Yate as IAX server and YateClient as IAX client]]
; About IAX
+
Setup to configure Yate as a IAX Server and YateClient as a IAX client
 
|}
 
|}
  
== JINGLE ==
+
== JINGLE Protocol==
  
<!--This module supports the Jingle protocol by implementing XMPP as an external component of another server.-->
+
Jingle - Google talk/Google voice.
Jingle is an extension to the Extensible Messaging and Presence Protocol (XMPP) which adds peer-to-peer (P2P) session control (signaling) for multimedia interactions such as in Voice over IP (VoIP) or videoconferencing communications.
+
<!--Jingle is an extension to the Extensible Messaging and Presence Protocol (XMPP) which adds peer-to-peer (P2P) session control (signaling) for multimedia interactions such as in Voice over IP (VoIP) or videoconferencing communications.-->
  
{| style="background:transparent;"
+
{|class="yate-table"
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-header-left"|'''About'''
; About JINGLE
+
|class="yate-header-right"|'''Features'''
 +
|-
 +
|class="yate-content-left"|
 +
* [[Yjinglechan| JINGLE Module]]
 +
How to configure JINGLE module in Yate
 +
 
 +
|class="yate-content-right"|
 +
* [[Jabber Client With Jingle Yate Server]]
 +
How to configure a Jabber Client with Jingle Yate Server
 +
* [[Connecting to GMail]]
 +
Learn how to route calls to contacts using Gmail account in accfile.conf
 
|}
 
|}
  
==JABBER or XMPP(Extensible Messaging and Presence Protocol) ==
+
==JABBER or XMPP(Extensible Messaging and Presence Protocol)==
  
 
Extensible Messaging and Presence Protocol(XMPP) is a communications protocol for message-oriented middleware based on XML(Extensible Markup Language).
 
Extensible Messaging and Presence Protocol(XMPP) is a communications protocol for message-oriented middleware based on XML(Extensible Markup Language).
{| style="background:transparent;"
+
 
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
{|class="yate-table"
; About Jabber
+
|class="yate-header-left"|'''About'''
 +
|class="yate-header-right"|'''Features'''
 +
|-
 +
|class="yate-content-left"|
 +
* [[Jabber Client Module]]
 +
Configuring Yate as a Jabber Client
 +
* [[Jabber Server Module]]
 +
Configuring Yate as a Jabber Server
 +
 
 +
|class="yate-content-right"|
 +
* [[Jbfeatures|Features for Jabber Server]]
 +
The features for Jabber Server
 +
* [[Building Jabber server using Yate]]
 +
Describes the steps to follow to build a Jabber server using Yate.
 
|}
 
|}
<!--
 
  
{|class="wikitable"
+
==SS7 Protocol suite==
!Telephony modules
+
 
! Features
+
[http://en.wikipedia.org/wiki/Signaling_System_7 Signaling System #7] (also known as C7) is a suite of communication protocols used in national and international telephony networks to provide signaling of calls and additional services.
 +
 
 +
Please read our [[Introduction|Introduction to SS7]] to get the basic concepts. This can help you find out what components exist in a SS7 network, how they interact and which ones you need.
 +
 
 +
{|class="yate-table"
 +
|class="yate-header-left"|'''About'''
 +
|class="yate-header-right"|'''Features'''
 
|-
 
|-
|[[SIP channel module|SIP]]
+
|class="yate-content-left"|
|[[SIP features]]
+
* [[Introduction]]
|-
+
SS7 Introduction
|[[H323_channel_module|H323]]
+
* [[Terminology_for_Yate_implementation_of_SS7 | Terminology]]
|[[H323 features]]
+
Terminology for Yate implementation of SS7
|-
+
* [[SS7 Implementation]]
|[[MGCP_call_agent_module|MGCP]]
+
List on SS7 components inplemented in Yate.
|[[MGCP features]]
+
* [[Interconnecting on SS7]]
|-
+
To connect to another SS7 network you will need to configure some parameters so the two sides speak the same language.
|[[IAX|IAX2 (IAX1)]]
+
* [[Signalling]]
|[[IAX features]]
+
This is a brief introduction on how the PSTN signalling modules are working together in Yate.
|-
+
 
|[[Yjinglechan|JINGLE]]
+
|class="yate-content-right"|
|[[JINGLE features]]
+
* [[How_To's#SS7_Setups | Usage Scenarios]]
|-
+
Miscellaneous setups with various features: MTP2, MTP3, ISUP, CAMEL MAP, M3UA etc.
|[[JABBER]]
+
* [[M2PA VS M2UA]]
|[[JABBER features]]
+
A comparison between M2UA and M2PA
 +
* [[SCCP_Introduction | SCCP]]
 +
SCCP represents a layer 4 protocol from SS7 signaling stack. It runs over a SS7 layer 3 protocol like MTP3 or M3UA
 +
* [[SS7 MTP2 in Yate | MTP2]]
 +
MTP2 links are the classic way of interconnecting SS7 over TDM.
 +
* [[Configure M3UA | M3UA]]
 +
This is a SIGTRAN protocol and it was designed for remote processing of SS7 messages above MTP3 protocol, mostly ISUP and SCCP.
 +
* [[Configuring_M2PA | M2PA]]
 +
M2PA is a peer to peer SS7 layer 2 protocol. It was designed to replace MTP2 protocol in the IP scenarios.
 +
* [[Configure_M2UA | M2UA]]
 +
This is a SIGTRAN protocol allowing to access a remote MTP2 implementation on a Signaling Gateway.
 +
|}
 +
 
 +
==Miscellaneous==
 +
Various articles that apply to more than one protocol
 +
 
 +
{|class="yate-table"
 +
|class="yate-header-right"|'''Articles'''
 
|-
 
|-
 +
|class="yate-content-right"|
 +
* [[Call End Causes]]
 +
Description of call end causes and errors in various protocols
 
|}
 
|}
-->
+
 
 +
 
  
 
'''See also'''
 
'''See also'''
 +
 +
*[[About VoIP]]
 +
*[[About PSTN]]
 +
*[[About ISDN]]
 
*[[Mobile_networks|Mobile Networks]]
 
*[[Mobile_networks|Mobile Networks]]
 +
 +
[[Category:SIP]] [[Category:H323]] [[Category:IAX]] [[Category:Jabber]] [[Category:Jingle]]

Latest revision as of 13:49, 27 October 2017

Contents

[edit] Session Initiation Protocol(SIP)

The Session Initiation Protocol(SIP) is an signaling protocol widely used for controlling communication sessions such as voice and video calls over Internet Protocol(IP).

About Features

SIP protocol in Yate

TLS and SRTP in Yate

Main configuration file for SIP module in Yate.

How Yate processes SIP request methods and how to enable methods that are not handled by default.

SIP features module that implements SUBSCRIBE and NOTIFY Methods.

Route to a SIP channel and a SIP Line.

Implementation and SIP Client features in Yate

SIP features module that implements SUBSCRIBE and NOTIFY methods.

How to do configurations related to DTMFs in SIP channel.

How to configure Yate to handle a SIP attended call transfer for an unknown call leg in the cluster node.

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

Describes how Yate can be used as a SIP session border controller.

Use this message to initiate the transmission of a SIP request.

Feature used in a routing module that allows Yate to query CNAM and LNP databases over the SIP protocol.

Resolving SIP traversal problem by Yate.

Example on how to handle custom SIP requests.

[edit] H323 Protocol

H.323 is a standard that specifies the components, protocols and procedures that provide multimedia communication services - real-time audio, video, and data communications - over packet-based networks.

About Features

Configuration file used to configure H323 protocol in Yate

Installing and compiling OpenH323 - stable version to use with Yate

How to compile Yate with H323plus support - unstable version to use with Yate

Configure H323 Gatekeeper And Multiple Endpoint Server

Configure in Yate H323 To SIP Signalling Proxy

Describes DTMFs send related to h323 channel.

[edit] Media Gateway Control Protocol(MGCP)

Media Gateway Control Protocol is a signalling and call control protocol used within Voice over IP (VoIP) systems that typically inter-operate with the public switched telephone network (PSTN).

About Features

This module implements the Call Agent part of MGCP allowing Yate to control analog or digital Media Gateways

[edit] Inter-Asterisk eXchange(IAX/IAX2)

IAX2 is a VoIP protocol that carries both signaling and media on the same port.

About Features

Main configuration file for IAX channel module in Yate.

Setup to configure Yate as a IAX Server and YateClient as a IAX client

[edit] JINGLE Protocol

Jingle - Google talk/Google voice.

About Features

How to configure JINGLE module in Yate

How to configure a Jabber Client with Jingle Yate Server

Learn how to route calls to contacts using Gmail account in accfile.conf

[edit] JABBER or XMPP(Extensible Messaging and Presence Protocol)

Extensible Messaging and Presence Protocol(XMPP) is a communications protocol for message-oriented middleware based on XML(Extensible Markup Language).

About Features

Configuring Yate as a Jabber Client

Configuring Yate as a Jabber Server

The features for Jabber Server

Describes the steps to follow to build a Jabber server using Yate.

[edit] SS7 Protocol suite

Signaling System #7 (also known as C7) is a suite of communication protocols used in national and international telephony networks to provide signaling of calls and additional services.

Please read our Introduction to SS7 to get the basic concepts. This can help you find out what components exist in a SS7 network, how they interact and which ones you need.

About Features

SS7 Introduction

Terminology for Yate implementation of SS7

List on SS7 components inplemented in Yate.

To connect to another SS7 network you will need to configure some parameters so the two sides speak the same language.

This is a brief introduction on how the PSTN signalling modules are working together in Yate.

Miscellaneous setups with various features: MTP2, MTP3, ISUP, CAMEL MAP, M3UA etc.

A comparison between M2UA and M2PA

SCCP represents a layer 4 protocol from SS7 signaling stack. It runs over a SS7 layer 3 protocol like MTP3 or M3UA

MTP2 links are the classic way of interconnecting SS7 over TDM.

This is a SIGTRAN protocol and it was designed for remote processing of SS7 messages above MTP3 protocol, mostly ISUP and SCCP.

M2PA is a peer to peer SS7 layer 2 protocol. It was designed to replace MTP2 protocol in the IP scenarios.

This is a SIGTRAN protocol allowing to access a remote MTP2 implementation on a Signaling Gateway.

[edit] Miscellaneous

Various articles that apply to more than one protocol

Articles

Description of call end causes and errors in various protocols


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers