Hi Juha,

hopefully this is fixed by a recent commit, which is in master only for the moment:

http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b58b26b7ccf7b2c01185a22ad076a3655e43664

The idea was to be able to have the name of ctl file reflecting the name of SIP server flavour. But the sercmd overwrites the NAME define -- the fix handles differently now the sip server name and sercmd tool name.

The plan is to backport it as soon I would have time to test it a bit. If you do it before, feel free to cherry-pick it to 3.2.

Cheers,
Daniel

On 11/2/11 2:55 PM, Juha Heinanen wrote:
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

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to