osmo-mgw has no proper introspection via VTY + CTRL
osmo-mgw should be able to show us all relevant information about each endpoint (and each connection on each EP) in the VTY
The 'show mgcp' VTY command already does most of what is being asked for in this issue.
I have added a VTY command which allows filtering the information shown by 'show mgcp' for a specific endpoint:
Such filtering could be quite useful for non-human VTY users, such as automated tests etc.
osmo-mgw does not seem to have a CTRL interface yet so nothing could be implemented there for this issue.
Sorry. I forgot about updating this ticket after discussing this further with Neels.
I only recorded the result of our conversation in gerrit:
Neels and I discussed this face-to-face today, and I've updated the patch set accordingly.
The main changes are:
There are now two new VTY commands, with and without a trunk number.
Endpoint names are printed without a 0x prefix.
I'll update this ticket's checklist now.
There are now two new commands:
- show mgcp endpoint NAME
- show mgcp trunk <0-64> endpoint NAME
Endpoint connection details (RTP stream IP addresses and ports) and be viewed with 'show mgcp stats'.
So the first two checklist items can be considered resolved.
It seems there remains some work to be done for the last checklist item (RTP and RTCP stats).