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
269 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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now