ctl_defaults.h

00001 /* $Id$
00002  */
00003 
00004 #ifndef __ctl_defaults_h
00005 #define __ctl_defaults_h
00006 /*listen by default on: */
00007 #ifdef SRNAME
00008 /* this is used when compiling sercmd tool */
00009 #define DEFAULT_CTL_SOCKET  "unixs:/tmp/" SRNAME "_ctl"
00010 #else
00011 /* this is used when compiling sip server */
00012 #define DEFAULT_CTL_SOCKET  "unixs:/tmp/" NAME "_ctl"
00013 #endif
00014 /* port used by default for tcp/udp if no port is explicitely specified */
00015 #define DEFAULT_CTL_PORT 2049
00016 
00017 #define PROC_CTL -32
00018 
00019 #endif