mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user