libosmo-sccp/examples
Vadim Yanitskiy 5951f1f6d5 examples/sccp_demo_user: fix default ASP protocol in help
We actually use OSMO_SS7_ASP_PROT_M3UA by default.

Change-Id: I8481fd8707ed7985071c5c64ee621d210fb4d493
2024-02-19 21:18:39 +00:00
..
Makefile.am {examples,stp}/Makefile.am: fix typo in $(COVERAGE_[C]FLAGS) 2023-03-13 10:54:34 +00:00
README Add basic readme for example code 2022-08-21 21:53:40 +07:00
internal.h sccp_demo_user: make sure the command-line specified point codes are used 2022-02-24 20:40:24 +01:00
sccp_demo_user.c examples/sccp_demo_user: fix default ASP protocol in help 2024-02-19 21:18:39 +00:00
sccp_test_server.c examples/sccp_test_server: Log disconnect indication in echo service 2020-01-21 10:53:34 +01:00
sccp_test_vty.c examples: update vty code 2022-08-22 20:33:12 +07:00

README

This example code is handy in illustrating libosmo-sigtran library use as well as experimenting with SCCP protocol.

Run it as follows:
Server:
./sccp_demo_user -d DLINP,5:DLSS7,5:DLSCCP,1:DSCCP,1:DMAIN,1
Client:
./sccp_demo_user -d DLINP,5:DLSS7,5:DLSCCP,1:DSCCP,1:DMAIN,1 -c
Server's vty:
telnet 127.0.0.1 2324
Client's vty:
telnet 127.0.0.2 2325

On the client side, after entering privileged mode by typing 'enable', you can switch to demo user mode with 'sccp-user' command.

This gives several additional commands, for example:
'called-addr-ssn 202' - selecting "echo" application (201 is "refuser", 203 is "callback")
'connect-req 10 aaaaaaaaaaaaaaaaaaa' - sending N-CONNECT message with ID=12 and optional data

See vty's help for further details.

Calling 'show cs7 instance 0 sccp connections' in privileged mode on the server will show currently active SCCP connections.