[SR-Users] extra _ctl in ctl file

Juha Heinanen jh at tutpro.com
Wed Nov 2 14:55:44 CET 2011


Juha Heinanen writes:

> any idea where that comes from or it is only me, who has this problem?
> i have not changed anything the command used to work fine earlier.

the reason is this change to modules/ctl/ctl_defaults.h done in october:

-#define DEFAULT_CTL_SOCKET  "unixs:/tmp/ser_ctl"
+#define DEFAULT_CTL_SOCKET  "unixs:/tmp/" NAME "_ctl"

i have sip-proxy_ctl as NAME and i have defined in cfg:

modparam("ctl", "binrpc", "unix:/tmp/sip-proxy_ctl")

looks like sercmd.c uses DEFAULT_CTL_SOCKET and if binrpc param defines
a new name, there is a conflict between the command and the module.

-- juha



More information about the sr-users mailing list