Does it matters with 5060 or 5061?

This section is for general discussions surrounding digital phone service.
bsun99
Just Passing Thru
Posts: 13
Joined: 03/01/2010

Does it matters with 5060 or 5061?

Post by bsun99 »

Does it matters with 5060 or 5061 for a voice line of ATA?

For ATA SIP settings, we can set SIP port to either 5060 or 5061 for line 1, right?

Thanks.
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

You can probably go even higher 5062,3,4,5,6...
donx
Quiet One
Posts: 29
Joined: 03/01/2010
SIP Device Name: Linksys PAP2T
Firmware Version: 3.1.15(LS)
ISP Name: Rogers Cable
Computer OS: Vista

Re: Does it matters with 5060 or 5061?

Post by donx »

I am not clear whether this port is for server or client, because no matter what I set there, 5060 or 5061, (or even 6060/6061), when I checked my router status, the one on FPL SIP Server connected from me always shows as 5060.

What is makes difference is appending the port number to the SIP Server Name:, at least that's what I did when connecting to BBPGlobal's server 5190 port, even though the port number was using 5060, I appended 5190 to its SIP Server name, and it connects to 5190.

However, when I tried to append other ports than 5060 to FPL, the connection always failed.
User avatar
bridonca
Technical Support
Posts: 1225
Joined: 11/16/2009
SIP Device Name: Netgear WGR615V
Firmware Version: latest
ISP Name: Eastlink
Computer OS: XP

Re: Does it matters with 5060 or 5061?

Post by bridonca »

For me, the port change allowed me to reliably get incoming calls. I already have VOIP gear that uses port 5060, and getting an incoming call was a crap shoot until I got freephoneline it's own port to play with. I thing you have from ports 5060 to 6060 to choose from.

Oh yeah, make sure you configure the router to point whatever port you selected to the ATA. Otherwise it is a pointless exercise.
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

There are two different ports that your ATA uses.

Port to connect to a SIP server. This is by default port 5060. So when you specify server voip.freephoneline.ca, it will connect to it on port 5060. Some SIP servers use different port numbers. In that case you need to append that server port number to the address. Like sip.bbpglobal.com:5190. FPL obviously uses default SIP port and will not accept connections on other ports. This works the same way when you type http://www.google.com in your web browser. It will connect on the default port 80.

The other port that you can specify in your ATA is SIP PORT for incoming connections. This is the port, where the SIP server will contact your ATA when you receive an incoming call. You can usually specify this port within a certain range (5060-5080). If your ATA has two lines, this port number cannot be same on different lines.
Scoponox
Active Poster
Posts: 63
Joined: 03/01/2010
SIP Device Name: Linksys PAP2T
Firmware Version: 5.1.6(LS)
ISP Name: Acanac DSL
Computer OS: Win XP

Re: Does it matters with 5060 or 5061?

Post by Scoponox »

What is the point of having a SIP port over the 5060 FreePhoneline port?
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

Scoponox wrote:What is the point of having a SIP port over the 5060 FreePhoneline port?
-if your ISP is blocking port 5060
-if you have more than one ATA and decide to forward ports. You can only forward one port to one destination. However you can have multiply ATA without any port forwarding and all using same port 5060. I know I do.
bsun99
Just Passing Thru
Posts: 13
Joined: 03/01/2010

Re: Does it matters with 5060 or 5061?

Post by bsun99 »

zombie999 wrote:There are two different ports that your ATA uses.

Port to connect to a SIP server. This is by default port 5060. So when you specify server voip.freephoneline.ca, it will connect to it on port 5060. Some SIP servers use different port numbers. In that case you need to append that server port number to the address. Like sip.bbpglobal.com:5190. FPL obviously uses default SIP port and will not accept connections on other ports. This works the same way when you type http://www.google.com in your web browser. It will connect on the default port 80.

The other port that you can specify in your ATA is SIP PORT for incoming connections. This is the port, where the SIP server will contact your ATA when you receive an incoming call. You can usually specify this port within a certain range (5060-5080). If your ATA has two lines, this port number cannot be same on different lines.
Now I am a little clear:

SIP Server port: 5060 (default, and non-default port should be appended to proxy server address)
ATA incomming call SIP Port: can be any port bwtween 5060 and 5080

For ATA SIP settings, SIP PORTs are actually filled in for incomming connections.

My ATA has two Voice Lines. If I want to configure the two Voice Lines, I have to set line 1 and line 2 to different SIP ports for incomming calls no matter what SIP Server proxies are and their ports are used, right?
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

You are correct. Incoming SIP port on Line 1 & 2 cannot be the same. By default Line 1 is 5060 and Line 2 is 5061.
You can have same provider on both lines with the same SIP proxy if you wish to.
bsun99
Just Passing Thru
Posts: 13
Joined: 03/01/2010

Re: Does it matters with 5060 or 5061?

Post by bsun99 »

zombie999 wrote:You are correct. Incoming SIP port on Line 1 & 2 cannot be the same. By default Line 1 is 5060 and Line 2 is 5061.
You can have same provider on both lines with the same SIP proxy if you wish to.
Can I have the same provider on both lines with the same sip proxy and the same user id (ie, two lines with the same phone number) so I can use line 1 for a phone set and line 2 for another phone set (or a fax machine)?

(I am just curious ... and have not tried ...)

If so, both phones will ring when there is an incoming call, right?
If so, can both phones make calls at the same time?
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

You can have same provider on both lines but not same user ID/account. Some providers let you set up a clone line that will work in the way you describe it. Ribbit and Sipgate comes to mind but there are more. FPL does not allow it.
jgionet76
Active Poster
Posts: 81
Joined: 01/14/2010
SIP Device Name: Linksys PAP2T
Firmware Version: 5.1.6(LS)
ISP Name: Vianet.ca
Computer OS: Win7-Pro
Location: Sudbury, Ontario

Re: Does it matters with 5060 or 5061?

Post by jgionet76 »

it seems my provider is blocking both port 5060 and 5061 as I can't get ANY UDP traffic to go through at all. If I try a lower UDP port I can see the traffic on my UDP scanner.

what are my options? I have an ata with another provider until I get switched to FPL. (so I'm guessing that's what is currently using those 2 ports)

thxs
User avatar
FONGO_kris
Site Moderator
Posts: 1937
Joined: 05/06/2009
SIP Device Name: Polycom 550 IP Phone
Firmware Version: 4.2.0.0310
ISP Name: Rogers Cable
Computer OS: Ubuntu 11.10
Router: Cisco E1200-N
Smartphone Model: Samsung Galaxy S2
Android Version: 4.0.3
Location: Cambridge, Ontario, Canada

Re: Does it matters with 5060 or 5061?

Post by FONGO_kris »

That would make sense since those are pretty common voice ports. You are able to use any port in theory, our server doesn't restrict you to only using those two ports.
Kris
Logistics & International Purchasing | Fongo
Call us toll-free! 611 from your fongo phone or 1-855-836-3355
Please advise I will no longer be contributing to this forum for the time being. Please feel free to email me.
-----------------------------------------------------------------------------------------------------------------------------------------------
Samsung Galaxy S2 [GT-I9100] / 3.0.15-I9100XXLPH / Thebyani v3.2
jgionet76
Active Poster
Posts: 81
Joined: 01/14/2010
SIP Device Name: Linksys PAP2T
Firmware Version: 5.1.6(LS)
ISP Name: Vianet.ca
Computer OS: Win7-Pro
Location: Sudbury, Ontario

Re: Does it matters with 5060 or 5061?

Post by jgionet76 »

admin wrote:That would make sense since those are pretty common voice ports. You are able to use any port in theory, our server doesn't restrict you to only using those two ports.
ok.. I did some more tests.. it seems I can send UDP traffic between ports 1 and 1023.. anything above that I can't get my port scan to respond at the other end.
I've checked my firewall (running Tomato firmware) and I don't see anything blocking those ports.
I've even disable my Windows 7 firewall completely and still no go.

how could I change the ports from 5060 to something below 1023?

what still baffles me is this.. I set my FPS windows client (softphone) to use port 1019 (which I was able to test successfully for traffic to my computer) and it still throws out that "port 1019 should be available error".
beverly
Lightly Seasoned
Posts: 190
Joined: 06/29/2009
SIP Device Name: PAP2T/SPA1001
Firmware Version: 5.1.6(LS)/3.1.19(SE)
ISP Name: TekSavvy Cable
Computer OS: Windows 8
Smartphone Model: HTC Amaze 4G
Android Version: 4.0.3 - Energy Aug 6th
Location: Ottawa, ON

Re: Does it matters with 5060 or 5061?

Post by beverly »

try it... i've gone to high as 10,000 before and as low a 80 and it still registers with FPL. you could choose any 4 numbers ramdomly and it still doesn't make a difference. :)
zombie999
Lightly Seasoned
Posts: 202
Joined: 10/17/2009

Re: Does it matters with 5060 or 5061?

Post by zombie999 »

jgionet76 wrote:
admin wrote: what still baffles me is this.. I set my FPS windows client (softphone) to use port 1019 (which I was able to test successfully for traffic to my computer) and it still throws out that "port 1019 should be available error".
Can you place / receive calls? I always get that error with their softphone, however everything works just fine.
jgionet76
Active Poster
Posts: 81
Joined: 01/14/2010
SIP Device Name: Linksys PAP2T
Firmware Version: 5.1.6(LS)
ISP Name: Vianet.ca
Computer OS: Win7-Pro
Location: Sudbury, Ontario

Re: Does it matters with 5060 or 5061?

Post by jgionet76 »

zombie999 wrote:
jgionet76 wrote:
admin wrote: what still baffles me is this.. I set my FPS windows client (softphone) to use port 1019 (which I was able to test successfully for traffic to my computer) and it still throws out that "port 1019 should be available error".
Can you place / receive calls? I always get that error with their softphone, however everything works just fine.
yeah.. just discovered today that I could still make and receive calls.. even thought I get that error.. go figure :?