Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have LAN infrastructure with asterisk and SIP phones(Gigaset A580) in it, I have done port forwarding on my public static ip address to my asterisk server in my LAN network, I also have trunk which I have rented so that phones from public PBX can call my SIP phones and that part works.

Now I want to connect my SIP phone Gigaset A580 base station that comes with handset from other LAN, over internet, to my asterisk server.

Can you tell me what I need to accomplish that? I tried several configuration but with no success.

Thank you all in advance

share|improve this question

It's been a while since I've used Asterisk, and it's pretty tricky to configure. There is a lot that can go wrong. These suggestions assume that your Asterisk server and SIP handset is set up correctly and that you're able to connect to the Asterisk server from your internal LAN.

First of all, ensure that you have forwarded these ports to your Asterisk box, and that the firewall allows related traffic back out:

SIP = TCP & UDP Port 5060
RTP = UDP Ports 10000-20000
MGP = UDP Port 2727 

Also ensure that Asterisk knows what its public facing IP is. Edit/create the file /etc/asterisk/sip_nat.conf substituting externip and localnet your own info.


Finally issue the command sip reload

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.