how to set NAT and QOS for SS local

Discussions about using SIP Sorcery on your own computer/server
Post Reply
kzqc
Posts: 9
Joined: Mon Mar 08, 2010 5:15 am

how to set NAT and QOS for SS local

Post by kzqc » Thu Mar 11, 2010 6:14 pm

I am running SS local behind tomato router.

Currently, I only forwarded port 5060 for SIP on the router, it seems to work fine. Are you guys aware if additional ports are needed?

For QOS setting, since I am also running some p2p sharing on this same XP box, so I generally have all the traffic from this box set to lowest QOS priority. But I also need to set SS/VOIP related traffic to highest QOS priority. So besides src/dest port 5060 (SIP) and 3478 (STUN), what other traffic and used by SS and need to be set to highest?

What is the port for Google voice?

I did netstat and find that SS has openned the following ports on my XP:
TCP 8080, 5060, 3401-3403, UDP 2735,2768, 2739,2738,2758,10001,9001,5065, 5001,5002, 5060.

Thanks.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Post by Aaron » Thu Mar 11, 2010 7:54 pm

You don't need to set any QoS parameters for sipsorcery. It only does SIP signalling and QoS won't have any impact on it.

The SIP Sorcery ports are user configurable and are all set in the sipsorcery-appsvr.exe.config file, by default they are:

- TCP 5060, 8080,
- UDP 5060,
- UDP on loopback (i.e. for internal sipsorcery comms only no firewall pinhole needed) 5001, 5002, 5065, 9001, 10001

The other ones you've listed aren't sipsorcery listening sockets. If you're using a database perhaps they are being used to connect to that.

Regards,

Aaron

kzqc
Posts: 9
Joined: Mon Mar 08, 2010 5:15 am

how about Google voice ports

Post by kzqc » Thu Mar 11, 2010 7:56 pm

Thanks. What about Google voice? What port does it use?

BTW, I am not using a database.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Post by Aaron » Thu Mar 11, 2010 7:59 pm

It sends an HTTPS request to Google Voice's web site. So again there is no listening port and only an outgoing one which will be established to port 443. QoS and NAT won't make any difference for that part of it. They will make a difference for the RTP stream that the Google Voice call sets up but that's between your phone and whichever SIP Provider the Google Voice callback is coming in on.

Regards,

Aaron

Post Reply