osmo-mgw/src/libosmo-mgcp
Neels Hofmeyr a729db62a9 generate shorter 'I:' conn IDs
Reduce the number of hex chars generated as Connection Identifier from 32 to 8.

According to RFC3435 2.1.3.2 "Names of Connections", the maximum length is
indeed 32 characters, but there isn't really a benefit of using IDs of that
size. That, and:

A specific SCCPlite MSC is seen to be able to store conn IDs of up to 8 hex
characters of length. If given more than that, it will later send 'ffffffff' as
ID, e.g. in the DLCX message, causing mismatches and rejected DLCX.

Conn IDs need to be unique only within the context of one endpoint, so
producing 32 characters of ID is far beyond overkill, especially if we
currently expect exactly two IDs per endpoint.

Notice that the maximum length of conn ID that can be handled by the message
parsing and composition doesn't change, only the length that an osmo-mgw will
generate upon CRCX does.

Related: OS#3507
Change-Id: Ia290c22a91fca0e5aa44515fca6df00064aff100
2018-09-03 23:12:23 +02:00
..
Makefile.am mgw: clean up codec negotiation (sdp) 2018-06-23 11:39:44 +00:00
g711common.h create libosmo-mgcp and osmo-mgw by copying legacy code 2017-10-05 01:40:43 +00:00
mgcp_codec.c mgcp_network: translate payload type numbers in RTP packets 2018-07-31 17:18:14 +00:00
mgcp_conn.c generate shorter 'I:' conn IDs 2018-09-03 23:12:23 +02:00
mgcp_endp.c mgcp: fix use-after-free and add callback for endpoint cleanup 2018-02-06 08:21:24 +00:00
mgcp_msg.c fix mgcp_verify_ci(): off-by-one in max len check 2018-09-03 23:08:08 +02:00
mgcp_network.c fix 3G hack: allow any IP for loopback and 0.0.0.0 2018-08-24 10:37:03 +00:00
mgcp_osmux.c stats: replace packet statistic counters with libosmocore rate counters 2018-07-05 15:55:19 +02:00
mgcp_protocol.c mgcp_verify_ci(): return meaningful error codes 2018-09-03 23:06:29 +02:00
mgcp_sdp.c mgcp_sdp: restructure mgcp_write_response_sdp() (audio) 2018-08-05 07:17:17 +00:00
mgcp_stat.c stat+vty: fix printing of rate counter values 2018-07-09 17:24:55 +02:00
mgcp_vty.c add VTY commands which show specific mgcp endpoints 2018-08-28 15:33:03 +02:00