Skip to content

Commit cf31c18

Browse files
committed
analog: Enable loading configuration in hardware modules (zapcard, ...)
The analog module would construct a `SignallingCircuitSpan` without the `local-config` attribute, hence causing the hardware modules to discard the configuration.
1 parent 3f500c1 commit cf31c18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/server/analog.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,9 @@ void ModuleGroup::buildGroup(ModuleGroup* group, ObjList& spanList, String& erro
13001300
String* s = static_cast<String*>(o->get());
13011301
if (s->null())
13021302
continue;
1303-
SignallingCircuitSpan* span = buildSpan(*s,start);
1303+
NamedList spanParams(*s);
1304+
spanParams.addParam("local-config","true");
1305+
SignallingCircuitSpan* span = buildSpan(*s,start,&spanParams);
13041306
if (!span) {
13051307
error << "Failed to build span '" << *s << "'";
13061308
break;

0 commit comments

Comments
 (0)