Stefan Sperling has posted comments on this change. ( 
https://gerrit.osmocom.org/11521 )

Change subject: add DLCX command statistics to osmo-mgw
......................................................................


Patch Set 4:

(4 comments)

https://gerrit.osmocom.org/#/c/11521/4/src/libosmo-mgcp/mgcp_protocol.c
File src/libosmo-mgcp/mgcp_protocol.c:

https://gerrit.osmocom.org/#/c/11521/4/src/libosmo-mgcp/mgcp_protocol.c@111
PS4, Line 111:  [MGCP_DLCX_FAIL_INVALID_CALLID] = {"dlcx:callid", "invalid 
CallId specified in DLCX command."},
> reading the code below I think this is "DLCX error: specified CallId 
> mismatches the endpoint's CallI […]
Changed string in next patch set.


https://gerrit.osmocom.org/#/c/11521/4/src/libosmo-mgcp/mgcp_protocol.c@112
PS4, Line 112:  [MGCP_DLCX_FAIL_INVALID_CONNID] = {"dlcx:connid", "invalid 
connection ID specified in DLCX command."},
> and this is "DLCX error: specified Connection ID does not exist on the 
> endpoint"
Changed string in next patch set.


https://gerrit.osmocom.org/#/c/11521/4/src/libosmo-mgcp/mgcp_protocol.c@116
PS4, Line 116:  [MGCP_DLCX_FAIL_NO_RTP] = {"dlcx:no_rtp", "no rtp stream 
associated with connection."},
> Almost, but you mixed up CallId with ConnId. CallId is just a number e.g. […]
We can still write this code as if more than one conn type existed, though. 
That won't hurt.

I have dropped FAIL_NO_RTP from the next patch set, it will use 
FAIL_INVALID_CONNID instead.


https://gerrit.osmocom.org/#/c/11521/4/src/libosmo-mgcp/mgcp_protocol.c@1546
PS4, Line 1546:                 trunk->mgcp_crcx_ctr_group = 
rate_ctr_group_alloc(ctx, &mgcp_crcx_ctr_group_desc, crcx_rate_ctr_index);
> I'm sorry to say it, but, though the OSMO_ASSERT() discussion was a valid one 
> to have, it was more o […]
Yes, let's treat this as a separate problem.



--
To view, visit https://gerrit.osmocom.org/11521
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie0dde2faf02fd68a69f986973d39b1bea367039b
Gerrit-Change-Number: 11521
Gerrit-PatchSet: 4
Gerrit-Owner: Stefan Sperling <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Stefan Sperling <[email protected]>
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Comment-Date: Tue, 20 Nov 2018 09:34:13 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No

Reply via email to