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
This commit is contained in:
Jeff Peeler
2009-06-26 22:09:19 +00:00
parent fe7923abfc
commit fc73897bbd

View 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