[Home]

Summary:ASTERISK-05412: [patch] Allow Cut and CUT() to take functions-with-multiple-arguments as its own first argument
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2005-11-01 10:03:32.000-0600Date Closed:2008-01-15 15:53:24.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20051101__cut_args.diff.txt
Description:Really just a conversion to ast_app_separate_args, but with the benefit that the application (and function, which is the same code) can take a function which has multiple arguments as its own first argument, e.g.
${CUT(CUT(foo,:,1-3),-,1)}
Comments:By: Kevin P. Fleming (kpfleming) 2005-11-01 16:10:41.000-0600

Committed to CVS HEAD, thanks! (you may want to look at the APP_ARGS macros I added to app.h a few days ago... they make this sort of thing even simpler to do)

By: Digium Subversion (svnbot) 2008-01-15 15:53:24.000-0600

Repository: asterisk
Revision: 6934

U   trunk/ChangeLog
U   trunk/apps/app_cut.c

------------------------------------------------------------------------
r6934 | kpfleming | 2008-01-15 15:53:24 -0600 (Tue, 15 Jan 2008) | 2 lines

issue ASTERISK-5412

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6934