Author Topic: Unable to start SCTP listener  (Read 3442 times)

Anton

  • Newbie
  • *
  • Posts: 25
    • View Profile
Unable to start SCTP listener
« on: July 20, 2023, 02:20:19 AM »
None of these examples start a SCTP listener:
https://docs.yate.ro/wiki/Configure_M2UA
https://docs.yate.ro/wiki/Configure_M3UA
https://docs.yate.ro/wiki/Miscellaneous_configurations

For example:

sigtransport.conf
-------------------
[sctp-gw]
type=sctp
stream=true
local=127.0.0.1:2904
endpoint=false <-- not affected!

ysigchan.conf
-------------------
[m3ua-gw]
type=ss7-m3ua-gateway
sig=sctp-gw

It does not start sctp listener:

#lsmod|grep sctp
sctp                  278528  2
libcrc32c              16384  1 sctp

# cat /proc/net/sctp/eps
 ENDPT     SOCK   STY SST HBKT LPORT   UID INODE LADDRS

# netstat -pnla
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1783/sshd                   
tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      1995/yate


After doing many tests, I made sure that yate successfully creates only m2pa and m3ua-client connections.
Any ideas how to make a m3ua-gateway ?

Best regards, Anton

LaForge

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Unable to start SCTP listener
« Reply #1 on: December 03, 2023, 07:04:16 AM »
Maybe you didn't build with SCTP support /  didn't have libsctp-dev avaliable at the time you compiled yate?