Hi Dave, yes, it might be a scenario you described. Hi Mark, UPS would be my next plan.
I currently experienced another outage and it seems that "SRV" setting doesn't fix it. I tried to call in my number and call out. both doesn't work. on my linksys router (running asterisk), I did the following, @OpenWrt:~$ ping www.google.com (*****it seems that DNS on the router is working*****) PING www.l.google.com (72.14.205.99): 56 data bytes 64 bytes from 72.14.205.99: icmp_seq=0 ttl=247 time=16.0 ms 64 bytes from 72.14.205.99: icmp_seq=1 ttl=247 time=12.7 ms --- www.l.google.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 12.7/14.3/16.0 ms @OpenWrt:~$ more /etc/asterisk/sip.conf [general] realm=mydomain.ca (**hiding my domain name) bindport=5060 bindaddr=0.0.0.0 disallow=all allow=ulaw musicclass=default srvlookup=no register => 6471234567:[EMAIL PROTECTED]/6471234567(**hiding my real number) [6471234567] type=peer ;auth=6471234567:[EMAIL PROTECTED] <[EMAIL PROTECTED]> ;auth=md5 username=6471234567 fromuser=6471234567 fromdomain=unlimitel.ca ;md5secret=123456787 secret=12345678 host=sip.unlimitel.ca port=5060 nat=yes @OpenWrt:~$ ping sip.unlimitel.ca (**the following doesn't mean DNS problem. it's probably ping is blocked**) PING sip.unlimitel.ca (209.217.98.130): 56 data bytes --- sip.unlimitel.ca ping statistics --- 18 packets transmitted, 0 packets received, 100% packet loss @OpenWrt:~$ ping 209.217.98.130 PING 209.217.98.130 (209.217.98.130): 56 data bytes --- 209.217.98.130 ping statistics --- 9 packets transmitted, 0 packets received, 100% packet loss @OpenWrt:~$ ping unlimitel.ca PING unlimitel.ca (209.217.85.98): 56 data bytes --- unlimitel.ca ping statistics --- 7 packets transmitted, 0 packets received, 100% packet loss @OpenWrt:~$ ping www.google.com PING www.l.google.com (72.14.205.147): 56 data bytes 64 bytes from 72.14.205.147: icmp_seq=0 ttl=247 time=10.9 ms 64 bytes from 72.14.205.147: icmp_seq=1 ttl=247 time=10.0 ms --- www.l.google.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 10.0/10.4/10.9 ms [EMAIL PROTECTED]:~$ traceroute sip.unlimitel.ca traceroute to sip.unlimitel.ca (209.217.98.130), 30 hops max, 38 byte packets 1 * * * 2 gw03.mtnk.phub.net.cable.rogers.com (66.185.90.97) 7.558 ms 6.699 ms 7.163 ms 3 gw01.mtnk.phub.net.cable.rogers.com (66.185.83.97) 9.160 ms 7.358 ms 7.101 ms 4 so-3-1-0.gw02.wlfdle.phub.net.cable.rogers.com (66.185.83.126) 8.262 ms 13.601 ms 12.143 ms 5 pos-4-0.igw01.front.phub.net.cable.rogers.com (64.71.240.53) 8.337 ms 10.907 ms 8.406 ms 6 ge10-0.gwy2-tor.bb.allstream.net (216.191.65.121) 9.590 ms 11.232 ms 9.305 ms 7 ge-wan7-1.hcap4-ott.bb.allstream.net (199.212.172.34) 15.770 ms 15.582 ms 15.196 ms 8 66.46.220.198 (66.46.220.198) 16.246 ms 15.349 ms 14.730 ms 9 gateway1-vlan90.magma.ca (209.217.64.33) 15.670 ms 17.256 ms 15.205 ms 10 206.191.0.72 (206.191.0.72) 15.146 ms 16.150 ms 18.558 ms 11 server1.westernitgroup.com (206.191.20.178) 15.843 ms 15.691 ms 15.492 ms 12 ppp00.almerco.ca (206.191.37.150) 15.276 ms 18.312 ms 15.420 ms 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * @OpenWrt:~$ traceroute unlimitel.ca traceroute to unlimitel.ca (209.217.85.98), 30 hops max, 38 byte packets 1 * * * 2 gw03.mtnk.phub.net.cable.rogers.com (66.185.90.97) 8.404 ms 8.014 ms 7.639 ms 3 gw01.mtnk.phub.net.cable.rogers.com (66.185.83.97) 7.022 ms 8.677 ms 6.777 ms 4 so-3-1-0.gw02.wlfdle.phub.net.cable.rogers.com (66.185.83.126) 9.381 ms 9.894 ms 7.285 ms 5 pos-4-0.igw01.front.phub.net.cable.rogers.com (64.71.240.53) 13.355 ms 9.270 ms 9.014 ms 6 ge10-0.gwy2-tor.bb.allstream.net (216.191.65.121) 9.611 ms 8.439 ms 8.864 ms 7 ge-wan7-2.hcap4-ott.bb.allstream.net (199.212.172.14) 15.702 ms 14.652 ms 14.828 ms 8 66.46.220.198 (66.46.220.198) 130.089 ms 101.153 ms 68.989 ms 9 gateway2-vlan94.magma.ca (209.217.64.49) 15.893 ms 14.516 ms 16.949 ms 10 206.191.0.104 (206.191.0.104) 15.312 ms 14.927 ms 15.880 ms 11 server1.westernitgroup.com (206.191.20.178) 15.242 ms 16.572 ms 15.662 ms 12 206.191.17.242 (206.191.17.242) 17.513 ms 16.081 ms 16.012 ms 13 * * * 14 * == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found Asterisk 1.2.1, Copyright (C) 1999 - 2005 Digium. Written by Mark Spencer <[EMAIL PROTECTED]> ========================================================================= Connected to Asterisk 1.2.1 currently running on OpenWrt (pid = 694) Verbosity was 0 and is now 10 OpenWrt*CLI> sip show registry Host Username Refresh State sip.unlimitel.ca:5060 6471234567 105 Registered (***you see, it seems registered without problem****) OpenWrt*CLI> stop now OpenWrt*CLI> Disconnected from Asterisk server Executing last minute cleanups @OpenWrt:~$ asterisk (****shut down Asterik and reload it up again, fix the problem***) @OpenWrt:~$ a So, what could be the problem? DNS? will this be solved by use server's IP instead? But DNS is working...? confuesed? Appreciate your input. thanks peng On Mon, Oct 20, 2008 at 11:18 PM, Mark Brown <[EMAIL PROTECTED]> wrote: > Peng, > > I'm not trying to be a smart a..., but... > > Um, how about a UPS? Weird thought I know, but I wouldn't be without one > on my entire network stack, including the asterisk box. If budget allows > for it - I'd use a nice full-time inverter unit like a Powerware 9xxx. > > Nevertheless, your question is worthwhile, and the answer will be great > when you figure it out! > > Good luck. > > /M >
