Index: res_agi.c =================================================================== --- res_agi.c (revision 254405) +++ res_agi.c (working copy) @@ -2661,7 +2661,7 @@ static int handle_speechset(struct ast_channel *chan, AGI *agi, int argc, const char * const argv[]) { /* Check for minimum arguments */ - if (argc != 3) + if (argc != 4) return RESULT_SHOWUSAGE; /* Check to make sure speech structure exists */