Solved

Asterisk on DSL

Posted on 2009-04-14
7
547 Views
Last Modified: 2013-11-12
I asked a question the other day about asterisk and this is probably a S.O.S. question but I want to set up the asterisk box with a dedicated DSL connection and the internet with its own connection. I know this is a matter of routing and having the phones on one subnet and the pcs on another. My question is there any documentation which would scretch this out for a very small network. I really don't want to try and think to hard about this we are taking about 10 computers and 10 phones plus a fax. Thanks
0
Comment
Question by:arahming
  • 4
  • 3
7 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 24145478
You can do it quite simply. Have two network interfaces on the Asterisk box. One connects to the internet direct (no NAT router) while the other connects to your internal network on the same subnet as all your pc's. There isnt any real need to have the phones and the pc's on a different subnet.

This way the pc's use your other DSL connection while all phone calls go through the asterisk box which will use its own dedicated DSL.
0
 
LVL 1

Author Comment

by:arahming
ID: 24149358
Is there any documentation on this. I can see how it works in my head but would like to have a foundation..

Thanks
0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 24150017
I dont know of any written documentation but it is exactly what I do for the company I work for and we have been running Asterisk for almost 3 years now.
The only thing we probably do differently is that we have an E1 (ISDN30) interface for the telephone calls and all calls come in and go out over it. The 2nd DSL (SDSL in our case) line is used for remote users to connect to.
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 1

Author Comment

by:arahming
ID: 24150798
one more question are you using layer three switches or is asterisk taking care of the routing
0
 
LVL 36

Expert Comment

by:grblades
ID: 24155263
There is no routing involved as such. Asterisk has two interfaces. One on the internal network and one connected directly to the internet. Asterisk will sit inbetween any calls between the internet and the internal phones. So Asterisk itself is receiving and forwarding on the voice packets instead of them being routed directly between the internal phones and the internet. This avoids the potential problems associated with using NAT.
0
 
LVL 1

Author Comment

by:arahming
ID: 24157956
I am just a little confuse on how the IP phones know to get there address from asterisk or is there two network cards and the DHCP address are reserved sorry I have configure asterisk before just not with a dedicated DSL line
0
 
LVL 36

Expert Comment

by:grblades
ID: 24158124
The phones are just on the internal network so they get their IP address from the same DHCP server that the desktop computers so.
One of the asterisk interface cards is on the same internal network so its the IP address of that interface (which will be a fixed static IP) that you configure on the phones where you enter the IP address of the server they should connect to.
So the phones just get an IP address from a standard DHCP server. Its their own individual configuration which tells them the server which they should register with.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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