This is a support module providing a standard factory for the common lower layer of SIGTRAN protocols. Here is where the IP addresses, ports and protocols are configured.
Each connection defined by this module is referenced from ysigchan or some other module.
; Each section in this file describes a SIGTRAN connection ; Connections are referenced from other configurations describing the upper layer ;[name-of-connection] ; The name of the section identifies the connection ; type: keyword: Socket type - sctp, tcp, udp, unix ;type=sctp ; stream: bool: Socket connection type. ; Designed for SCTP sockets to create a stream socket or a sequenced packet socket ; NOTE: for M2PA if stream is false the M2PA autostart should be on true on both ends, ; if stream is true the M2PA autostart must be true only at one end ;stream=true for TCP or UNIX sockets, false for other types ; local: string: Primary local address ; Format is ipv4:port like: 22.214.171.124:3566 ;local= ; localN: string: Additional local addresses, SCTP only ; Multiple addresses can be specified by incrementing the 1-based index at the end of 'local' ; The address format is ip:port like: ; local1=126.96.36.199:3566 ; local2=188.8.131.52:3566 ;local1= ; remote: string: Primary remote address ; Format is ipv4:port like: 184.108.40.206:3566 ;remote= ; remoteN: string: Additional remote addresses, SCTP only ; Multiple addresses can be specified by incrementing the 1-based index at the end of 'remote' ; The address format is ip:port like: ; remote1=220.127.116.11:3566 ; remote2=18.104.22.168:3566 ;remote1= ; endpoint: bool: Set to true if this is an endpoint that actively tries to connect, ; false to listen for remote connections ;endpoint=false ; linger: int; How much to block waiting for socket to close. ;linger = 0 ; SCTP parameters ; NOTE these parameters will be set only for SCTP sockets ; Note! On some platforms this parameters may not be supported ; Set initial retransmission interval in milliseconds ; Ex: rto_initial = 400 ;rto_initial= ; Set maximum retransmission interval in milliseconds ; Ex: rto_max = 800 ;rto_max= ; Set minimum retransmission interval in milliseconds ; Ex: rto_min = 200 ;rto_min= ; Set heartbeat interval in milliseconds ; Ex: hb_interval = 5000 ;hb_interval= ; Set maximum number of retransmissions before the SCTP connection is considered down ; Ex: max_retrans = 5 ;max_retrans= ; Enable / disable SCTP heartbeat. Default is enabled ; Ex: hb_enabled = true ;hb_enabled= ; Set sctp delayed ack parameters ; Note! Both sack_delay and sack_freq must be present and have values different than 0 to be successfully applied ; Set ack time interval for sccp to cumulative acknowledge the received packets ; Max value 500 in milliseconds ; Ex: sack_delay = 50 ;sack_delay= ; Set the maximum number of unacknowledged packets ; Ex: sack_freq = 2 ; Note! If you set this to 1 you will disable the sctp acknowledge algorithm ;sack_freq=
This is a working example for a SCTP based M2PA link and linkset that sends the packets back.
[localhost] type=sctp local=127.0.0.1:3000 remote=127.0.0.1:3000 endpoint=yes
[local-linkset] type=ss7-mtp3 netind2pctype=ITU local=ITU,0-0-3 adjacent=ITU,0-0-1 adjacent=ITU,0-0-2 link=local-link [local-link] type=ss7-m2pa sig=localhost autostart=yes
This modules is controlled indirectly by ysigchan using commands addressing the SIGTRAN component.
The SIGTRAN standards only support the SCTP protocol which is not always available in the operating system.
In Yate the SCTP sockets are optional and are provided by a module like lkSCTP.
All other transport protocols are not standard but usually available.