Re: [asterisk-users] ISP down internal phones become unavailable

2010-06-22 Thread Mr Shunz
Hi all,

 I have a PRI, and when the Internet connection goes out so do my
 phones.  I suspect it is some type of DNS issue.  I do have a SIP
 trunk, and it appears that if I lose DNS to the SIP trunk, the entire
 PBX is offline.  I have no actual proof of any of this, and have not
 done any extensive testing to prove or disprove this.

well, we have various asterisk installations, ranging from 1.4.25
to (upgraded today) 1.4.33 (we don't use 1.6.X yet) and two
of them show this behaviour...
one is upgraded to 1.4.33, the other is 1.4.30, they have similar configuration
to all the other machines (which work flawlessy even when connection
is down), and the phones are the same brand/model we use everywhere,
with almost the same configuration.

I'm not sure about a DNS issue because all our customers have local
DNS/cache servers and we configure all the phones (and sip trunks
on asterisks) with ip addresses and not FQDNs just to be sure...

what we see is when the trunk goes down, i.e.
'Registration for ...@yy.yy.yy.yy timed out, trying again (Attempt #ZZ)'
we have also 'Peer XXX is now UNREACHABLE (internal phones), even if they
are pingable/accessibile on the LAN...

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 

Daniele Santi   .o.
dani...@santi.vr.it ..o () ascii ribbon campaign
Linux User #415108  ooo /\  www.asciiribbon.org


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] ISP down internal phones become unavailable

2010-06-22 Thread Ryan Wagoner
On Tue, Jun 22, 2010 at 9:33 AM, Mr Shunz mrsh...@gmail.com wrote:
 Hi all,

 I have a PRI, and when the Internet connection goes out so do my
 phones.  I suspect it is some type of DNS issue.  I do have a SIP
 trunk, and it appears that if I lose DNS to the SIP trunk, the entire
 PBX is offline.  I have no actual proof of any of this, and have not
 done any extensive testing to prove or disprove this.

 well, we have various asterisk installations, ranging from 1.4.25
 to (upgraded today) 1.4.33 (we don't use 1.6.X yet) and two
 of them show this behaviour...
 one is upgraded to 1.4.33, the other is 1.4.30, they have similar 
 configuration
 to all the other machines (which work flawlessy even when connection
 is down), and the phones are the same brand/model we use everywhere,
 with almost the same configuration.

 I'm not sure about a DNS issue because all our customers have local
 DNS/cache servers and we configure all the phones (and sip trunks
 on asterisks) with ip addresses and not FQDNs just to be sure...

 what we see is when the trunk goes down, i.e.
 'Registration for ...@yy.yy.yy.yy timed out, trying again (Attempt #ZZ)'
 we have also 'Peer XXX is now UNREACHABLE (internal phones), even if they
 are pingable/accessibile on the LAN...

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




 --
 
 Daniele Santi       .o.
 dani...@santi.vr.it ..o () ascii ribbon campaign
 Linux User #415108  ooo /\  www.asciiribbon.org
 


It is interesting that you are seeing this on different machines with
the same Asterisk version. There must be something different in the
configuration or DNS. However Asterisk should gracefully handle no DNS
or a SIP provider issue without affecting the phones. I haven't been
able to troubleshoot this much since I can't just take the Internet
connection down.

Ryan

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] ISP down internal phones become unavailable

2010-06-21 Thread Ryan Wagoner
I saw the following lines in the log this morning. From my router logs
I see that the connection went down as my ISP was doing maintenance
for a few minutes last night. I can understand the external
registrations timing out, but why do the phones become unreachable.
They are on the internal lan within the same subnet as the Asterisk
server. Internal DHCP and DNS was functional. If I had a PRI card in
this system as well that would mean I couldn't make phone calls
because the Internet is down.

Ryan

[Jun 21 01:51:26] NOTICE[13657]: chan_sip.c:11569 sip_reg_timeout:
-- Registration for '...@newyork.voip.ms' timed out, trying again
(Attempt #1)
[Jun 21 01:51:46] NOTICE[13657]: chan_sip.c:22943 sip_poke_noanswer:
Peer '1850' is now UNREACHABLE!  Last qualify: 15
[Jun 21 01:51:46] NOTICE[13657]: chan_sip.c:11569 sip_reg_timeout:
-- Registration for '...@sip.flowroute.com' timed out, trying
again (Attempt #1)
[Jun 21 01:52:07] NOTICE[13657]: chan_sip.c:22943 sip_poke_noanswer:
Peer '1800' is now UNREACHABLE!  Last qualify: 7
[Jun 21 01:52:07] NOTICE[13657]: chan_sip.c:22943 sip_poke_noanswer:
Peer '1801' is now UNREACHABLE!  Last qualify: 11
[Jun 21 01:52:07] NOTICE[13657]: chan_sip.c:11569 sip_reg_timeout:
-- Registration for '...@newyork.voip.ms' timed out, trying again
(Attempt #2)
  == Extension Changed 2028[ext-local] new state Unavailable for
Notify User 1850
[Jun 21 01:52:17] NOTICE[13657]: chan_sip.c:18314
handle_response_peerpoke: Peer '1800' is now Reachable. (10ms /
2000ms)
  == Extension Changed 2028[ext-local] new state Idle for Notify User 1850
[Jun 21 01:52:17] NOTICE[13657]: chan_sip.c:18314
handle_response_peerpoke: Peer '1801' is now Reachable. (14ms /
2000ms)
[Jun 21 01:52:22] NOTICE[13657]: chan_sip.c:18314
handle_response_peerpoke: Peer '1850' is now Reachable. (16ms /
2000ms)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] ISP down internal phones become unavailable

2010-06-21 Thread Lacy Moore
On Mon, Jun 21, 2010 at 7:32 AM, Ryan Wagoner rswago...@gmail.com wrote:
 I saw the following lines in the log this morning. From my router logs
 I see that the connection went down as my ISP was doing maintenance
 for a few minutes last night. I can understand the external
 registrations timing out, but why do the phones become unreachable.
 They are on the internal lan within the same subnet as the Asterisk
 server. Internal DHCP and DNS was functional. If I had a PRI card in
 this system as well that would mean I couldn't make phone calls
 because the Internet is down.


I have a PRI, and when the Internet connection goes out so do my
phones.  I suspect it is some type of DNS issue.  I do have a SIP
trunk, and it appears that if I lose DNS to the SIP trunk, the entire
PBX is offline.  I have no actual proof of any of this, and have not
done any extensive testing to prove or disprove this.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users