<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Thats because you should not put the port on the realm string.<br></div><div><br data-mce-bogus="1"></div><div>Please check de docs to see how you setup the port on an outgoing peer.<br data-mce-bogus="1"></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>"spce-user" <spce-user@lists.sipwise.com><br><b>Enviados: </b>Viernes, 8 de Marzo 2019 17:22:00<br><b>Asunto: </b>[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"><div dir="ltr">Hi<br>Please I need one more help.<br>SIP Trunk Provider requires Authentication to a custom port say 5111 and supplied a Realm that is not resolvable say <a href="http://sipsipeee.com" target="_blank">sipsipeee.com</a><br><div>I setup as follows</div><br><div>In Peer Remote Authentication<br><span style="color:rgb(51,51,51);font-family:"Open Sans",arial,sans-serif;font-size:12px;background-color:rgb(240,243,247)"><b>peer_auth_realm</b> == </span><a href="http://sipsipeee.com:5111" target="_blank">sipsipeee.com:5111</a><br data-mce-bogus="1"></div><div>Also set <span style="color:rgb(51,51,51);font-family:"Open Sans",arial,sans-serif;font-size:12px;background-color:rgb(240,243,247)"><b>peer_auth_user </b>and </span><span style="color:rgb(51,51,51);font-family:"Open Sans",arial,sans-serif;font-size:12px;background-color:rgb(245,245,245)"><b>peer_auth_pass</b> then check the </span><span style="color:rgb(51,51,51);font-family:"Open Sans",arial,sans-serif;font-size:12px;background-color:rgb(245,245,245)"><b>peer_auth_register</b></span><br><br>In vim /etc/ngcp-config/templates/etc/ngcp-sems/etc/reg_agent.conf.tt2</div><div><pre style="color:rgb(0,0,0)">domain=<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;white-space:normal"><a href="http://sipsipeee.com:5111" target="_blank">sipsipeee.com:5111</a></span>
user=userrrrr
pwd=passworddddd
proxy=sip:[% sip_lb_ips.0 %]:[% kamailio.lb.port %]
[% IF sip_adv_ips.size -%]
contact=sip:[% sip_adv_ips.0 %]:[% kamailio.lb.port %]
[% ELSE -%]
contact=sip:[% sip_ext_ips.0 %]:[% kamailio.lb.port %]
[% END -%]</pre><br><div>From sngrep, I see that whenever spce tries to send REGISTER, it internally gets the <br>SIP 478 Unresolvable Destination</div><br><div>This is because the domain / realm of <a href="http://sipsipeee.com" target="_blank">sipsipeee.com</a> is unresolvable.<br>/etc/hosts does not help.</div><br><div>Please help!!!</div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="font-family:sans-serif;font-size:13px"><p class="MsoNormal" style="font-family:Arial,Helvetica,sans-serif;font-size:small">Best Regards<u></u><u></u></p><p class="MsoNormal" style="font-family:Arial,Helvetica,sans-serif;font-size:small"><u></u> <u></u></p><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><p class="MsoNormal"><b><span style="font-size:10pt;color:rgb(51,51,51)"><span>Emmanuel</span> Afang </span></b></p><p class="MsoNormal"><b><span style="font-size:10pt;color:rgb(51,51,51)"><br></span></b></p><p class="MsoNormal"><span style="font-size:10pt;color:rgb(51,51,51)">Mobile </span><span style="font-size:10pt;color:rgb(36,64,97)">+2347084280332<br>Email:  <u><a href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)" target="_blank">a</a><a href="mailto:fang.emmanuel@gmail.com" target="_blank">fang.emmanuel@gmail.com</a></u></span><br data-mce-bogus="1"></p><p class="MsoNormal"><span style="color:rgb(36,64,97);font-size:13.3333px">Skype: </span><u style="color:rgb(36,64,97);font-size:13.3333px"><a href="mailto:cuzomba@dial-mobile.com" style="color:rgb(17,85,204)" target="_blank">a</a>fang.emmanuel</u><br></p></div></div></div><br></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></blockquote></div></div></body></html>