Categorygithub.com/Amrrx/go-sccp
modulepackage
0.0.0-20221010090128-9ad1fc43ae89
Repository: https://github.com/amrrx/go-sccp.git
Documentation: pkg.go.dev

# README

go-sccp: SCCP in Golang

Package sccp provides simple and painless handling of SCCP(Signaling Connection Control Part) in SS7/SIGTRAN stack, implemented in the Go Programming Language.

CircleCI GoDoc License

Disclaimer

This is still an experimental project, and currently in its very early stage of development. Any part of implementations(including exported APIs) may be changed before released as v1.0.0.

Getting started

Run go mod tidy to download the dependency, and you're ready to start developing.

Supported Features

Message Types

Message typeAbbreviationReferenceSupported?
Connection requestCR4.2-
Connection confirmCC4.3-
Connection refusedCREF4.4-
ReleasedRLSD4.5-
Release completeRLC4.6-
Data form 1DT14.7-
Data form 2DT24.8-
Data acknowledgementAK4.9-
UnitdataUDT4.10Yes
Unitdata serviceUDTS4.11-
Expedited dataED4.12-
Expedited data acknowledgementEA4.13-
Reset requestRSR4.14-
Reset confirmRSC4.15-
Protocol data unit errorERR4.16-
Inactivity testIT4.17-
Extended unitdataXUDT4.18-
Extended unitdata serviceXUDTS4.19-
Long unitdataLUDT4.20-
Long unitdata serviceLUDTS4.21-

Parameters

Parameter nameReferenceSupported?
End of optional parameters3.1
Destination local reference3.2
Source local reference3.3
Called party address3.4Yes
Calling party address3.5Yes
Protocol class3.6Yes
Segmenting/reassembling3.7
Receive sequence number3.8
Sequencing/segmenting3.9
Credit3.10
Release cause3.11
Return cause3.12
Reset cause3.13
Error cause3.14
Refusal cause3.15
Data3.16Yes
Segmentation3.17
Hop counter3.18
Importance3.19
Long data3.20

Author(s)

Yoshiyuki Kurauchi (Website / LinkedIn)

I'm always open to welcome co-authors! Please feel free to talk to me.

LICENSE

MIT

# Packages

No description provided by the author
No description provided by the author
Package utils provides some utilities which might be useful specifically for GTP(or other telco protocols).

# Functions

NewHeader creates a new Header.
NewUDT creates a new UDT.
ParseHeader decodes given byte sequence as a SCCP common header.
ParseMessage decodes the byte sequence into Message by Message Type.
ParseUDT decodes given byte sequence as a SCCP UDT.

# Constants

Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.
Message Type definitions.

# Structs

Header is a SCCP common header.
UDT represents a SCCP Message Unit Data(UDT).

# Interfaces

Message is an interface that defines SCCP messages.

# Type aliases

MsgType is type of SCCP message.
UnsupportedTypeError indicates the value in Version field is invalid.