[Serusers] writing a module

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Sat Feb 15 09:52:35 CET 2003


On Feb 14, 2003 at 11:13, Mario Kolberg <mko at cs.stir.ac.uk> wrote:
> Hi,

[...]
> I included the module to sr_modules.c and also a line 'loadmodule' in
> the ser.cfg.

You need to include your module in sr_module.c only if you plan to
compile it statically in ser. The only  reasons to do that are debugging
with an old gdb or profiling.

> But how do I actually execute the function in the module
> every time a (INVITE) message is received by the server?

[this was answered by Jan]


Andrei



More information about the sr-users mailing list