Solved

Port 5060 blocked

Posted on 2008-10-17
14
1,076 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
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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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