Changing syntax once again slightly and standardizing

config to other asterisk samples , bug note 6530


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matt O'Gorman
2006-02-20 18:30:49 +00:00
parent 894c8401d8
commit fecae4f64e
2 changed files with 18 additions and 24 deletions

View File

@@ -60,7 +60,7 @@ static char *descrip =
"This application sets the following channel variable upon completion:\n"
" AMDSTATUS - This is the status of the answering machine detection.\n"
" Possible values are:\n"
" MACHINE | PERSON | NOTSURE | HANGUP\n"
" MACHINE | HUMAN | NOTSURE | HANGUP\n"
" AMDCAUSE - Indicates the cause that led to the conclusion.\n"
" Possible values are:\n"
" TOOLONG-<%d total_time>\n"
@@ -247,7 +247,7 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data)
ast_verbose(VERBOSE_PREFIX_3 "AMD: HUMAN: silenceDuration:%d afterGreetingSilence:%d\n",
silenceDuration, afterGreetingSilence );
ast_frfree(f);
strcpy(amdStatus , "PERSON" );
strcpy(amdStatus , "HUMAN" );
sprintf(amdCause , "HUMAN-%d-%d", silenceDuration, afterGreetingSilence );
break;
}