Index: apps/app_exec.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_exec.c,v retrieving revision 1.4 diff -u -r1.4 app_exec.c --- apps/app_exec.c 21 Apr 2005 06:02:43 -0000 1.4 +++ apps/app_exec.c 23 Apr 2005 04:48:18 -0000 @@ -31,12 +31,13 @@ static char *app_exec = "Exec"; -static char *exec_synopsis = "Exec(Appname(arguments))"; +static char *exec_synopsis = "Executes asterisk application"; static char *exec_descrip = -"Exec(appname(arguments))\n" +"Usage: Exec(appname(arguments))\n" " Allows an arbitrary application to be invoked even when not\n" -"hardcoded into the dialplan. Returns whatever value the\n" +"hardcoded into the dialplan. For non-asterisk applications\n" +"see the application System. Returns whatever value the\n" "app returns or a non-zero value when the app cannot be found.\n"; STANDARD_LOCAL_USER; Index: apps/app_cut.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_cut.c,v retrieving revision 1.8 diff -u -r1.8 app_cut.c --- apps/app_cut.c 21 Apr 2005 06:02:43 -0000 1.8 +++ apps/app_cut.c 23 Apr 2005 04:40:54 -0000 @@ -31,10 +31,10 @@ static char *app_cut = "Cut"; -static char *cut_synopsis = "Cut(newvar=varname|delimiter|fieldspec)"; +static char *cut_synopsis = "Cuts up variables with a specific delimiter"; static char *cut_descrip = -"Cut(newvar=varname,delimiter,field)\n" +"Usage: Cut(newvar=varname,delimiter,fieldspec)\n" " newvar - new variable created from result string\n" " varname - variable you want cut\n" " delimiter - defaults to '-'\n" Index: apps/app_dial.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v retrieving revision 1.149 diff -u -r1.149 app_dial.c --- apps/app_dial.c 21 Apr 2005 06:02:43 -0000 1.149 +++ apps/app_dial.c 23 Apr 2005 04:57:15 -0000 @@ -122,7 +122,7 @@ /* RetryDial App by Anthony Minessale II Jan/2005 */ static char *rapp = "RetryDial"; -static char *rsynopsis = "Place a call, retrying on failure allowing optional exit extension.\n"; +static char *rsynopsis = "Place a call, retrying on failure allowing optional exit extension."; static char *rdescrip = " RetryDial(announce|sleep|loops|Technology/resource[&Technology2/resource2...][|timeout][|options][|URL]):\n" "Attempt to place a call. If no channel can be reached, play the file defined by 'announce'\n" Index: apps/app_eval.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_eval.c,v retrieving revision 1.3 diff -u -r1.3 app_eval.c --- apps/app_eval.c 21 Apr 2005 06:02:43 -0000 1.3 +++ apps/app_eval.c 23 Apr 2005 05:45:44 -0000 @@ -31,10 +31,10 @@ static char *app_eval = "Eval"; -static char *eval_synopsis = "Eval(newvar=somestring)"; +static char *eval_synopsis = "Evaluates a specific string"; static char *eval_descrip = -"Eval(newvar=somestring)\n" +"Usage: Eval(newvar=somestring)\n" " Normally Asterisk evaluates variables inline. But what if you want to\n" "store variable offsets in a database, to be evaluated later? Eval is\n" "the answer, by allowing a string to be evaluated twice in the dialplan,\n" Index: apps/app_groupcount.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_groupcount.c,v retrieving revision 1.9 diff -u -r1.9 app_groupcount.c --- apps/app_groupcount.c 21 Apr 2005 06:02:43 -0000 1.9 +++ apps/app_groupcount.c 23 Apr 2005 04:34:29 -0000 @@ -186,24 +186,24 @@ static char *app_group_check = "CheckGroup"; static char *app_group_match_count = "GetGroupMatchCount"; -static char *group_count_synopsis = "GetGroupCount([groupname][@category])"; -static char *group_set_synopsis = "SetGroup(groupname[@category])"; -static char *group_check_synopsis = "CheckGroup(max[@category])"; -static char *group_match_count_synopsis = "GetGroupMatchCount(groupmatch[@category])"; +static char *group_count_synopsis = "Get the count of a specific group"; +static char *group_set_synopsis = "Set the limit of a specific group"; +static char *group_check_synopsis = "Check if the limit of a specific group is achieved"; +static char *group_match_count_synopsis = "Get the count of all groups for a specific pattern"; static char *group_count_descrip = -"GetGroupCount([group][@category])\n" +"Usage: GetGroupCount([groupname][@category])\n" " Calculates the group count for the specified group, or uses\n" "the current channel's group if not specifed (and non-empty).\n" "Stores result in GROUPCOUNT. Always returns 0.\n"; static char *group_set_descrip = -"SetGroup(group)\n" +"Usage: SetGroup(groupname[@category])\n" " Sets the channel group to the specified value. Equivalent to\n" "SetVar(GROUP=group). Always returns 0.\n"; static char *group_check_descrip = -"CheckGroup(max[@category])\n" +"Usage: CheckGroup(max[@category])\n" " Checks that the current number of total channels in the\n" "current channel's group does not exceed 'max'. If the number\n" "does not exceed 'max', we continue to the next step. If the\n" @@ -211,7 +211,7 @@ "execution continues at that step, otherwise -1 is returned.\n"; static char *group_match_count_descrip = -"GetGroupMatchCount(groupmatch[@category])\n" +"Usage: GetGroupMatchCount(groupmatch[@category])\n" " Calculates the group count for all groups that match the specified\n" "pattern. Uses standard regular expression matching (see regex(7)).\n" "Stores result in GROUPCOUNT. Always returns 0.\n"; Index: apps/app_while.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_while.c,v retrieving revision 1.6 diff -u -r1.6 app_while.c --- apps/app_while.c 21 Apr 2005 06:02:43 -0000 1.6 +++ apps/app_while.c 23 Apr 2005 05:25:54 -0000 @@ -28,14 +28,16 @@ static char *exec_app = "ExecIf"; -static char *exec_desc = " ExecIF (||)\n" +static char *exec_desc = +"Usage: ExecIF (||)\n" "If is true, execute and return the result of ().\n" "If is true, but is not found, then the application\n" "will return a non-zero value."; -static char *exec_synopsis = "ExecIF (||)"; +static char *exec_synopsis = "Conditional exec"; static char *start_app = "While"; -static char *start_desc = " While()\n" +static char *start_desc = +"Usage: While()\n" "Start a While Loop. Execution will return to this point when\n" "EndWhile is called until expr is no longer true.\n"; @@ -43,7 +45,8 @@ static char *stop_app = "EndWhile"; -static char *stop_desc = " EndWhile()\n" +static char *stop_desc = +"Usage: EndWhile()\n" "Return to the previous called While\n\n"; static char *stop_synopsis = "End A While Loop";