Use '|' or ':' on app_record

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-03-28 03:28:03 +00:00
parent 65761373bd
commit 0f0bc1fdb2
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}