func: static int config_load(void) struct ast_config * cfg ; struct ast_flags config_flags = { 0 } ; if ( gethostname ( ourhost , sizeof ( ourhost ) ) )  cfg = ast_config_load ( config , config_flags ); if ( ! cfg || cfg == CONFIG_STATUS_FILEINVALID )  memset ( & bindaddr , 0 , sizeof ( bindaddr ) ); if ( ntohl ( bindaddr . sin_addr . s_addr ) )  __ourip = bindaddr . sin_addr; if ( ! ntohs ( bindaddr . sin_port ) )  bindaddr . sin_port = htons ( DEFAULT_SKINNY_PORT ); bindaddr . sin_family = AF_INET; if ( ( skinnysock > - 1 ) && ( ntohs ( bindaddr . sin_port ) != oldport ) )  if ( bind ( skinnysock , ( struct sockaddr * ) & bindaddr , sizeof ( bindaddr ) ) < 0 )  ast_log ( LOG_WARNING , "Failed to bind to %s:%d: %s\n" , ast_inet_ntoa ( bindaddr . sin_addr ) , ntohs ( bindaddr . sin_port ) , strerror ( errno ) ); ast_log ( LOG_WARNING , "Failed to start listening to %s:%d: %s\n" , ast_inet_ntoa ( bindaddr . sin_addr ) , ntohs ( bindaddr . sin_port ) , strerror ( errno ) ); ast_verb ( 2 , "Skinny listening on %s:%d\n" , ast_inet_ntoa ( bindaddr . sin_addr ) , ntohs ( bindaddr . sin_port ) ); 