Commit Graph

36 Commits

Author SHA1 Message Date
Oliver Smith 3c6cdc5a53 treewide: remove FSF address
Remove the paragraph about writing to the Free Software Foundation's
mailing address. The FSF has changed addresses in the past, and may do
so again. In 2021 this is not useful, let's rather have a bit less
boilerplate at the start of source files.

Change-Id: Ic8c69d24141abd183e3b1257f4e9edfd9c1afabe
2021-12-14 12:24:20 +01:00
Matt Johnson 4621456837 ipa_proto: Allow configuring ack initiation behavior
When the osmo-msc version 1.6.1 connects to the osmo-hlr, it sends an
id response and an immediate ack. This commit allows initiating the
handshake with an ack rather than an id request (as is done by ipa
*clients*, like a bts towards a bsc, or the msc towards the hlr) if
needed to mimic behavior of particular components.

Change-Id: I6ab3c9efb51e806f582ce8f473a13ee73ca1567e
2020-09-18 16:21:46 -07:00
Matt Johnson 44a4dd6494 ipa_proto: Implement ccm response with variable options
This commit allows configuration of the ccm protocol options used when
setting up an ipa connection with an external entity. The options
record is kept alongside the socket in the socket-owning process loop,
and used to fill the values in the ccm identity response. If
additional CCM state were needed in the future this commit could be
extended to keep generic state, with the options only representing one
piece of the overall state.

Change-Id: I3f67095f33f1ff826ad04dad72990bf79617149a
2020-09-11 14:05:51 -07:00
Harald Welte c9f3178023 make it compile with modern Erlang (22.0)
... also do away with our local outdated copy of exprecs and use
upstream
2019-08-11 15:36:14 +02:00
Harald Welte e861700c3e osmo_ss7.hrl: add type annotations 2013-07-27 16:00:07 +08:00
Harald Welte 317cee0464 add 'role' to #sigtran_link{} indicating sg or asp role 2013-07-27 16:00:07 +08:00
Harald Welte 108c4b73f7 M2UA: some important parameter types 2012-05-06 23:32:40 +02:00
Harald Welte 0fbcc824f9 add some more M2UA related definitions 2012-05-05 23:59:35 +02:00
Harald Welte 231ae0b993 M2UA Codec: Use generic xUA codec instead 2012-05-05 23:58:21 +02:00
Harald Welte 92e783d109 rename sua_codec to generic xua_codec
SUA/M3UA/M2UA/M2PA actaully all uses almost the same message format,
so it makes sense to write one generic xua_codec and derive from that.

The current SUA implementation didn't actually contain anything SUA
specific, so we can just rename it and use xua_codec directly from the
users.
2012-04-01 19:54:20 +02:00
Harald Welte abfa83e85b SCCP: add defines for Reset, Error and Release Cause values 2012-01-28 14:08:34 +01:00
Harald Welte 4d6109983b SUA codec: remove 'msg_length' from sua_msg{} 2012-01-18 14:10:35 +01:00
Harald Welte 263f184754 m2pa: fix typo in header file 2012-01-17 15:11:58 +01:00
Harald Welte 50dfc196ca SUA: add functions for SUA <-> SCCP conversion 2012-01-17 15:11:37 +01:00
Harald Welte d174b00d78 add define()s for default port numbers and official PPIDs 2012-01-17 09:00:11 +01:00
Harald Welte 26bdef27dd Commit current state of working MTP3-in-M2PA
The current implementation can successfully establish M2PA with Cisco
ITP.
2012-01-16 22:22:17 +01:00
Harald Welte 429456f13f MTP3: parsing of mgmt messages 2012-01-16 20:03:37 +01:00
Harald Welte b668988e25 Add M2PA codec, MTP2 IAC and LSC gen_fsm implementations 2012-01-16 16:00:45 +01:00
Harald Welte ba0ada720f osmo_util: define #pointcode{} record instead of manual 3-tuple 2011-12-08 00:56:30 +01:00
Harald Welte 21cde2e5db sccp: add definitions for NAI (nature of address indicator) 2011-12-08 00:45:43 +01:00
Harald Welte 3dfbe2565e osmo_util: we cannot restrict the parameter type of a primitive 2011-11-04 22:28:04 +01:00
Harald Welte dd540862da add some simplistic type / range annotations for records in headers 2011-11-04 22:25:40 +01:00
Harald Welte 7dadde8c70 Make sure an incoming M3UA message is actually sent to registered service Pid 2011-10-19 13:40:39 +02:00
Harald Welte c6e466edcb import SS7 link handling from osmo_ss7 2011-10-10 14:03:50 +02:00
Harald Welte e15005e1fb SCCP: more cause values 2011-10-09 14:12:53 +02:00
Harald Welte ed338daa87 M2UA: add some more parameter type definitions 2011-04-21 12:20:36 +02:00
Harald Welte dcdc9c3774 MTP3: add -define() for MTP network indicators (international/national) 2011-04-14 21:51:16 +02:00
Harald Welte 84424fa88a add missing osmo_util.hrl 2011-04-14 17:28:13 +02:00
Harald Welte 0f2f596791 Move #primitive{} into osmo_util.erl/hrl 2011-04-04 15:59:49 +02:00
Harald Welte 6fc5b29c5b M3UA: Fix various state transition bugs
Also, make sure to includa a 'traffic mode type' in the ACTIVE request
2011-04-04 10:38:30 +02:00
Harald Welte 9586f95efb MTP3: Add field where M3UA msg can store the message priority.
Normal MTP3 headers don't have this, but for the sake of consistency
we need to store the M3UA specific MP somewhere...
2011-04-03 01:43:38 +02:00
Harald Welte 3bf7cb6e62 Add M3UA implementation to Osmo SS7
The current code is not tested yet, and it has no eunit tests.
2011-04-03 00:25:34 +02:00
Harald Welte 7a321dbf0d GTT: add generic 'apply' action
This GTT Action can be used to call a user-supplied callback funciton in case
a GT Match was detected.
2011-04-02 18:15:04 +02:00
Harald Welte 1f47f67d55 Add a new GTT module for GT matching + GT translation (GTT) 2011-04-02 14:33:31 +02:00
Harald Welte 36158495a6 ISUP: Export {parse,encode}_isup_party()
Those functions are now used by the map_codec.erl
2011-02-09 21:42:34 +01:00
Harald Welte 78474ae3e2 re-structure SS7 code and MGW NAT code into separate modules
This repository now only contains the SS7 code
2011-02-07 20:48:41 +01:00