I'm calling it exactly the same way, using an HttpMessage...
I've also tried setting and getting the function as a var in the original script, one right under the other using
ScriptVars.setGlobalCustomVar("addEntry", addEntry)
var test = ScriptVars.getGlobalCustomVar("addEntry");
print(test.class)
but it prints class as "undefined".
Now, coming to think of it, I'll try some different. I'll hook into the panel I've created ".getMainFrame().getWorkbench().getPanels(...)" after making addEntry a method of the Panel object created in the extender script. It could bear some fruits...
Maybe, going high up into the hierarchy of the ActiveScanner object provided by "scanNode()" and "scan()" from the Active Rules script, I'll find a way to plug into the Workbench and get the Panel reference...
Regards,
Ailton Caetano