From: Mark Spencer Date: Fri, 28 Mar 2003 03:28:03 +0000 (+0000) Subject: Use '|' or ':' on app_record X-Git-Tag: 0.4.0~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f0bc1fdb22a63148ebf859098b12e0a63d2d5f2;p=thirdparty%2Fasterisk.git Use '|' or ':' on app_record git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@708 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_record.c b/apps/app_record.c index 1e54276b8b..7382a23610 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 */ }