Solved

Port 5060 blocked

Posted on 2008-10-17
14
1,065 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
 
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Suggested Solutions

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

943 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now