[asterisk-users] Re :Re: Sip module and dns (Alyed)

Alyed alyed at vivoxie.com
Fri Mar 26 13:14:03 CDT 2010


Just for the sake of this thread I'll paste part of the last post regarding
this issue in the asterisk bug tracker.

kpfleming on 2005-03-10 post: "Essentially, what we are saying is that if
you are going to use DNS to resolve critical information in your Asterisk
configuration, you need to do everything possible to ensure that the DNS
lookups will not block for long periods of time. "

Alyed


2010/3/26 Luis Silva <luis.silva at dreamware.pt>

> >Just to check, have you set up
> >srvlookup=yes
> >
> >under the general context in your sip.conf?
> >
> >Alyed
>
> No, but I put it now but the result is the same. And googleing further
> https://issues.asterisk.org/view.php?id=3723, it seems that is an old
> issue...
> Don't know for witch version is, 1.2?... But is what is happening to me.
> I'm
> putting bind in the asterisk server and make some tests.
> The sip modules blocks in dns queries but if doesn't block in sip
> registrations timeout that works for me...
>
> Regards
> Luis Silva
>
> >2010/3/26 Luis Silva <luis.silva at dreamware.pt>
> >
> >> Hi again,
> >>
> >> In other asterisk it happened the same... No internet, no justvoip
> >> resolution, no sip...
> >> Remove the trunk, sip up... I'm going to test using bind with a "local"
> >> zone.
> >> More ideas/suggestions?
> >>
> >> Regards
> >> Luis Silva
> >>
> >>
> >> >Hi ,
> >> >
> >> >I had some problems in the past with sip trunks, asterisk-users Digest,
> >> > Vol
> >> >68, Issue 4, message 6, and  had a reply (message 9) saying that It
> could
> >> be
> >> >a dns issue.
> >> >
> >> >Well today I had a problem again with sip module and it really seams a
> dns
> >> >issue.
> >> >
> >> >I have an asterisk, version 1.4.26.1, that has 4 bri access and two sip
> >> >trunks. I'm having internet access problems and when this happens and
> if
> >> one
> >> >of the trunks tries to reregister its panic time!!! All the sip peers
> goes
> >> >unreachable, trunks and phones,  and the sip module "freezes", sip
> reload
> >> >takes many many time to act.  My solution is to remove the sip trunks
> from
> >> >the configuration.
> >> >
> >> >But why this happens? Why If there is no dns resolution of the trunks
> sip
> >> >module "freezes" ? This is more strange because if by some reason the
> >> >internet is down but still exists dns cache all is ok. (of course sip
> >> trunks
> >> >unreachable)
> >>
> >> >This is supposed to be like this? There is no dns tunning for
> >> asterisk+sip?
> >>
> >> >To avoid this I'm starting to think putting bind in the asterisk server
> >> and
> >> >publishing there the zones of the sip trunks. (Or instead of names
> start
> >> >using the ip's)
> >>
> >> >Any comments?
> >>
> >> >Regards,
> >> >Luis Silva
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100326/0b73b8a8/attachment.htm 


More information about the asterisk-users mailing list