|
@@ -4,10 +4,10 @@
|
|
/*listen by default on: */
|
|
/*listen by default on: */
|
|
#ifdef SRNAME
|
|
#ifdef SRNAME
|
|
/* this is used when compiling sercmd tool */
|
|
/* this is used when compiling sercmd tool */
|
|
-#define DEFAULT_CTL_SOCKET "unixs:/tmp/" SRNAME "_ctl"
|
|
|
|
|
|
+#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" SRNAME "/" SRNAME "_ctl"
|
|
#else
|
|
#else
|
|
/* this is used when compiling sip server */
|
|
/* this is used when compiling sip server */
|
|
-#define DEFAULT_CTL_SOCKET "unixs:/tmp/" NAME "_ctl"
|
|
|
|
|
|
+#define DEFAULT_CTL_SOCKET "unixs:" RUN_DIR "/" NAME "_ctl"
|
|
#endif
|
|
#endif
|
|
/* port used by default for tcp/udp if no port is explicitely specified */
|
|
/* port used by default for tcp/udp if no port is explicitely specified */
|
|
#define DEFAULT_CTL_PORT 2049
|
|
#define DEFAULT_CTL_PORT 2049
|