[OpenSIPS-Users] dns srv lookups happening during relay

Tito Cumpen tito at xsvoce.com
Fri Aug 14 21:52:21 CEST 2015


Group,


I am using :

version: opensips 2.2-dev (x86_64/linux)

flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535

poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.

git revision: b7db080

main.c compiled on 22:43:41 Jun 25 2015 with gcc 4.8.3



I have a strange issue in which dns SRV lookups and routing is happening
although I have set the RURI domain as an alias in my config. On some calls
this will  eventually screw up the dialog termination once a bye is sent
because it makes an attempt to transmit the bye to this SRV entry.

I see this error in the logs.
Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]:
INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 47
Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR
[server=192.XX.XX.XX:38798] (111) Connection refused
Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]:
ERROR:core:proto_tcp_send: async TCP connect failed
Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]: ERROR:tm:msg_send:
send() for proto 2 failed

Aug 14 18:36:25 cloud-server-06 /sbin/opensips[15805]:
ERROR:tm:t_forward_nonack: sending request failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150814/e0fa9dce/attachment.htm>


More information about the Users mailing list