Bug #2660

osmo-mgw has no proper introspection via VTY + CTRL

Added by laforge 11 months ago. Updated 8 days ago.

In Progress
Target version:
Start date:
Due date:
% Done:



osmo-mgw should be able to show us all relevant information about each endpoint (and each connection on each EP) in the VTY


#1 Updated by laforge 4 months ago

  • Assignee changed from sysmocom to stsp

#2 Updated by stsp 4 months ago

  • Status changed from New to In Progress

#3 Updated by stsp 3 months ago

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.

#4 Updated by stsp 2 months ago

This is waiting for a response from Neels in code review. I am unsure if I need to take further action or if the patch is fine as proposed.

#5 Updated by laforge about 1 month ago

ping? the patch has been meged. please keep this ticket updated (percent done, checklist items, ...) and take care of any missing bits.

#6 Updated by stsp 26 days ago

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.

#7 Updated by stsp 26 days ago

  • Checklist item proper "show mgcp endpoint" command set to Done

#8 Updated by stsp 26 days ago

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).

#9 Updated by stsp 26 days ago

  • Checklist item show endpoint connection details in vty set to Done

#10 Updated by stsp 8 days ago

No further work has been done here yet.
I plan to discuss with Philip which RTP/TCP stats would be useful to collect and display.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)