SS7 MTP2 in Yate

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "The [http://en.wikipedia.org/wiki/Message_Transfer_Part#Signalling_Link_Functional_Level MTP2] links are the classic way of interconnecting SS7 over [http://en.wikipedia.org/w...")
 

Latest revision as of 11:55, 27 October 2017

The MTP2 links are the classic way of interconnecting SS7 over TDM.
MTP2 configurations depends both on the local TDM card and on the remote side requirements.

Contents

[edit] Implementation

MTP2 implementation in YATE is located in ysig library. The methods declaration is in libs/ysig/yatesig.h and the implementation in libs/ysig/layer2.cpp. Class name is SS7MTP2.

[edit] Configuration

From sample ysigchan.conf file:

; Example of a SS7 MTP2 link
;[link1]
; type: keyword: Specify the link type
; Allowed values:
;  ss7-mtp2:      SS7 Message Transfer Part - Layer 2
;type=ss7-mtp2

; autostart: bool: Automatically try to align the MTP2 at startup or on failure
; This should be enabled (default) for normal operation
;autostart=yes

; emergency: boolean: Emergency align SS7 MTP2 layer at startup
;emergency=yes

; autoemergency: boolean: Emergency align link if owner linkset is down
;autoemergency=yes

; filllink: boolean: Configure MTP2 to request link fill (packet repeat) when
;  sending FISU or LSSU packets
;filllink=yes

; maxerrors: int: Number of consecutive errors that cause realignment
; This parameter is constrained between 8 and 256
; When in proving interval this setting is ignored and realignment occurs at
;  4 errors in normal proving or 1 error in emergency proving
;maxerrors=64

; rxunderrun: int: Maximum interval in ms between two packets before we report
;  an underrun condition, zero to disable or 25+
;rxunderrun=0

; layer2dump: string: Filename to dump MTP2 packets to
;layer2dump=

[edit] Status

[edit] Control

MTP2 Control commands:

Pause control MTP2_NAME pause Pause this link message delivery
Resume control MTP2_NAME resume Align this link if it is not already aligned and it can auto start
Align control MTP2_NAME align Force this to start Align algorithm


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers