}
v = ast_variable_browse(cfg, "general");
while(v) {
- if (!strcasecmp(v->name, "port")){
- ast_log(LOG_WARNING, "Ignoring port for now\n");
-#if 0
+ if (!strcasecmp(v->name, "bindport")){
sin->sin_port = ntohs(atoi(v->value));
+#if 0
if(last_port==0){
last_port=sin->sin_port;
#if 0
foundportno = 1;
} else {
cur->serverport = x;
- foundserverportno = 0;
+ foundserverportno = 1;
}
} else
ast_log(LOG_WARNING, "Ignoring invalid %s '%s' for '%s' at line %d\n", v->name, v->value, s, v->lineno);
; local addresses).
;
[general]
-;port=5036
+;bindport=4569
;bindaddr=192.168.0.1
;
; Set iaxcompat to yes if you plan to use layered