# Problem registering SIP

**URL:** <https://community.asterisk.org/t/problem-registering-sip/17898>\
**Category:** Asterisk Support\
**Created:** [November 29, 2007, 7:59pm UTC](https://community.asterisk.org/t/problem-registering-sip/17898 "2007-11-29T19:59:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlotito](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@carlotito](https://community.asterisk.org/u/carlotito)\
**Post date:** [November 29, 2007, 7:59pm UTC](https://community.asterisk.org/t/problem-registering-sip/17898/1 "2007-11-29T19:59:06Z")

</div>

Hello, we have for Asterisk servers, and all works fine. But in a few cases we need to register sip phones in one asterisk server from another place, and we canÂ´t register. All the ports are open and redirect to the Â¿correct? ports (5060 tcp, and the range we have defined in the phones for udp) in the router, but we canÂ´t register the sip.

Is there any file to configure to solve this problem? Thank you.

---

<div class="post-metadata">

**Author:** ![seabro](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@seabro](https://community.asterisk.org/u/seabro)\
**Post date:** [November 29, 2007, 9:44pm UTC](https://community.asterisk.org/t/problem-registering-sip/17898/2 "2007-11-29T21:44:15Z")

</div>

hi,

Do you have NAT routers? Are the Asterisk or phone IP’s NAT’d?

If you have NAT at BOTH ends, SIP will not work (without using a STUN server - but not all phones support STUN).

Public IP on the Asterisk server and NAT’d address at handset end should be OK with correct forwarding / configs.

You could overcome any problem by using IAX2 based phone (although there are few to choose from) OR use a site to site VPN between the locations.

We need more info to help further.

Good Luck,

Sean Browne  
Cardiff IT Support Ltd  
0800 011 2931  
[www.cardiffitsupport.com](http://www.cardiffitsupport.com)

---

<div class="post-metadata">

**Author:** ![carlotito](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@carlotito](https://community.asterisk.org/u/carlotito)\
**Post date:** [November 30, 2007, 9:47am UTC](https://community.asterisk.org/t/problem-registering-sip/17898/3 "2007-11-30T09:47:47Z")

</div>

Hello, thank you for your reply. I have registered the sip phone adding the line nat=yes and using a stun server ([stun.ekiga.net](http://stun.ekiga.net)) but i can hear the other person, but he canÂ´t hear me. What can I do?

Thank you again.

I am using xlite with the probes.

---

<div class="post-metadata">

**Author:** ![Shadowe](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Shadowe](https://community.asterisk.org/u/Shadowe)\
**Post date:** [December 6, 2007, 3:38pm UTC](https://community.asterisk.org/t/problem-registering-sip/17898/4 "2007-12-06T15:38:06Z")

</div>

I’d recommend not using Asterisk behind any form of NAT at all if possible.
