Solved

Port 5060 blocked

Posted on 2008-10-17
14
1,082 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

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.

Question has a verified solution.

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

The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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