]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make sure to recreate the dahdi pseudo channel after dahdi restart
authorJeff Peeler <jpeeler@digium.com>
Fri, 26 Jun 2009 22:09:19 +0000 (22:09 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 26 Jun 2009 22:09:19 +0000 (22:09 +0000)
(closes issue #14477)
Reported by: timking

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

channels/chan_dahdi.c

index 99c745eab24e93728f71e6c592402be2c8498624..46bc9ccec95de171ee3dfceaf804e1ec5751c6f2 100644 (file)
@@ -11996,7 +11996,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