[OpenSIPS-Users] Ipv6 on non-default port not working

Robert Dyck rob.dyck at telus.net
Wed Dec 7 15:43:50 EST 2016


Actually when I was testing I entered the listen parameters on the command 
line. I have now added them to the configuration file. The result is the same. 
The UA keeps sending the REGISTER request but there is no response from 
opensips. A UA on IPV4 can register on port 5062.

The configuration file I am using was taken from the rtpproxy modules examples. 
It was out of date so I had to add the UDP protocol and also change each 
instance of "break" to "exit".

[root at slim src]# opensips -V
version: opensips 2.2.2 (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: d250e1c
main.c compiled on 15:03:38 Nov 30 2016 with gcc 6.2.1

 
[root at slim src]# netstat -ulnp | grep opensips
udp        0      0 192.168.1.1:5062        0.0.0.0:*                           
10036/opensips      
udp6       0      0 fd00::223:7dff:feb:5062 :::*                                
10036/opensips

listen=udp:192.168.1.1:5062
listen=udp:[fd00::223:7dff:feb8:d2b4]:5062


On December 7, 2016 09:14:53 PM Bogdan-Andrei Iancu wrote:
> Hello Robert,
> 
> Please post the "listen" lines you have in cfg and the output of
> "netstat -ulnp | grep opensips" .
> 
> Best regards,
> 
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> 
> On 05.12.2016 21:37, Robert Dyck wrote:
> > This is a re-send. I apologize if it is a duplicate. I suspect my
> > subscription was not enabled.
> > 
> > --------------------------------------------------------------------------
> > ------------
> > 
> > I have been doing some testing with opensips 2.2.2 using ipv6. I found
> > that
> > the server will only respond to a request over IPV6 if it is configured to
> > listen on the default port.
> > 
> > Wireshark sees a request addressed to the server but there is no reply.
> > 
> > Running opensips in the foreground show no activity associated with a
> > request.
> > 
> > Netstat however shows the listening port. ( UDP 5062 )
> > 
> > Tried with global address and ULA.
> > 
> > IPv4 works with non-default port.
> > 
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list