config.h
e60a9728
 /*
  *  $Id
  */
 
 
 
 #ifndef config_h
 #define config_h
 
 /* default sip port if none specified */
 #define SIP_PORT 5060
 
f20a56a2
 #define CFG_FILE "./ser.cfg"
e60a9728
 
 /* receive buffer size */
 #define BUF_SIZE 65507
 
1b1b19d8
 /* maximum number of addresses on which we will listen */
 #define MAX_LISTEN 16
 
 /* default number of child processes started */
 #define CHILD_NO    8
 
a15c363f
 #define RT_NO 10 /* routing tables number */
3e429f5c
 #define DEFAULT_RT 0 /* default routing table */
a15c363f
 
 #define MAX_REC_LEV 100 /* maximum number of recursive calls */
3e429f5c
 #define ROUTE_MAX_REC_LEV 10 /* maximum number of recursive calls
 							   for route()*/
a15c363f
 
7268726e
 #define MAX_URI_SIZE 1024	/* used when rewriting URIs */
 
b2e71d5b
 #define MY_VIA "Via: SIP/2.0/UDP "
 #define MY_VIA_LEN 17
 
 
 #define MAX_PORT_LEN 7 /* ':' + max 5 letters + \0 */
 #define CRLF "\r\n"
 #define CRLF_LEN 2
 
 #define RECEIVED ";received="
 #define RECEIVED_LEN 10
 
 
e60a9728
 #endif