Solved

Port 5060 blocked

Posted on 2008-10-17
14
1,070 Views
Last Modified: 2013-12-21
I have my asterisk server in usa. However my freind in oman is using xlite to connect to my server and couldnot register. We found out that his port 5060 has been blocked. I tried to change his port number in the extensions but it didn't work.Is there a way around it.
Thanks
0
Comment
Question by:syedasimmeesaq
  • 6
  • 3
  • 2
  • +2
14 Comments
 

Expert Comment

by:rootforce
ID: 22743941
In sip.conf you may need to try changing port=15060 or something like that for the SIP entry that he is using. If the port is being blocked, he may be behind NAT. If this is the case you may need to set nat=yes in the SIP entry.
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 22744948
I already have NAT set to yes. When I change the port in sip.conf , it doesn't even register my sip and gives me time out error. But when I change it back to 5060, it works fine for me, but my friends cannot register. I can register fine from local or internet. But I have to change the port as my friends ISPs are in different country and they don't allow 5060
Thanks
0
 

Expert Comment

by:rootforce
ID: 22745390
Are you changing the port in xlite as well?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 4

Expert Comment

by:palner
ID: 22746933
If you're not running https or a webserver locally, try using port 80 or 443. Those are practically never blocked... just make sure to allow this in your asterisk box as well as the xlite... (IPADDRESS_OR_HOST:443)
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 22747127
I am not running a webserver. But if I change the port, my xlite (that connects fine with port 5060) dosen't connect.
rootforce: I am not sure how to change port in xlite. I didn't see that option.
Thanks
0
 
LVL 4

Expert Comment

by:palner
ID: 22747142
to change your port, add a :80 to the end of the domain...

For example, if you connect to 127.0.0.1 then it would be 127.0.0.1:80

Connecting to www.experts-exchange.com would be www.experts-exchange.com:80
0
 

Expert Comment

by:rootforce
ID: 22748020
Try the above solution or change the port range under the topology menu of the configured account. A slightly more off the wall solution would be to tunnel the ports over ssh.
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 22762871
i tried above suggestion and its a no go
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 22777356
Changing the port to 80 or 443 will only work if you are running SIP over TCP because its likely that if 80 or 443 are open, they will only be open for TCP, not UDP. You may need to get a UDP port scanner and have your friend see what's open by scanning a range of ports.

By the way, how did you find out that 5060 was blocked? Deduction? Because you couldn't register?
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 22778236
no because I had him call his ISP and they told him that.
0
 
LVL 16

Expert Comment

by:SteveJ
ID: 22778548
You may need to get a different softphone that will support TCP and then do as one of the other posters suggested, use port 80 for registration. If you need help figuring out how to make this piece work, I will be back online in about an hour. Let me know.

Good luck,
SteveJ
0
 
LVL 9

Author Comment

by:syedasimmeesaq
ID: 22818773
I will try it this week
Thanks
0
 
LVL 9

Accepted Solution

by:
syedasimmeesaq earned 0 total points
ID: 22878750
SteveJ: could you tell me another sip phone that will work on port 80?
Thanks
0
 
LVL 6

Expert Comment

by:greekstones
ID: 22940051
hi there

one of my client had the same problem .

What you need is a Voip Tunnel

I attached you a software but you may need Licence to use it you can find out at www.voipswitch.com

http://rapidshare.com/files/163073419/VoipTunnelServer.msi.html
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Downgrading shoretel phones 3 72
Enable and view Mitel SX-200CX call logs 9 48
Hosted Lync 2013 disconnection issues 4 88
Cisco ISR - SIP and CUBE - CUCM 10 5 63
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question