[SR-Users] get_out_socket(): no socket found

Daniel-Constantin Mierla miconda at gmail.com
Wed Aug 1 12:59:43 CEST 2018


Hello,

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).

Cheers,
Daniel

On Tue, Jul 31, 2018 at 5:54 PM, Ilie Soltanici <iliusha.md at gmail.com>
wrote:

> Hi All,
>
> I'm unable to register an extension to the Upstream Provider by using uac
> module.
> Getting the following error:
>
> *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:181]:
> get_out_socket(): no socket found*
> *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: <core> [core/forward.c:183]:
> get_out_socket(): no corresponding socket found for(udp:8.8.8.8:5060
> <http://8.8.8.8:5060>)*
> *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [ut.h:317]: uri2dst2(): no
> corresponding socket found for "svr04.nuacom.net <http://svr04.nuacom.net>"
> af 2 (udp:8.8.8.8:5060 <http://8.8.8.8:5060>)*
> *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: tm [uac.c:449]:
> t_uac_prepare(): no socket found*
> *Jul 31 15:49:39 k1-core1 k1[13146]: ERROR: uac [uac_reg.c:1161]:
> uac_reg_update(): failed to send request for [1050]*
>
> Kamailio is listening on 2 interfaces:
> [root at kamailio user]# /usr/local/sbin/kamcmd core.sockets_list
> {
>         socket: {
>                 proto: udp
>                 address: 10.1.1.11
>                 ipaddress: 10.1.1.11
>                 port: 5060
>                 mcast: no
>                 mhomed: no
>         }
>
> socket: {
>                 proto: udp
>                 address: 2.2.2.2
>                 ipaddress: 2.2.2.2
>                 port: 5060
>                 mcast: no
>                 mhomed: no
>         }
>
> mhomed is enabled in the configuration file: *mhomed=1*
>
> I'm not using ' force_send_socket' anywhere in the configuration file.
> This is the uac module configuration:
> modparam("uac", "reg_keep_callid", 1)
> modparam("uac", "reg_contact_addr", "2.2.2.2")
> modparam("uac", "reg_db_url","cluster://kamailio")
>
> 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).
> Thank You.
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180801/25d94372/attachment.html>


More information about the sr-users mailing list