<p><a href="https://gerrit.osmocom.org/12357">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12357/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12357/1//COMMIT_MSG@37">Patch Set #1, Line 37:</a> <code style="font-family:monospace,monospace"> domain bsc</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Does this have to match the "mgw endpoint-domain" value in osmo-bsc. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">of course.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The server already allows changing the expected domain name, but the client does not until this patch gets merged. This patch does not affect the server side, only the client.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The default expected one is 'mgw', but you can set '*' to accept any (which was added for SCCPlite, where the MSC tested actually sent an IP address)</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> DEFUN(cfg_mgcp_domain,<br> cfg_mgcp_domain_cmd,<br> "domain NAME",<br> "Set the domain part expected in MGCP messages' endpoint names\n"<br> "Qualified domain name expected in MGCP endpoint names, or '*' to accept any domain\n")</pre><p style="white-space: pre-wrap; word-wrap: break-word;">What happens if they differ: osmo-mgw rejects the CRCX. It's all up to your .cfg files.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Actually, to do it really right, the goal would be to have that domain name match the actual server domain name and/or any IP addresses it listens on. This patch is mere cosmetics to improve the context and help analyse RTP streams.</p><p style="white-space: pre-wrap; word-wrap: break-word;">In the long run, we might place the 'mgw remote-addr' in there as endpoint-domain by default, and setting this endpoint-domain could manually override that; osmo-mgw could accept all with '*' or compare to the interface the MGCP was received on / have a list of accepted domains... But there isn't really a benefit to that, so I doubt that we will need that ever, really.</p></li></ul></li></ul><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: comment </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: 1 </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-Comment-Date: Wed, 19 Dec 2018 17:13:23 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>