Merged revisions 203848 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Fri, 26 Jun 2009 22:11:31 +0000 (22:11 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 26 Jun 2009 22:11:31 +0000 (22:11 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r203848 | jpeeler | 2009-06-26 17:09:19 -0500 (Fri, 26 Jun 2009) | 5 lines

  Make sure to recreate the dahdi pseudo channel after dahdi restart

  (closes issue #14477)
  Reported by: timking
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index a57e221..7df0b59 100644 (file)
@@ -15667,7 +15667,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
        }
        /*< \todo why check for the pseudo in the per-channel section.
         * Any actual use for manual setup of the pseudo channel? */
-       if (!found_pseudo && reload == 0) {
+       if (!found_pseudo && reload != 1) {
                /* use the default configuration for a channel, so
                   that any settings from real configured channels
                   don't "leak" into the pseudo channel config