Telephony

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Session Initiation Protocol (SIP))
(SS7 Protocol suite)
 
(188 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.
 +
* [[SIP Methods]]
 +
How Yate processes SIP request methods and how to enable methods that are not handled by default.
 +
* [[SIP Features Module]]
 +
SIP features module that implements SUBSCRIBE and NOTIFY Methods.
 +
* [[SIP Routing in Yate]]
 +
Route to a SIP channel and a SIP Line.
 +
* [[SIP Client]]
 +
Implementation and SIP Client features in Yate
 +
 
 +
|class="yate-content-right"|
 +
* [[SIP Features Module]]
 +
SIP features module that implements SUBSCRIBE and NOTIFY methods.
 +
* [[SIP Send DTMFs]]
 +
How to do 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]]
 +
Resolving SIP traversal problem by Yate.
 +
* [[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.
 +
|}
 +
 
 +
== 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'''
 
|-
 
|-
|About SIP||SIP Features||About H323|| H323 Features||About MGCP||MGCP Features||About IAX||IAX Features||About JINGLE||JINGLE Features||About JABBER||JABBER Features
+
|class="yate-content-left"|
|-
+
* [[H323 channel module]]
|[[SIP in Yate]]
+
Configuration file used to configure H323 protocol in Yate
|[[SIP Client]]
+
* [[OpenH323|Compiling Yate with OpenH323 support]]
|[[H323 channel module]]
+
Installing and compiling OpenH323 - stable version to use with Yate
|[[H323 Gatekeeper And Multiple Endpoint Server]]
+
* [[Compiling Yate with H323plus support]]
|[[MGCP call agent module]]
+
How to compile Yate with H323plus support - <font color="red">unstable version</font> to use with Yate
|[[Configuring Mediant MGCP]]
+
 
|[[IAX|IAX channel]]
+
|class="yate-content-right"|
|[[Yate as IAX server and YateClient as IAX client]]
+
* [[Yate as H323 GateKeeper and YateClient as H323 client]]
|[[Yjinglechan]]
+
Configure H323 Gatekeeper And Multiple Endpoint Server
|[[Jabber Client With Jingle Yate Server]]
+
* [[H323 To SIP Signalling Proxy]]
|[[Jabber Client Module]]
+
Configure in Yate H323 To SIP Signalling Proxy
|[[Building Jabber server using Yate]]
+
* [[H323 Send DTMFs]]
|-
+
Describes DTMFs send related to h323 channel.
| [[SIP Listeners in Yate]]
+
 
| [[SIP Features Module]]
+
|}
|
+
 
|[[H323 To SIP Signalling Proxy]]
+
== Media Gateway Control Protocol(MGCP) ==
|
+
 
|[[Configuration for a Mediant MP-114 FXS analog gateway]]
+
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).
|
+
 
|[[Connecting To IAXTEL]]
+
{|class="yate-table"
|
+
|class="yate-header-left"|'''About'''
|[[Connecting to GMail]]
+
|class="yate-header-right"|'''Features'''
|[[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]]
+
 
|-
 
|-
 +
|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"|
 
|}
 
|}
  
-->
+
== Inter-Asterisk eXchange(IAX/IAX2) ==
==Session Initiation Protocol (SIP)==
+
  
The SIP module in Yate allows you to make calls using SIP protocol.
+
IAX2 is a VoIP protocol that carries both signaling and media on the same port.
{|
+
{|class="yate-table"
!About SIP!! SIP Features
+
|class="yate-header-left"|'''About'''
|rowspan="5"|[[SIP in Yate]] - this page describes the SIP protocol and some SIP features in Yate
+
|class="yate-header-right"|'''Features'''
[[SIP Listeners in Yate]] - building a listener (TCP, UDP, TLS) "tells" Yate on which network interfaces to listen. 
+
|-
[[SIP Messages]] - allows Yate to process SIP methods by handling messages by their names.
+
|class="yate-content-left"|
[[SIP Routing in Yate]] - configure a SIP channel or a SIP line.
+
* [[IAX]]
[[SIP Configuration File]] - configuration file for sip module in Yate
+
Main configuration file for IAX channel module in Yate.
|rowspan="5"|[[SIP Client]] - how to build a SIP Client in Yate used as a Client
+
 
[[SIP Features Module]] - describes SIP features that are implemented in Sip Features Module and not in ysipchan
+
|class="yate-content-right"|
[[SIP Send DTMFs]] - this page describes DTMFs send related configuration of SIP channel.
+
* [[How to configure Yate as IAX server|Yate as IAX server and YateClient as IAX client]]
[[SIP Attended Call Transfer In Cluster]] - describes how to configure Yate to handle a SIP attended call transfer for an unknown call leg.
+
Setup to configure Yate as a IAX Server and YateClient as a IAX client
[[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 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 ==
+
== JINGLE 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.
+
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.-->
  
:* About H323
+
{|class="yate-table"
:** [[H323 channel module]]
+
|class="yate-header-left"|'''About'''
:*  H323 Features
+
|class="yate-header-right"|'''Features'''
:**[[H323 Gatekeeper And Multiple Endpoint Server]]
+
|-
:** [[H323 To SIP Signalling Proxy]]
+
|class="yate-content-left"|
:** [[H323 Send DTMFs]]
+
* [[Yjinglechan| JINGLE Module]]
:** [[Compiling Yate with H323plus support]]
+
How to configure JINGLE module in Yate
  
== MGCP ==
+
|class="yate-content-right"|
:* About MGCP
+
* [[Jabber Client With Jingle Yate Server]]
:** [[MGCP call agent module]] - this module implements the Call Agent part of MGCP allowing Yate to control analog or digital Media Gateways
+
How to configure a Jabber Client with Jingle Yate Server
:* MGCP Features
+
* [[Connecting to GMail]]
:** [[Configuring Mediant MGCP]]
+
Learn how to route calls to contacts using Gmail account in accfile.conf
:** [[Configuration for a Mediant MP-114 FXS analog gateway]]
+
|}
  
== 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).
  
:* About IAX
+
{|class="yate-table"
:** [[IAX]] - explanation how the connection works with trunked packets
+
|class="yate-header-left"|'''About'''
:* IAX Features
+
|class="yate-header-right"|'''Features'''
:** [[Yate as IAX server and YateClient as IAX client]] - setup to configure Yate as a IAX Server and YateClient as a IAX client
+
|-
:**[[Connecting To IAXTEL]] - setup for connecting to IAXTEL
+
|class="yate-content-left"|
 +
* [[Jabber Client Module]]
 +
Configuring Yate as a Jabber Client
 +
* [[Jabber Server Module]]
 +
Configuring Yate as a Jabber Server
  
== 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 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