diff extensions/app_sip/app_sip.h @ 440:f38bff0bf3e9

Added dynamic port choice for app_sip
author Alexandre Westfahl <awestfahl@freediameter.net>
date Wed, 28 Jul 2010 16:17:29 +0900
parents a94ecaaf15ec
children d20317e74a41
line wrap: on
line diff
--- a/extensions/app_sip/app_sip.h	Wed Jul 28 16:01:53 2010 +0900
+++ b/extensions/app_sip/app_sip.h	Wed Jul 28 16:17:29 2010 +0900
@@ -65,7 +65,8 @@
 	char * mysql_server;
 	char mysql_prefix[10]; //default: as_
 	uint16_t  mysql_port; //if 0, default port will be used
-	
+	uint16_t rtr_port;
+	uint16_t ppr_port;
 };
 extern struct as_conf * as_conf;
 
@@ -134,7 +135,7 @@
 
 int app_sip_RTR_cb(struct rtrsipaor structure);
 int app_sip_PPR_cb(struct pprsipaor structure);
-#define PORT 666 //TODO:put in conf file
+
 
 int ds_entry();
 void fd_ext_fini(void);
"Welcome to our mercurial repository"