On Mon, Oct 20, 2008 at 6:07 PM, Peng Li <[EMAIL PROTECTED]> wrote: > Yes, it seemed weird that only happens after getting back from power failur. > the only workaround I used was to console into Asterisk, stop the Asterisk, > then start again. > > Is there anybody who has a theory why it's like that?
Hi Peng, Here's a theory. I'm not sure if this is the case for the problem you're having but I have seen this kind of thing before with VPNs (At least I think it was, it will do for this example). What was happening in my case is that power came back on and the router started before the DSL line had synced up. As a result, the VPN service tried to get out, got a fatal error because the WAN interface had no IP and then just gave up. Rebooting the router (restarting Asterisk in your case) caused the application to startup after the DSL link had been established and everything was fine. Maybe you can put a script in place that waits until it can ping the Internet before continuing to start Asterisk. Good luck solving your problem. Dave > Hope this SRV setting will solve this. I have also got confirmation from my > sip provider that they don't surrport SRV. So, I guess that's probably the > right answer. > > > peng > > On Mon, Oct 20, 2008 at 8:40 AM, David Cook <[EMAIL PROTECTED]> wrote: > >> I noticed this starting to happen recently. I put a cron in to do >> /usr/sbin/asterisk -rx "reload chan_sip.so" every day but that obviously >> only gets rid of the symptom. >> >> -dbc. >> >> -----Original Message----- >> From: Peng Li [mailto:[EMAIL PROTECTED] >> Sent: October-19-08 5:29 PM >> To: TAUG >> Subject: [on-asterisk] call failure everytime there's a power failure >> >> HI Guys, >> >> I need to get some help from alias to see whether you share same >> experience. >> >> I am running Asterisk on OpenWRT on Linksys box for several years. One >> thing >> that bugs me is that I can't make a call or receive a call from my SIP >> provider once it's back from a power disruption. >> >> >> My Openwrt or PC can access internet with no problem and it seems DNS is >> working. In my Asterisk, the registration status from is also ok. But, when >> I tried to call out, the following is the erros.(I masked my real number >> with XXXX/YYYY) >> >> -- Executing Dial("SIP/2001-1927", "SIP/[EMAIL PROTECTED]|60|r") in >> new >> stack >> Oct 19 13:12:31 WARNING[923]: chan_sip.c:1966 create_addr: No such host: >> 647722yyyy >> Oct 19 13:12:31 NOTICE[923]: app_dial.c:1010 dial_exec_full: Unable to >> create channel of type 'SIP' (cause 3 - No route to destination) >> == Everyone is busy/congested at this time (1:0/0/1) >> -- Executing Congestion("SIP/2001-1927", "") in new stack >> == Spawn extension (internal, 416648xxxx, 2) exited non-zero on >> 'SIP/2001-1927' >> OpenWrt*CLI> show route >> No such command 'show route' (type 'help' for help) >> >> >> Have you guys experienced this and any suggestion of the problems? Will a >> Static IP, instead of current DNS name to my sip provider, fix the issue? >> what does that "no such hostxxx" mean? >> >> Thanks in advance. >> >> Peng >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
