Leave retry time alone, handle "opaque" stuff in message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-03-31 08:00:26 +00:00
parent 8b5bbe4673
commit 71e80e5f62
2 changed files with 15 additions and 4 deletions

View File

@@ -182,9 +182,6 @@ static int apply_outgoing(struct outgoing *o, char *fn, FILE *f)
}
}
strncpy(o->fn, fn, sizeof(o->fn) - 1);
/* Check sanity of times */
if (o->retrytime < o->waittime + 5)
o->retrytime = o->waittime + 5;
if (!strlen(o->tech) || !strlen(o->dest) || (!strlen(o->app) && !strlen(o->exten))) {
ast_log(LOG_WARNING, "At least one of app or extension must be specified, along with tech and dest in file %s\n", fn);
return -1;