Browse code

core: derive default config name from -DNAME

The default config name was hard-wired to sip-router.cfg.

Reported-by: Klaus Darilion klaus.mailinglists at pernau at

Andrei Pelinescu-Onciul authored on 08/07/2009 13:42:47
Showing 1 changed files
... ...
@@ -44,7 +44,7 @@
44 44
 #define SIP_PORT  5060
45 45
 #define SIPS_PORT 5061
46 46
 
47
-#define CFG_FILE CFG_DIR "sip-router.cfg"
47
+#define CFG_FILE CFG_DIR NAME ".cfg"
48 48
 
49 49
 #define TLS_PKEY_FILE "cert.pem" 
50 50
 #define TLS_CERT_FILE "cert.pem"