[Home]

Summary:ASTERISK-10138: [patch] Change chan_iax2.c to allow hosts to be poked if they have no ip and they do have dnsmgr
Reporter:James Golovich (jamesgolovich)Labels:
Date Opened:2007-08-22 03:19:55Date Closed:2007-08-24 16:59:54
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-iaxdnsmgr.patch
Description:I'm not sure if anyone uses dnsmgr out there, but if for some reason all your dns servers are unavailable when asterisk starts up and become available after the fact (assuming dnsmgr is used), then the hosts will be qualified once the ip address gets resolved.

Pretty trivial here, but if we're going to keep using dnsmgr then it might be good to handle this case.
Comments:By: Digium Subversion (svnbot) 2007-08-24 16:04:45

Repository: asterisk
Revision: 80849

------------------------------------------------------------------------
r80849 | russell | 2007-08-24 16:04:45 -0500 (Fri, 24 Aug 2007) | 5 lines

If dnsmgr is in use, and no DNS servers are available when Asterisk first
starts, then don't give up on poking peers.  Allow the poke to get rescheduled
so that it will work once the dnsmgr is able to resolve the host.
(closes issue ASTERISK-10138, patch by jamesgolovich)

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-08-24 16:05:10

Repository: asterisk
Revision: 80850

------------------------------------------------------------------------
r80850 | russell | 2007-08-24 16:05:10 -0500 (Fri, 24 Aug 2007) | 13 lines

Merged revisions 80849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80849 | russell | 2007-08-24 16:22:50 -0500 (Fri, 24 Aug 2007) | 5 lines

If dnsmgr is in use, and no DNS servers are available when Asterisk first
starts, then don't give up on poking peers.  Allow the poke to get rescheduled
so that it will work once the dnsmgr is able to resolve the host.
(closes issue ASTERISK-10138, patch by jamesgolovich)

........

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-08-24 16:59:54

Repository: asterisk
Revision: 80877

------------------------------------------------------------------------
r80877 | murf | 2007-08-24 16:59:52 -0500 (Fri, 24 Aug 2007) | 70 lines

Merged revisions 80790,80817,80819,80821,80850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r80790 | murf | 2007-08-24 13:03:39 -0600 (Fri, 24 Aug 2007) | 9 lines

Merged revisions 80789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80789 | murf | 2007-08-24 12:52:15 -0600 (Fri, 24 Aug 2007) | 1 line

From a complaint by jmls, I realize that the message in cdr_disposition is unnecessary. To get failure disposition, just return -1; no use having more than one case do that.
........

................
r80817 | tilghman | 2007-08-24 13:50:16 -0600 (Fri, 24 Aug 2007) | 2 lines

Fix documentation for Set (closes issue ASTERISK-10160)

................
r80819 | bweschke | 2007-08-24 14:21:17 -0600 (Fri, 24 Aug 2007) | 11 lines

Merged revisions 80818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80818 | bweschke | 2007-08-24 15:52:06 -0400 (Fri, 24 Aug 2007) | 3 lines

A minor correction to the available logic of autofill. If a queue member is paused, they're not really "available" so don't count them as such. Somewhat related to issue ASTERISK-9835


........

................
r80821 | russell | 2007-08-24 14:25:39 -0600 (Fri, 24 Aug 2007) | 15 lines

Merged revisions 80820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80820 | russell | 2007-08-24 15:24:05 -0500 (Fri, 24 Aug 2007) | 7 lines

Improve the debouncing logic in the DTMF detector to fix some reliability
issues.  Previously, this code used a shift register of hits and non-hits.
However, if the start of the digit isn't clean, it is possible for the
leading edge detector to miss the digit.  These changes replace the flawed
shift register logic and also does the debouncing on the trailing edge as well.
(closes issue ASTERISK-10148, many thanks to softins for the patch)

........

................
r80850 | russell | 2007-08-24 15:23:14 -0600 (Fri, 24 Aug 2007) | 13 lines

Merged revisions 80849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80849 | russell | 2007-08-24 16:22:50 -0500 (Fri, 24 Aug 2007) | 5 lines

If dnsmgr is in use, and no DNS servers are available when Asterisk first
starts, then don't give up on poking peers.  Allow the poke to get rescheduled
so that it will work once the dnsmgr is able to resolve the host.
(closes issue ASTERISK-10138, patch by jamesgolovich)

........

................

------------------------------------------------------------------------