mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
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:
@@ -63,7 +63,7 @@ static int record_exec(struct ast_channel *chan, void *data)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (; vdata[i] && (vdata[i] != ':') ; i++ ) {
|
for (; vdata[i] && (vdata[i] != ':') && (vdata[i] != '|'); i++ ) {
|
||||||
if ((vdata[i] == '%') && (vdata[i+1] == 'd')) {
|
if ((vdata[i] == '%') && (vdata[i+1] == 'd')) {
|
||||||
percentflag = 1; /* the wildcard is used */
|
percentflag = 1; /* the wildcard is used */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user