Skip to content
Success

Changes

Summary

  1. mgw: Move endpoint/conn updating logic to helper function (details)
Commit 1c69268f4c5b9d5f34dc4233a69eea716adef879 by Pau Espin Pedrol
mgw: Move endpoint/conn updating logic to helper function

Move code logic doing actions based on endpoint state (and its conns)
out of the CRCX/MDCX MGCP handlers.
Most of that logic present in CRCX and MDCX is actually the same and can
be merged.
This way we can also make the updating logic more complex without
extending the CRCX/MDCX handlers for and more adding spaghetti code.

Change-Id: I24dd15ec76bd6e949a178a3b998b76a44ddbab50
The file was modifiedinclude/osmocom/mgcp/mgcp_endp.h
The file was modifiedsrc/libosmo-mgcp/mgcp_endp.c
The file was modifiedinclude/osmocom/mgcp/mgcp_e1.h
The file was modifiedsrc/libosmo-mgcp/mgcp_protocol.c
The file was modifiedsrc/libosmo-mgcp/mgcp_e1.c