Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

i have serios problem when internert is dowen all extenstions go down ,in live project plz help me ..

Posted on 2011-03-02
5
Medium Priority
?
288 Views
Last Modified: 2013-11-12
Dear all
I have Elastixs 2.03 working fine at one of my customers and two dayes ago i faced aproblem , when internet goes dowen after awile all my extensions also go dowen , the problem is with my sip trunks i know that is the reason of hanging , i also tried to do these scenario
http://www.elastixconnection.com/index.php?option=com_content&view=article&id=100:elastix-dns-cache&catid=34&Itemid=101
but after also period it all the extensions go dowen
now my idea if their script that make all the sip trunks down when the internet is dowen as i tink this will solve the problem
or if you have other solution as my costomer is so angry
please try to help me
thanks for all
0
Comment
Question by:tahasip
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:jfaubiontx
ID: 35019108
If you're using SIP trunking and your Internet goes down, you're not going to be able to make a call out of the system anyway. Part of the problem though is that when the Internet goes down your DNS queries hang which causes the rest of the extensions to go down. You should setup a caching DNS server on your system. The DNS queries will then be answered by the local machine and thus the local extensions can remain in operation. Here are a couple of links to more information.

Standford Guide to Caching DNS
Home DNS server

0
 

Assisted Solution

by:tahasip
tahasip earned 0 total points
ID: 35026882
Hi,
Thanks for your replay , is this scenario for Elastix 2.0(( Standford Guide to Caching DNS))
i tried it but some files are missing or i dont know any way it didnot gave me good results as after awhile also all extensions are down may be i did some thing wrong so, plz if u have step by step turial or some one has any solution that he tried before sorry may customer is waiting plz if you have solution for my problem

Thanks....


0
 
LVL 11

Expert Comment

by:jfaubiontx
ID: 35033879
I should have added more information. The two guides I linked to were the ones I used to setup our DNS in the office. However for what you need there is an even easier setup. Try this procedure. You will need to log in and run these from the command line. If you previously installed the software listed in the guides, remove it. To do that user the following:

yum -y remove bind bind-utils bind-libs bind-chroot caching-nameserver

Now reinstall the software with this:

yum -y install bind bind-utils
yum -y install caching-nameserver

The bind-lib will automatically be added. We really don't need the bind-chroot unless your connected to the internet with a public IP. Installing caching-nameserver after installing bind will create the correct files. Now start the name server with this:

service named start

This should start the name server. Of you don't get the [OK] we will need to look at  log messages to find out why. Let me know if you need help there. Next make sure it will start when the server is rebooted. To do this use:

chkconfig named on

This should automatically start named when the system reboots. Now set the system up to use this new nameserver. Edit your /etc/resolv.conf file to point to the new server. Keep in mind that if your using DHCP for your server (which you should not be) your /etc/resolv.conf file will get overwritten on each IP renewal. Your box should be set to a static IP address since all the phones will need to locate the box consistently. Anyway your /etc/resolv.conf should look like this:

search localhost
nameserver 127.0.0.1

Replace the 127.0.0.1 with the local IP address of the system. The 127.0.0.1 will work but isn't recommended. Finally tell Elastix to use the new nameserver. Go into the Elasti GUI to set the primary DNS to the same IP address you used in the /etc/resolv.conf file. Just leave the secondary DNS blank. This should allow the phones to stay up even if the Internet goes down. At least until the name server gets restarted. Let me know if this isn't straight forward enough.

0
 

Accepted Solution

by:
tahasip earned 0 total points
ID: 35204898
Dear All I found the solution for this problem
i fond the script to solve this problem
note i found it in the internet not my own


also do in cronjob this cron

*/1 * * * * /usr/sbin/tata.sh 4.2.2.2 208.67.222.222
 tata.sh
0
 

Author Closing Comment

by:tahasip
ID: 35230198
i tried it and it worked so fine
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

610 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