<p>Neels Hofmeyr <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/12357">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_client: make domain part of endpoint configurable<br><br>So far, both osmo-msc and osmo-bsc always pass endpoint names of the form<br>'...@mgw' to osmo-mgw. Allow configuring the 'mgw' part.<br><br>Note that the actual way to pass a differing name is to pass a composed<br>'rtpbridge/*@foo' to mgcp_msg_gen() in the struct mgcp_msg. So this merely adds<br>a common VTY config for the domain name part, changes to clients are necessary.<br><br>- add mgcp_client_rtpbridge_wildcard() (useful for AoIP endpoints)<br>- add mgcp_client_endpoint_domain() (useful for SCCPlite endpoints)<br>- add mgcp client vty cfg 'mgw endpoint-domain NAME'<br><br>Rationale: reading pcaps becomes so much easier when each of osmo-bsc and<br>osmo-msc address their MGW with differing domain names. Otherwise, both will<br>have a '0@mgw' endpoint and it gets really confusing.<br><br>Also: our MGCP clients osmo-bsc and osmo-msc use code dup to compose the<br>initial 'rtpbridge/*@mgw' rtpbridge wildcard. It should be defined by this API<br>instead.<br><br>This will be used by:<br>* osmo-msc I87ac11847d1a6d165ee9a2b5d8a4978e7ac73433<br>* osmo-bsc I492023e9dca0233ec0a077032455d9f2e3880f78<br><br>After these, with according configuration, there can be a '0@bsc' and a '0@msc'<br>endpoint on two separate osmo-mgw instances:<br><br>osmo-mgw-for-bsc.cfg:<br> mgcp<br>  domain bsc<br><br>osmo-bsc.cfg:<br> msc 0<br>  mgw endpoint-domain bsc<br><br>osmo-mgw-for-msc.cfg:<br> mgcp<br>  domain msc<br><br>osmo-msc.cfg:<br> msc<br>  mgw endpoint-domain msc<br><br>There can also be '0@bsc' and '1@msc' endpoints on one single osmo-mgw instance with:<br><br>osmo-mgw.cfg:<br> mgcp<br>  domain *<br><br>and same osmo-{bsc,msc}.cfg as above.<br><br>(By default, everything will still use '@mgw')<br><br>Change-Id: Ia662016f29dd8727d9c4626d726729641e21e1f8<br>---<br>M include/osmocom/mgcp_client/mgcp_client.h<br>M src/libosmo-mgcp-client/mgcp_client.c<br>M src/libosmo-mgcp-client/mgcp_client_vty.c<br>M tests/mgcp_client/mgcp_client_test.err<br>4 files changed, 66 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/57/12357/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/12357">change 12357</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12357"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ia662016f29dd8727d9c4626d726729641e21e1f8 </div>
<div style="display:none"> Gerrit-Change-Number: 12357 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>