Telephony

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(IAX)
(SS7 Protocol suite)
 
(172 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
==Session Initiation Protocol(SIP)==
  
Yate is a telephony engine who's main function is to connect together call legs to external devices or to internal server resources and for that he use a variety of VoIP protocols that can be used without the need of a special hardware as SIP, H.323, IAX2 or Jingle. In the next chapters you will find more informations about configuring each telephony protocol and the features supported by Yate.
+
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"
|colspan="12" style="text-align:center;font-weight:bold;" |Telephony modules in Yate
+
|class="yate-header-left"|'''About'''
 +
|class="yate-header-right"|'''Features'''
 
|-
 
|-
|colspan="2" style="text-align:center;"|SIP
+
|class="yate-content-left"|
|colspan="2" style="text-align:center;"|H323
+
* [[SIP in Yate]]
|colspan="2" style="text-align:center;"|MGCP
+
SIP protocol in Yate
|colspan="2" style="text-align:center;"|IAX2(IAX1)
+
* [[SIP Security in Yate]]
|colspan="2" style="text-align:center;"|JINGLE
+
TLS and SRTP in Yate
|colspan="2" style="text-align:center;"|JABBER
+
* [[SIP Configuration File]]
|-
+
Main configuration file for SIP module in Yate.
|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 Methods]]
|-
+
How Yate processes SIP request methods and how to enable methods that are not handled by default.
|[[SIP in Yate]]
+
* [[SIP Features Module]]
|[[SIP Client]]
+
SIP features module that implements SUBSCRIBE and NOTIFY Methods.
|[[H323 channel module]]
+
* [[SIP Routing in Yate]]
|[[H323 Gatekeeper And Multiple Endpoint Server]]
+
Route to a SIP channel and a SIP Line.
|[[MGCP call agent module]]
+
* [[SIP Client]]
|[[Configuring Mediant MGCP]]
+
Implementation and SIP Client features in Yate
|[[IAX|IAX channel]]
+
 
|[[Yate as IAX server and YateClient as IAX client]]
+
|class="yate-content-right"|
|[[Yjinglechan]]
+
* [[SIP Features Module]]
|[[Jabber Client With Jingle Yate Server]]
+
SIP features module that implements SUBSCRIBE and NOTIFY methods.
|[[Jabber Client Module]]
+
* [[SIP Send DTMFs]]
|[[Building Jabber server using Yate]]
+
How to do configurations related to DTMFs in SIP channel.
|-
+
* [[SIP Attended Call Transfer In Cluster]]
| [[SIP Listeners in Yate]]
+
How to configure Yate to handle a SIP attended call transfer for an unknown call leg in the cluster node.
| [[SIP Features Module]]
+
* [[SIP Flood Protection]]
|
+
Yate provides a protection mechanism against several types of SIP flood attacks.
|[[H323 To SIP Signalling Proxy]]
+
* [[SIP SBC]]
|
+
Describes how Yate can be used as a SIP session border controller.
|[[Configuration for a Mediant MP-114 FXS analog gateway]]
+
* [[xsip.generate]]
|
+
Use this message to initiate the transmission of a SIP request.
|[[Connecting To IAXTEL]]
+
* [[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.
|[[Connecting to GMail]]
+
* [[SIP NAT|SIP with NAT]]
|[[Jabber Server Module]]
+
Resolving SIP traversal problem by Yate.
|[[Jbfeatures|Jbfeatures Module]]
+
* [[How_to_setup_chat_and_short_file_transfer_using_MESSAGE_Request_Method|How to use MESSAGE and PUBLISH requests]]
|-
+
Example on how to handle custom SIP requests.
|[[SIP Messages]]
+
|}
|[[SIP Send DTMFs]]
+
 
|
+
== H323 Protocol==
|[[H323 Send DTMFs]]
+
 
|colspan="8" rowspan="8"|
+
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.
|-
+
 
|[[SIP Routing in Yate]]
+
{|class="yate-table"
|[[SIP Attended Call Transfer In Cluster]]
+
|class="yate-header-left"|'''About'''
|
+
|class="yate-header-right"|'''Features'''
|[[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]]
+
 
|-
 
|-
 +
|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"|
 +
* [[Yate as H323 GateKeeper and YateClient as H323 client]]
 +
Configure H323 Gatekeeper And Multiple Endpoint Server
 +
* [[H323 To SIP Signalling Proxy]]
 +
Configure in Yate H323 To SIP Signalling Proxy
 +
* [[H323 Send DTMFs]]
 +
Describes DTMFs send related to h323 channel.
 +
 
|}
 
|}
  
-->
+
== Media Gateway Control Protocol(MGCP) ==
==Session Initiation Protocol (SIP)==
+
  
The SIP module in Yate allows you to make calls using SIP protocol.
+
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 SIP
+
|class="yate-header-right"|'''Features'''
;[[SIP in Yate]]
+
|-
:This page describes the SIP protocol and some SIP features in Yate
+
|class="yate-content-left"|
;[[SIP Listeners in Yate]]
+
* [[MGCP call agent module]]
:Building a listener (TCP, UDP, TLS) "tells" Yate on which network interfaces to listen. 
+
This module implements the Call Agent part of MGCP allowing Yate to control analog or digital Media Gateways
;[[SIP Features Module]]
+
 
:Describes SIP features that are implemented in Sip Features Module and not in ysipchan
+
|class="yate-content-right"|
;[[SIP Messages]]
+
:Allows Yate to process SIP methods by handling messages by their names.
+
;[[SIP Routing in Yate]]
+
:Configure a SIP channel or a SIP line.
+
;[[SIP Configuration File]]
+
:configuration file for sip module in Yate
+
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
;[[SIP Features Module]]
+
:Describes SIP features that are implemented in Sip Features Module and not in ysipchan
+
;[[SIP Send DTMFs]]
+
: This page describes DTMFs send related configuration of SIP channel.
+
;[[SIP Attended Call Transfer In Cluster]]
+
: Describes how to configure Yate to handle a SIP attended call transfer for an unknown call leg.
+
;[[SIP Flood Protection]]
+
: Shows how 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 providing security for the internal network of the carrier.
+
;[[SIP Client]]
+
: How to build a SIP Client in Yate used as a Client
+
;[[SIP Generic Message]]
+
:The message and his syntax generated by the ysipchan module on receiving the specified requests.
+
;[[xsip.generate]]  
+
: Another SIP message sent by the ysipchan module requesting the transmission of a SIP request.
+
;[[SIP query for CNAM and LNP]]
+
: Another SIP feature used in a routing module that allows Yate to query [http://en.wikipedia.org/wiki/Caller_id|Caller Name] and [http://en.wikipedia.org/wiki/Local_number_portability Local Number Portability] databases over the SIP protocol.
+
;[[SIP NAT]]
+
: Describes how Yate as a SIP Server can pass the voice (RTP) as a NAT.
+
 
|}
 
|}
  
== H323 ==
+
== Inter-Asterisk eXchange(IAX/IAX2) ==
  
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.
+
IAX2 is a VoIP protocol that carries both signaling and media on the same port.
{| style="background:transparent;"
+
{|class="yate-table"
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-header-left"|'''About'''
; About H323
+
|class="yate-header-right"|'''Features'''
;[[H323 channel module]]
+
|-
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-content-left"|
; H323 Features
+
* [[IAX]]
;[[H323 Gatekeeper And Multiple Endpoint Server]]
+
Main configuration file for IAX channel module in Yate.
: Configure H323 Gatekeeper And Multiple Endpoint Server
+
 
; [[H323 To SIP Signalling Proxy]]
+
|class="yate-content-right"|
: Configure in Yate H323 To SIP Signalling Proxy
+
* [[How to configure Yate as IAX server|Yate as IAX server and YateClient as IAX client]]
; [[H323 Send DTMFs]]
+
Setup to configure Yate as a IAX Server and YateClient as a IAX client
; [[Compiling Yate with H323plus support]]
+
 
|}
 
|}
  
== MGCP ==
+
== JINGLE Protocol==
{| style="background:transparent;"
+
 
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
Jingle - Google talk/Google voice.
; About MGCP
+
<!--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.-->
; [[MGCP call agent module]]
+
 
: This module implements the Call Agent part of MGCP allowing Yate to control analog or digital Media Gateways
+
{|class="yate-table"
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-header-left"|'''About'''
; MGCP Features
+
|class="yate-header-right"|'''Features'''
; [[Configuring Mediant MGCP]]
+
|-
: How to configure Yate with Mediant MGCP
+
|class="yate-content-left"|
; [[Configuration for a Mediant MP-114 FXS analog gateway]]
+
* [[Yjinglechan| JINGLE Module]]
: How to configure Yate to use a Mediant MP-114 FXS analog gateway
+
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
 
|}
 
|}
  
== IAX ==
+
==JABBER or XMPP(Extensible Messaging and Presence Protocol)==
  
Iax module implements IAX protocol that will send / receive trunked audio frames on UDP.
+
Extensible Messaging and Presence Protocol(XMPP) is a communications protocol for message-oriented middleware based on XML(Extensible Markup Language).
  
{| style="background:transparent;"
+
{|class="yate-table"
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
|class="yate-header-left"|'''About'''
; About IAX
+
|class="yate-header-right"|'''Features'''
; [[IAX]]
+
|-
: explanation how the connection works with trunked packets
+
|class="yate-content-left"|
| style="width:50%; vertical-align:top; border:1px solid #aaa;" |
+
* [[Jabber Client Module]]
; IAX Features
+
Configuring Yate as a Jabber Client
; [[Yate as IAX server and YateClient as IAX client]]  
+
* [[Jabber Server Module]]
: Setup to configure Yate as a IAX Server and YateClient as a IAX client
+
Configuring Yate as a Jabber Server
;[[Connecting To IAXTEL]]  
+
: setup for connecting to IAXTEL
+
  
== JINGLE ==
+
|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.
 +
|}
  
This module supports the Jingle protocol by implementing XMPP as an external component of another server.
+
==SS7 Protocol suite==
  
:* About JINGLE
+
[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.
:** [[Yjinglechan| JINGLE Module]]
+
:* JINGLE Features
+
:** [[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) ==
+
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.
:* About Jabber
+
:** [[Jabber Client Module]]
+
:** [[Jabber Server Module]]
+
:* Jabber Features
+
:** [[Building Jabber server using Yate]]
+
:** [[Jbfeatures|Features for Jabber Server]]
+
  
<!--  
+
{|class="yate-table"
 
+
|class="yate-header-left"|'''About'''
{|class="wikitable"
+
|class="yate-header-right"|'''Features'''
!Telephony modules
+
! 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
 
|}
 
|}
-->
+
 
[[Mobile_networks|Mobile Networks]]
+
 
 +
 
 +
'''See also'''
 +
 
 +
*[[About VoIP]]
 +
*[[About PSTN]]
 +
*[[About ISDN]]
 +
*[[Mobile_networks|Mobile Networks]]
 +
 
 +
[[Category:SIP]] [[Category:H323]] [[Category:IAX]] [[Category:Jabber]] [[Category:Jingle]]

Latest revision as of 14: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