I'm using Liblinphone (belle-sip/1.4.1) and Pjsip 2.4.5 I verified that the two do the same thing. I'm doing that on my phone the option of -p is not available but I'm able to change the 5080 and 5070 from inside the liblinphone library manually (mentioned below) and I'm using 443 for TLS not 5061 and there just a random port 48110 that got changed every time I open the app. I'm pretty sure that all these belong to the app. They come with the app and go when exiting the app. I've tested hundreds of times.
This are the lines to change the ports on Liblinphone sip_port=5070 sip_tcp_port=5080 I don't know the other random port is used in SIP communication or not, but it's the same number of connections with the two libraries pjsip and liblinphone. On Tue, Nov 3, 2015 at 5:56 AM, Dale R. Worley <wor...@ariadne.com> wrote: > Tuxic Geek <tuxic.g...@gmail.com> writes: > > I was testing and realized that any SIP library initialized 4 sockets > when > > using TLS *without* any call in progress. > > *2 TCP* Conncetions > > *1 UDP* Connections > > *1 TCP* Connection to the TLS connection. > > > > Proto Recv-Q Send-Q Local Address Foreign Address State > > tcp 0 0 0.0.0.0:48110 0.0.0.0:* LISTEN > > tcp 0 0 0.0.0.0:5080 0.0.0.0:* LISTEN > > tcp 0 0 192.168.1.227:59232 xxx.xxx.xxx.xxx:443 > > ESTABLISHED > > udp 0 0 0.0.0.0:5070 0.0.0.0:* CLOSE > > > > I want to understand what are those used for? > > None of those are standard SIP ports. That doesn't mean that your SIP > library is using them, but it makes it hard to guess *what* your SIP > library is using them for (which may not be SIP communication per se). > > (I assume you've verified that those sockets have been opened by the > process that's running the SIP library, but I don't see the "netstat -p" > output column there.) > > What is the name and version of the SIP library you are using? > > Dale > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors