From: Jeff Peeler Date: Fri, 26 Jun 2009 22:09:19 +0000 (+0000) Subject: Make sure to recreate the dahdi pseudo channel after dahdi restart X-Git-Tag: 1.4.26~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc73897bbd5d310ff070bdc69094deed3c58a160;p=thirdparty%2Fasterisk.git 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/branches/1.4@203848 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 99c745eab2..46bc9ccec9 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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