ports/net/kamailio/files/patch-modules_ctl_ctl__defaults.h
Kurt Jaeger 1edd9b3372 net/kamailio: 4.2.4 -> 4.3.1
Release-Notes: http://www.kamailio.org/w/kamailio-v4-3-0-release-notes/
New features: http://www.kamailio.org/wiki/features/new-in-4.3.x

- tries to fix installation issues with non-default options
- adds WEBSOCKET option

PR:		200352
2015-09-05 21:48:31 +00:00

15 lines
619 B
C

--- modules/ctl/ctl_defaults.h.orig 2015-07-20 13:16:25 UTC
+++ modules/ctl/ctl_defaults.h
@@ -4,10 +4,10 @@
/*listen by default on: */
#ifdef SRNAME
/* this is used when compiling sercmd tool */
-#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" SRNAME "_ctl"
+#define DEFAULT_CTL_SOCKET "unixs:" "/var/run/" SRNAME "_ctl"
#else
/* this is used when compiling sip server */
-#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" NAME "_ctl"
+#define DEFAULT_CTL_SOCKET "unixs:" "/var/run/" NAME "_ctl"
#endif
/* port used by default for tcp/udp if no port is explicitely specified */
#define DEFAULT_CTL_PORT 2049