[Asterisk-cvs] asterisk/apps app_cut.c, 1.6, 1.6.2.1 app_dial.c,
1.94.2.7, 1.94.2.8 app_eval.c, 1.1, 1.1.2.1
russell at lists.digium.com
russell at lists.digium.com
Wed May 11 21:37:36 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv13414/apps
Modified Files:
Tag: v1-0
app_cut.c app_dial.c app_eval.c
Log Message:
Index: app_cut.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_cut.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- app_cut.c 14 Jul 2004 07:22:30 -0000 1.6
+++ app_cut.c 12 May 2005 01:43:36 -0000 1.6.2.1
@@ -31,10 +31,10 @@
static char *app_cut = "Cut";
-static char *cut_synopsis = "Cut(newvar=varname|delimiter|fieldspec)";
+static char *cut_synopsis = "Splits a variable's content using the specified delimiter";
static char *cut_descrip =
-"Cut(newvar=varname,delimiter,field)\n"
+"Usage: Cut(newvar=varname,delimiter,fieldspec)\n"
" newvar - new variable created from result string\n"
" varname - variable you want cut\n"
" delimiter - defaults to '-'\n"
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.94.2.7
retrieving revision 1.94.2.8
diff -u -d -r1.94.2.7 -r1.94.2.8
--- app_dial.c 10 May 2005 03:28:01 -0000 1.94.2.7
+++ app_dial.c 12 May 2005 01:43:36 -0000 1.94.2.8
@@ -364,6 +364,10 @@
!(outgoing->ringbackonly || outgoing->musiconhold)) {
if (ast_write(in, f))
ast_log(LOG_WARNING, "Unable to forward image\n");
+ } else if (single && (f->frametype == AST_FRAME_TEXT) &&
+ !(outgoing->ringbackonly || outgoing->musiconhold)) {
+ if (ast_write(in, f))
+ ast_log(LOG_WARNING, "Unable to text\n");
} else if (single && (f->frametype == AST_FRAME_HTML) && !outgoing->noforwardhtml) {
ast_channel_sendhtml(in, f->subclass, f->data, f->datalen);
}
Index: app_eval.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_eval.c,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- app_eval.c 9 Mar 2004 15:57:56 -0000 1.1
+++ app_eval.c 12 May 2005 01:43:36 -0000 1.1.2.1
@@ -31,10 +31,10 @@
static char *app_eval = "Eval";
-static char *eval_synopsis = "Eval(newvar=somestring)";
+static char *eval_synopsis = "Evaluates a string";
static char *eval_descrip =
-"Eval(newvar=somestring)\n"
+"Usage: Eval(newvar=somestring)\n"
" Normally Asterisk evaluates variables inline. But what if you want to\n"
"store variable offsets in a database, to be evaluated later? Eval is\n"
"the answer, by allowing a string to be evaluated twice in the dialplan,\n"
More information about the svn-commits
mailing list