Jaco Kroon b0f349a330 
	
	
	func_odbc:  Introduce minargs config and expose ARGC in addition to ARGn. ... 
			minargs enables enforcing of minimum count of arguments to pass to
func_odbc, so if you're unconditionally using ARG1 through ARG4 then
this should be set to 4.  func_odbc will generate an error in this case,
so for example
[FOO]
minargs = 4
and ODBC_FOO(a,b,c) in dialplan will now error out instead of using a
potentially leaked ARG4 from Gosub().
ARGC is needed if you're using optional argument, to verify whether or
not an argument has been passed, else it's possible to use a leaked ARGn
from Gosub (app_stack).  So now you can safely do
${IF($[${ARGC}>3]?${ARGV}:default value)} kind of thing.
Change-Id: I6ca0b137d90b03f6aa9c496991f6cbf1518f6c24
Signed-off-by: Jaco Kroon <jaco@uls.co.za > 
		
	 
		2021-02-23 12:18:28 -06:00 
	 
	
	
	
		 
	
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2015-12-21 16:02:09 -08:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2018-11-26 12:56:24 -06:00 
		 
	
		
			
			
			
			
			
			2018-05-24 12:59:37 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-09 11:17:27 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2016-09-02 13:01:13 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2015-04-27 09:38:15 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-05-25 10:02:42 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-06-19 12:28:18 -04:00 
		 
	
		
			
			
			
			
			
			2017-11-16 09:47:10 -06:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2015-05-05 07:59:12 -04:00 
		 
	
		
			
			
			
			
			
			2017-05-25 10:02:42 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-03 10:34:12 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2014-10-17 22:45:27 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2019-01-25 14:32:02 -06:00 
		 
	
		
			
			
			
			
			
			2020-10-02 08:04:31 -05:00 
		 
	
		
			
			
			
			
			
			2017-07-13 11:44:14 -04:00 
		 
	
		
			
			
			
			
			
			2016-09-02 13:01:13 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2019-06-05 11:56:36 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2019-09-25 06:24:07 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-04-08 03:16:26 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-22 11:25:48 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2018-01-17 12:08:59 -06:00 
		 
	
		
			
			
			
			
			
			2021-02-23 12:18:28 -06:00 
		 
	
		
			
			
			
			
			
			2017-05-09 05:38:59 -05:00 
		 
	
		
			
			
			
			
			
			2020-01-22 10:10:14 -06:00 
		 
	
		
			
			
			
			
			
			2021-02-09 09:16:07 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2020-03-06 08:42:25 -06:00 
		 
	
		
			
			
			
			
			
			2020-10-14 08:24:56 -05:00 
		 
	
		
			
			
			
			
			
			2018-11-26 12:56:24 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-08-30 18:43:38 +00:00 
		 
	
		
			
			
			
			
			
			2016-09-02 13:01:13 -05:00 
		 
	
		
			
			
			
			
			
			2020-11-16 11:03:45 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2020-09-28 14:02:25 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2018-02-28 11:41:30 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2018-07-31 11:29:24 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-13 11:10:56 -03:00 
		 
	
		
			
			
			
			
			
			2019-05-21 11:03:13 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2020-07-09 05:20:36 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-05-25 10:02:42 +02:00 
		 
	
		
			
			
			
			
			
			2017-10-09 08:16:44 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2020-11-06 12:39:03 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2019-02-07 08:23:14 -06:00 
		 
	
		
			
			
			
			
			
			2018-10-18 14:59:01 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2021-02-18 10:36:22 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2020-01-28 09:37:12 +01:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-04-07 08:44:49 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-02-23 11:40:56 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2020-07-10 09:57:09 -05:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2016-09-02 13:01:13 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2019-01-22 13:32:04 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-02 13:01:13 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00