[Home]

Summary:ASTERISK-10892: [patch] Update examples to use CALLERID(num) instead of CALLERID(number)
Reporter:Jon Webster (jon)Labels:
Date Opened:2007-11-26 13:55:20.000-0600Date Closed:2007-11-26 17:13:22.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Functions/func_callerid
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) number-num.diff
Description:CALLERID() only checks to see if the first 3 characters match 'num'. So, although 'number' and 'numnuts' both do the same thing, 'num' is the desired value.

The examples should match...

****** ADDITIONAL INFORMATION ******

Related to 11378
Comments:By: Jon Webster (jon) 2007-11-26 13:58:06.000-0600

Used this command to generate patch.

perl -pi -e 's/CALLERID\(number\)/CALLERID(num)/gi' `find . ! -path '*svn*' -type f`

By: Digium Subversion (svnbot) 2007-11-26 17:13:22.000-0600

Repository: asterisk
Revision: 89621

U   trunk/doc/osp.txt
U   trunk/pbx/ael/ael-test/ael-test19/extensions.ael
U   trunk/pbx/ael/ael-test/ael-test3/extensions.ael
U   trunk/pbx/ael/ael-test/ael-test7/extensions.ael
U   trunk/pbx/ael/ael-test/ael-vtest13/extensions.ael
U   trunk/pbx/ael/ael-test/ref.ael-vtest13

------------------------------------------------------------------------
r89621 | mmichelson | 2007-11-26 17:13:21 -0600 (Mon, 26 Nov 2007) | 6 lines

Change all instances of "CALLERID(number)" to "CALLERID(num)" for
consistency's sake

(closes issue ASTERISK-10892, reported and patched by jon)


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