Reload fixes (bug #2991)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-12-11 00:02:08 +00:00
parent 8ed07241cb
commit 1e51aa13af

View File

@@ -6283,6 +6283,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
prev = NULL;
while (tmp2) {
if (!tmp2->destroy) {
if (tmp2->channel == channel) {
tmp = tmp2;
here = 1;
@@ -6291,6 +6292,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
if (tmp2->channel > channel) {
break;
}
}
prev = tmp2;
tmp2 = tmp2->next;
}
@@ -9131,6 +9133,7 @@ static int setup_zap(int reload)
return -1;
}
#ifdef ZAPATA_PRI
if (!reload) {
/* Process trunkgroups first */
v = ast_variable_browse(cfg, "trunkgroups");
while(v) {
@@ -9187,6 +9190,7 @@ static int setup_zap(int reload)
}
v = v->next;
}
}
#endif
v = ast_variable_browse(cfg, "channels");
while(v) {