<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"EMMANUEL AFANG" <afang.emmanuel@gmail.com><br><b>Para: </b>"Raúl Alexis Betancor Santana" <rabs@dimension-virtual.com><br><b>CC: </b>"spce-user" <spce-user@lists.sipwise.com><br><b>Enviados: </b>Sábado, 9 de Marzo 2019 1:22:27<br><b>Asunto: </b>Re: [Spce-user] Peer Registration with Unresolvable Realm<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Hi Alexis<div>Thanks for you swift response.</div><div>The remote peer is correctly setup and INVITES are being sent out, as I supplied both an IP and a Hostname. The problem however is with REGISTER. It needs to use an unresolvable realm / domain. And spce uses this domain as the host to send REGISTER to. So I need a way to tell spce what IP the realm should be.</div></div></blockquote><div>SCPE doesn't work like that, it doesn't use the real to route the register, as I told you, you have to read the docs to correctly set the outbount peer, if it need you to send register to that peer.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div>Tried adding to /etc/hosts file, but notice that <br>1. It is readonly</div><div>2. File resets after every reboot</div><div>3. spce does not take any value added there.</div><br><div>So in spce, where do I add dns entry (the equivalence of /etc/hosts file) ?</div></div></blockquote><div><br></div><div>So what about to READ THE DOCS? ... it's explained there. You should take care of the /etc/ngcp-config/templates/etc/hosts.tt2 and create a custom file so it take care of your manualy added hosts.</div><div><br data-mce-bogus="1"></div><div>I couldn't strongly suggest you to read the docs, 99% of the uses cases of SCPE are documented there.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Best regards.<br data-mce-bogus="1"></div></div></div></body></html>