[asterisk-commits] mvanbaak: branch 1.6.1 r141466 - /branches/1.6.1/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Sep 6 07:04:31 CDT 2008
Author: mvanbaak
Date: Sat Sep 6 07:04:30 2008
New Revision: 141466
URL: http://svn.digium.com/view/asterisk?view=rev&rev=141466
Log:
Blocked revisions 141464 via svnmerge
........
r141464 | mvanbaak | 2008-09-06 14:03:11 +0200 (Sat, 06 Sep 2008) | 23 lines
Some fixes to autocompletion in some commands.
Changes applied by this patch:
- Fix autocompletion in 'sip prune realtime', sip peers where never auto completed. Now we complete this command with:
'sip prune realtime peer' -> all | like | sip peers
Also I have modified the syntax in the usage, was wrong...
- Pass ast_cli_args->argv and ast_cli_args->argc while running autocompletion on CLI commands (CLI_GENERATE).
With this we avoid comparisons on ast_cli_args->line like this:
strcasestr(a->line, " description")
strcasestr(a->line, "descriptions ")
strcasestr(a->line, "realtime peer"), and so on..
Making the code more confusing (check the spaces in description!).
The only thing we must be sure is to first check a->pos or a->argc.
- Fix 'iax2 prune realtime' autocompletion, now we autocomplete this command with 'all' & 'iax2 peers', check a look that iax2 peers where all the peers, now only the ones in the cache..
(closes issue #13133)
Reported by: eliel
Patches:
clichanges.patch uploaded by eliel (license 64)
........
Modified:
branches/1.6.1/ (props changed)
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
--- trunk-blocked (original)
+++ trunk-blocked Sat Sep 6 07:04:30 2008
@@ -1,1 +1,1 @@
-/trunk:137901,138851,139020,139525,139704,139771,139775,139832,139981,140057,140167,140201,140355,140559,140821,140938,141218,141271,141328,141425
+/trunk:137901,138851,139020,139525,139704,139771,139775,139832,139981,140057,140167,140201,140355,140559,140821,140938,141218,141271,141328,141425,141464
More information about the asterisk-commits
mailing list