Hi,
I'm getting some strange behaviour on Asterisk 1.4 running on Debian
Stable (Lenny). I suspect it's something to do with my setup, rather than
a bug, but I'm struggling to see it, and would appreciate any input.
Setup: PC with two ethernet cards: eth0 goes to local network, including
two
On 02/05/10 02:05, Nikhil Nair wrote:
>Hi,
>
>I'm getting some strange behaviour on Asterisk 1.4 running on Debian
>Stable (Lenny). I suspect it's something to do with my setup, rather than
>a bug, but I'm struggling to see it, and would appreciate any input.
>
>Setup: PC with two ethernet cards:
On Thu, 4 Feb 2010, Joseph wrote:
> [...]
>
> Does your router runs DHCPD, assigning network addresses on on your LAN?
Nope, the DHCPD on the ADSL router is disabled, because I'm running DHCPD
on the Debian box. In any case, the ADSL router is not directly
accessible from the local net.
> If
On 02/05/10 02:35, Nikhil Nair wrote:
>On Thu, 4 Feb 2010, Joseph wrote:
>
>> [...]
>>
>> Does your router runs DHCPD, assigning network addresses on on your LAN?
>
>Nope, the DHCPD on the ADSL router is disabled, because I'm running DHCPD
>on the Debian box. In any case, the ADSL router is not di
On 02/05/10 02:05, Nikhil Nair wrote:
>
>Extract from sip.conf:
>
>[general]
>context=incoming
>srvlookup=yes
>realm=nikhil-nair.net
Your resolve authentication to an outside server, isn't it?
So here might be your problem; if there is no connection to the Internet no
authentication.
--
Joseph
On Thu, 4 Feb 2010, Joseph wrote:
> On 02/05/10 02:35, Nikhil Nair wrote:
>> On Thu, 4 Feb 2010, Joseph wrote:
>>
>>> [...]
>>>
>>> Does your router runs DHCPD, assigning network addresses on on your LAN?
>>
>> Nope, the DHCPD on the ADSL router is disabled, because I'm running DHCPD
>> on the Deb
On Thu, 4 Feb 2010, Joseph wrote:
> On 02/05/10 02:05, Nikhil Nair wrote:
>>
>> Extract from sip.conf:
>>
>> [general]
>> context=incoming
>> srvlookup=yes
>> realm=nikhil-nair.net
>
> Your resolve authentication to an outside server, isn't it?
No, that's just a Realm string which has to match wh
On Thu, Feb 4, 2010 at 9:20 PM, Nikhil Nair wrote:
> No, again, I can cut off the internet altogether with "ifdown eth1", and
> the SIP phones (via eth0) continue to work fine, as does the Zap channel.
> It's only if eth1 is up but the ADSL router is down (or, indeed, the phone
> line is down), t
On Thu, Feb 04, 2010 at 09:52:35PM -0600, Warren Selby wrote:
> On Thu, Feb 4, 2010 at 9:20 PM, Nikhil Nair wrote:
>
> > No, again, I can cut off the internet altogether with "ifdown eth1", and
> > the SIP phones (via eth0) continue to work fine, as does the Zap channel.
> > It's only if eth1 is
On Thursday 04 February 2010 23:22:27 Alex Samad wrote:
> What I have seen on my asterisk box when I had a up/down adsl line was
> that the asterisk box couldn't do dns resolution and would hang( well no
> other internal calls could be made, seemed like some sort of semaphore
> was stuck) when the
5 feb 2010 kl. 06.49 skrev Anthony Messina:
> On Thursday 04 February 2010 23:22:27 Alex Samad wrote:
>> What I have seen on my asterisk box when I had a up/down adsl line was
>> that the asterisk box couldn't do dns resolution and would hang( well no
>> other internal calls could be made, seemed
On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson wrote:
>>> What I have seen on my asterisk box when I had a up/down adsl line was
>>> that the asterisk box couldn't do dns resolution and would hang( well no
>>> other internal calls could be made, seemed like some sort of semaphore
>>> was stuck)
On 05/02/10 09:15, Randy R wrote:
> On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson wrote:
What I have seen on my asterisk box when I had a up/down adsl line was
that the asterisk box couldn't do dns resolution and would hang( well no
other internal calls could be made, seemed lik
- "Randy R" wrote:
> On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson
> wrote:
> >>> What I have seen on my asterisk box when I had a up/down adsl line
> was
> >>> that the asterisk box couldn't do dns resolution and would hang(
> well no
> >>> other internal calls could be made, seemed lik
5 feb 2010 kl. 09.28 skrev --[ UxBoD ]--:
> - "Randy R" wrote:
>
>> On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson
>> wrote:
> What I have seen on my asterisk box when I had a up/down adsl line
>> was
> that the asterisk box couldn't do dns resolution and would hang(
>> well no
>> Why not run a internal DNS with forwarders to your ISP ? That way Asterisk
>> can still resolve itself and hosts internally.
>>
> See above:
>>> you need a local
>>> resolver, like a caching BIND server, on the same host.
Nice, but still, it ruins the "all in one" concept. Isn't there a
lighte
- "Olle E. Johansson" wrote:
> 5 feb 2010 kl. 09.28 skrev --[ UxBoD ]--:
>
> > - "Randy R" wrote:
> >
> >> On Fri, Feb 5, 2010 at 8:41 AM, Olle E. Johansson
> >> wrote:
> > What I have seen on my asterisk box when I had a up/down adsl
> line
> >> was
> > that the asterisk box
- "Randy R" wrote:
> Nice, but still, it ruins the "all in one" concept. Isn't there a
> lighter solution?
Nice and lite DNS server ?
http://www.nlnetlabs.nl/projects/nsd/
--
Thanks, Phil
--
_
-- Bandwidth and Colocation
5 feb 2010 kl. 10.37 skrev Randy R:
>>> Why not run a internal DNS with forwarders to your ISP ? That way Asterisk
>>> can still resolve itself and hosts internally.
>>>
>> See above:
you need a local
resolver, like a caching BIND server, on the same host.
>
> Nice, but still, it rui
On Fri, Feb 5, 2010 at 10:39 AM, --[ UxBoD ]-- wrote:
> Doh! :) My philosophy has always been to install a local named server,
> whether it be for Asterisk or something else, as most of the time everything
> I do is behind NAT and I prefer to resolve internal addresses. This also
> help if yo
Hi all,
Many thanks for all your very fast and really helpful replies!
Now I know about the asynchronous DNS issue, this all starts to make
sense: presumably, when I disabled eth1 completely, the DNS queries just
failed immediately, so didn't hold anything else up, whereas in the other
scenari
Hi again,
OK, I've now installed a local caching nameserver, but don't see any
change at all.
IN detail, what I did:
- Installed Debian packages resolvconf and dnsmasq (resolvconf just takes
care of dynamic nameserver allocations in /etc/resolv.conf).
- After looking at the docs, edited /etc/
On Fri, 5 Feb 2010, Nikhil Nair wrote:
> Hi again,
>
> OK, I've now installed a local caching nameserver, but don't see any
> change at all.
>
> IN detail, what I did:
>
> - Installed Debian packages resolvconf and dnsmasq (resolvconf just takes
> care of dynamic nameserver allocations in /etc/re
Have you tried to set srvlookup=no on your sip.conf?
Atenciosamente,
Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000
Information Security Manager
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54 21
2010/2/5 Vinícius Fontes :
> Have you tried to set srvlookup=no on your sip.conf?
I think that just stops SRV lookups, not regular DNS.
/r
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-use
On 05/02/10 14:21, Nikhil Nair wrote:
> Hi again,
>
> OK, I've now installed a local caching nameserver, but don't see any
> change at all.
>
> IN detail, what I did:
>
> - Installed Debian packages resolvconf and dnsmasq (resolvconf just takes
> care of dynamic nameserver allocations in /etc/
I solved similar issues by setting srvlookup=no, having bind running locally
and just the line "nameserver 127.0.0.1" on /etc/resolv.conf.
Atenciosamente,
Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000
Information
On Fri, 5 Feb 2010, Vinícius Fontes wrote:
I solved similar issues by setting srvlookup=no, having bind running
locally and just the line "nameserver 127.0.0.1" on /etc/resolv.conf.
Your local bind is what solved the problem. The srvlookup=no didn't
actually help IMO.
j
Atenciosament
On 05/02/10 16:01, Jeff LaCoursiere wrote:
>
> On Fri, 5 Feb 2010, Vinícius Fontes wrote:
>
>> I solved similar issues by setting srvlookup=no, having bind running
>> locally and just the line "nameserver 127.0.0.1" on /etc/resolv.conf.
>>
>
> Your local bind is what solved the problem. The srv
Could be. Important thing is the problem was solved :)
Atenciosamente,
Vinícius Fontes
Gerente de Segurança da Informação
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brasil
+55 54 2104-7000
Information Security Manager
Canall Tecnologia em Comunicações
Passo Fundo - RS - Brazil
+55 54
> OK, I've now installed a local caching nameserver, but don't see any
> change at all.
> - Tested name resolution in general: working fine.
> - Turned ADSL router off and tried to make local and Zap calls: no luck.
Did you try to make any calls before pulling the plug on the ADSL router?
dnsmasq
On Fri, Feb 05, 2010 at 01:21:38PM +, Nikhil Nair wrote:
> Hi again,
>
> OK, I've now installed a local caching nameserver, but don't see any
> change at all.
Just to add to the discussion, my setup I was using a local bind9 server
for local/authorative and recursive queries
I think from me
Nikhil Nair wrote:
> Hi,
>
> I'm getting some strange behaviour on Asterisk 1.4 running on Debian
> Stable (Lenny). I suspect it's something to do with my setup, rather than
> a bug, but I'm struggling to see it, and would appreciate any input.
>
Thanks for posting this. And for persistently
I have the same problem. I have asterisk on the public internet and
other ips on the private lan. When the internet goes down my private
asterisk network is compromised. My thought is that it has something to
do with the ports/ips on which asterisk is trying to communicate. It
may be a conf
asterisk-users-ow...@lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Losing local SIP phones when internet goesdown? (sean darcy)
>
On 6/02/10 4:06 AM, Dave Cotton wrote:
> On 05/02/10 16:01, Jeff LaCoursiere wrote:
>>
>> On Fri, 5 Feb 2010, Vinícius Fontes wrote:
>>
>>> I solved similar issues by setting srvlookup=no, having bind running
>>> locally and just the line "nameserver 127.0.0.1" on /etc/resolv.conf.
>>>
>>
>> Your l
On 9/02/10 12:59 PM, Tilghman Lesher wrote:
>> add to the top of /etc/resolv.conf
>>
>> nameserver 127.0.0.1
>
> If you're using DHCP on any of your interfaces, you'll need to configure
> dhclient (or whatever dhcp client you're using) to prepend in the
> configuration with (e.g. /etc/dhcp3/dhclien
Still I have the connection loss when internet goes down, I have to restart
the Asterisk machine or need to remove the VoIP trunk accessing internet...
DNSmasq is the only option by losing the connection when internet goes
down...is there any other way...
Thanks
On Fri, Feb 12, 2010 at 4:20 AM,
Its a long and old thread, haven't read it all, but just to let you know
this happens when there is no reply from the DNS. So change DNS or install
it locally on your asterisk server. At least caching name server should be
installed.
Zeeshan A Zakaria
--
www.ilovetovoip.com
On 2010-09-24 1:51 PM
Yes I read the one more thread
http://lists.digium.com/pipermail/asterisk-users/2010-February/244256.html
also..
Thanks for your comments...:)
On Fri, Sep 24, 2010 at 11:27 PM, Zeeshan Zakaria wrote:
> Its a long and old thread, haven't read it all, but just to let you know
> this happens when th
40 matches
Mail list logo