<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">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">svr04.nuacom.net</a>" af 2 (udp:<a href="http://8.8.8.8:5060">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"><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://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>