diff options
-rwxr-xr-x | apps/app_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c index 1e54276b8..7382a2361 100755 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -63,7 +63,7 @@ static int record_exec(struct ast_channel *chan, void *data) return -1; } - for (; vdata[i] && (vdata[i] != ':') ; i++ ) { + for (; vdata[i] && (vdata[i] != ':') && (vdata[i] != '|'); i++ ) { if ((vdata[i] == '%') && (vdata[i+1] == 'd')) { percentflag = 1; /* the wildcard is used */ } |