<div dir="ltr">Hello,<div><br></div><div>first just a question to clarify regarding the ip addresses: you edited the logs to show 2.2.2.2 and 8.8.8.8 instead of real addresses, right? Just to be sure as 8.8.8.8 is google DNS server and I have seen in the past some local caching dns systems returning the dns server ip if the domain had now dns entry (e.g., wrong domain).</div><div><br></div><div>Cheers,</div><div>Daniel</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 31, 2018 at 5:54 PM, Ilie Soltanici <span dir="ltr"><<a href="mailto:iliusha.md@gmail.com" target="_blank">iliusha.md@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I'm unable to register an extension to the Upstream Provider by using uac module.</div><div>Getting the following error:</div><div><br></div><div><div><i>Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:181]: get_out_socket(): no socket found</i></div><div><i>Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:183]: get_out_socket(): no corresponding socket found for(udp:<a href="http://8.8.8.8:5060" target="_blank">8.8.8.8:5060</a>)</i></div><div><i>Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [ut.h:317]: uri2dst2(): no corresponding socket found for "<a href="http://svr04.nuacom.net" target="_blank">svr04.nuacom.net</a>" af 2 (udp:<a href="http://8.8.8.8:5060" target="_blank">8.8.8.8:5060</a>)</i></div><div><i>Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [uac.c:449]: t_uac_prepare(): no socket found</i></div><div><i>Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: uac [uac_reg.c:1161]: uac_reg_update(): failed to send request for [1050]</i></div></div><div><br></div><div>Kamailio is listening on 2 interfaces: </div><div><div>[root@kamailio user]# /usr/local/sbin/kamcmd core.sockets_list</div><div>{</div><div> socket: {</div><div> proto: udp</div><div> address: 10.1.1.11</div><div> ipaddress: 10.1.1.11</div><div> port: 5060</div><div> mcast: no</div><div> mhomed: no</div><div> }</div></div><div><br></div><div><div>socket: {</div><div> proto: udp</div><div> address: 2.2.2.2</div><div> ipaddress:
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">2.2.2.2</span>
</div><div> port: 5060</div><div> mcast: no</div><div> mhomed: no</div><div> }</div></div><div><br></div><div>mhomed is enabled in the configuration file: <b>mhomed=1</b></div><div><b><br></b></div><div>I'm not using ' <span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.44px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">force_send_socket</span>' anywhere in the configuration file. </div><div>This is the uac module configuration:</div><div>
<div style="color:rgb(187,187,187);background-color:rgb(40,44,52);font-family:Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre-wrap"><div><span style="color:rgb(198,120,221)">modparam</span><span style="color:rgb(187,187,187)">(</span><span style="color:rgb(152,195,121)">"uac"</span><span style="color:rgb(187,187,187)">, </span><span style="color:rgb(152,195,121)">"reg_keep_callid"</span><span style="color:rgb(187,187,187)">, </span><span style="color:rgb(209,154,102)">1</span><span style="color:rgb(187,187,187)">)</span></div><div><span style="color:rgb(198,120,221)">modparam</span><span style="color:rgb(187,187,187)">(</span><span style="color:rgb(152,195,121)">"uac"</span><span style="color:rgb(187,187,187)">, </span><span style="color:rgb(152,195,121)">"reg_contact_addr"</span><span style="color:rgb(187,187,187)">, </span><span style="color:rgb(152,195,121)">"2.2.2.2"</span><span style="color:rgb(187,187,187)">)</span></div><div><span style="color:rgb(198,120,221)">modparam</span><span style="color:rgb(187,187,187)">(</span><span style="color:rgb(152,195,121)">"uac"</span><span style="color:rgb(187,187,187)">, </span><span style="color:rgb(152,195,121)">"reg_db_url"</span><span style="color:rgb(187,187,187)">,</span><span style="color:rgb(152,195,121)">"cluster://<wbr>kamailio"</span><span style="color:rgb(187,187,187)">)</span></div></div>
<br></div><div>If i'm disabling mhomed from configuration file - i don't receive any errors - but then kamailio is trying to send the message to the external server (8.8.8.8) through internal interface (10.1.1.1).</div><div>Thank You.</div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></div><div><a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></div></div></div></div></div>
</div>