mgw: Split CRCX read-only validations into its own function (details)
mgw: Increment rate_ctr MGCP_*_FAIL_UNHANDLED_PARAM during parsing (details)
mgw: Split MDCX read-only validations into its own function (details)
mgw: Split MDCX read-only validation on conn into its own function (details)
mgw: Split DLCX read-only validations into its own function (details)
mgw: CRCX: Handle codec information before initializing osmux (details)
mgw: Drop rtp_processing transcoding stubs (details)
mgw: Rearrange last steps of CRCX and MDCX (details)
mgw: mdcx: Fix inc of non-existing ctr in mdcx counter group (details)
Commit
c8b8106cb5337d0bb056e7d1300f1b539f4ff1c8
by Pau Espin Pedrol
mgw: Split CRCX read-only validations into its own function
The SDP parsing is moved to a step beforehand, so that validation of full message can be done in a subsequent step. That validation step is moved into a function to give some air to handle_create_con() and easily spot the logic.
The logic based on force_realloc is split so that code modifying the object is moved to the later update step.
Commit
485e08514048e902eabb762ab4001c8763b5ca7d
by Pau Espin Pedrol
mgw: Increment rate_ctr MGCP_*_FAIL_UNHANDLED_PARAM during parsing
We could not do it before because we had no easy access to the command verb being parsed. Now that we have access to it, bettter increase it where we have exact path where stuff happens.
Commit
2140c20a0bb149be66954f4f4253c93fbfe726b7
by Pau Espin Pedrol
mgw: Split MDCX read-only validations into its own function
The SDP parsing is moved to a step beforehand, so that validation of full message can be done in a subsequent step. That validation step is moved into a function to give some air to handle_modify_con() and easily spot the logic.
Commit
c3ff38ee4c2df1f431b822ac34fbfd7f3542bb69
by Pau Espin Pedrol
mgw: Drop rtp_processing transcoding stubs
This has never been used afaik, and it's only clogging the code and adding extra indirect function pointer calls to hot paths for no good reason. Drop all of it, and re-ad whatever makes sense once someone really wants to implement transcoding.
Commit
8b23fb916a3b56ee913df9cfada2e9b5ae948ef8
by Pau Espin Pedrol
mgw: Rearrange last steps of CRCX and MDCX
Make code in CRCX and MDCX look closer, since it is really doing the same. Move the dummy ping code after everything has been done correctly, since the ping is just a side effect of the conn being created.