SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
swapanroy2Offline



Joined: Aug 24, 2007
Posts: 2

Status: Offline
Posted: Aug 24, 2007 - 03:56 PM Reply with quote Back to top
Hi I am trying to configure asterisk inside a Firewall protected LAN(Asymmetric NAT) only for internal use for my company,but without any luck after 10 days.

I want a very basic setup to connect all the users inside company.Can anyone provide me a simple step by step guide how to configure extensions.conf & sip.conf file in detail.

Also i want to inform that my ASTERISK server and sjphone/SIP clietns are all inside same LAN & my asterisk server has static ip but it doesn't have a public domain name/public IP. Is is necessary to have a public IP for the asterisk server?
View user's profile Send private message
localOffline



Joined: Aug 23, 2007
Posts: 4

Status: Offline
Posted: Aug 24, 2007 - 07:56 PM Reply with quote Back to top
I have identical set up as you. My outgoing (using SIP provider) and incoming DID is working but pstn in and out remains a mystery (misery).
These are the relevant lines I have:
sip.conf

externip=xxx.xxx.xxx.xxx
localnet=192.168.0.0/255.255.255.0

assuming your Asterisk box has ip like 192.168.0.15. if you have 192.168.2.10, then localnet=192.168.2.0

these 2 lines are also in my sip_nat.conf. I'm not sure if they are needed or not.

In your router, forward whatever ports you use for Asterisk:
SIP (default 5060 UDP)
RTP - also UDP, check in rtp.conf, you need to forward whatever is rtpstart to rtpend to Asterisk
View user's profile Send private message
swapanroy2Offline



Joined: Aug 24, 2007
Posts: 2

Status: Offline
Posted: Aug 27, 2007 - 07:17 AM Reply with quote Back to top
Where is the sip_nat.conf file? I am using
asterisk 1.4.9. Are you talking about asterisk 1.2.24?

and what is externip=xxx.xxx.xxx.xxx?Is it the static ip of my asterisk server.I dont have any public ip or domain.Do i need to co0nfigure any public domain?

What is meant by outgoing sip provider & incoming DID? Can i do without them?Becuase my first target is to configure asterisk only inside firewall/LAN and connect few phones inside my copmpany.Looking forward to your reply.. THANX
View user's profile Send private message
websmythOffline



Joined: Apr 16, 2005
Posts: 76
Location: Northwood, IA USA
Status: Offline
Posted: Aug 27, 2007 - 08:14 PM Reply with quote Back to top
Okie Dokie then...

Get your hands on "Asterisk - The Future of Telephony".
Free download from:
http://www.asteriskdocs.org/modules/tin ... .php?id=11

Brett
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 3347
Location: Bath UK
Status: Offline
Posted: Aug 27, 2007 - 08:25 PM Reply with quote Back to top
Quote:
Where is the sip_nat.conf file? I am using


You wont have one.

This is an included file that is used in Trixbox.
The localnet and externip are set in the general section of sip.conf

Ian
View user's profile Send private message
zakotelOffline



Joined: Jun 26, 2008
Posts: 10

Status: Offline
Posted: Jun 27, 2008 - 12:26 AM Reply with quote Back to top
Hi,
There is a tutorial on this site where you can setup and run a Asterisk with Debian Etch 4.0, it also supports a repository for easy integration of your needs, take a look and I am sure within 5 hours you will be running a PBX you are happy with.
http://www.astertools.com/tutorials

Regards,
Alfred
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.