mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
fix the parsing of options in the FILTER function to match the documentation.
(issue #7465) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -81,7 +81,7 @@ static int filter(struct ast_channel *chan, char *cmd, char *parse, char *buf,
|
|||||||
);
|
);
|
||||||
char *outbuf = buf;
|
char *outbuf = buf;
|
||||||
|
|
||||||
AST_STANDARD_APP_ARGS(args, parse);
|
AST_NONSTANDARD_APP_ARGS(args, parse, ',');
|
||||||
|
|
||||||
if (!args.string) {
|
if (!args.string) {
|
||||||
ast_log(LOG_ERROR, "Usage: FILTER(<allowed-chars>,<string>)\n");
|
ast_log(LOG_ERROR, "Usage: FILTER(<allowed-chars>,<string>)\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user