diff --git a/WebCallerID/pom.xml b/WebCallerID/pom.xml
index affae25..be02571 100755
--- a/WebCallerID/pom.xml
+++ b/WebCallerID/pom.xml
@@ -3,7 +3,7 @@
4.0.0
WebCallerID
WebCallerID
- 0.0.1-SNAPSHOT
+ 1.0.1
log4j
diff --git a/WebCallerID/src/main/java/de/tilman/callerId/CallerIdClient.java b/WebCallerID/src/main/java/de/tilman/callerId/CallerIdClient.java
index 297ba28..cc51014 100755
--- a/WebCallerID/src/main/java/de/tilman/callerId/CallerIdClient.java
+++ b/WebCallerID/src/main/java/de/tilman/callerId/CallerIdClient.java
@@ -29,6 +29,12 @@ import com.martiansoftware.jsap.JSAPResult;
import com.martiansoftware.jsap.Switch;
import com.martiansoftware.jsap.UnflaggedOption;
+/**
+ * This class retrieves the list of missed calls from a Speedport W 723V (A)
+ * router and sends notifications to a list of e-mail addresses.
+ *
+ * @author Tilman Liero tliero@gmx.net
+ */
public class CallerIdClient {
private final static Logger log = Logger.getLogger(CallerIdClient.class);
@@ -216,12 +222,9 @@ public class CallerIdClient {
transport.close();
}
- /**
- * @param args
- */
public static void main(String[] args) {
BasicConfigurator.configure(new ConsoleAppender(new PatternLayout("%d{ISO8601} - %m%n")));
- log.info("Starting CallerIdClient version 1.0.0");
+ log.info("Starting CallerIdClient version 1.0.1");
JSAP jsap = new JSAP();
@@ -236,7 +239,7 @@ public class CallerIdClient {
updateInterval.setHelp("the interval beetween runs in minutes");
jsap.registerParameter(updateInterval);
- UnflaggedOption smtpServer = new UnflaggedOption("SMTP server address").setStringParser(JSAP.INETADDRESS_PARSER)
+ UnflaggedOption smtpServer = new UnflaggedOption("SMTP server address").setStringParser(JSAP.STRING_PARSER)
.setRequired(true);
smtpServer.setHelp("the SMTP server to send notifications with");
jsap.registerParameter(smtpServer);
@@ -290,5 +293,4 @@ public class CallerIdClient {
new CallerIdClient(config);
}
-
}