jonatascalebe 8513881334 
	
	
	manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action ... 
			manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
The action originate does not has the ability to run an subroutine at initial channel, like the Aplication Originate. This update give this ability for de action originate too.
For example, we can run a routine via Gosub on the channel to request an automatic answer, so the caller does not need to accept the call when using the originate command via manager, making the operation more efficient.
UserNote: When using the Originate AMI Action, we now can pass the PreDialGoSub parameter, instructing the asterisk to perform an subrouting at channel before call start. With this parameter an call initiated by AMI can request the channel to start the call automaticaly, adding a SIP header to using GoSUB, instructing to autoanswer the channel, and proceeding the outbuound extension executing. Exemple of an context to perform the previus indication:
[addautoanswer]
exten => _s,1,Set(PJSIP_HEADER(add,Call-Info)=answer-after=0)
exten => _s,n,Set(PJSIP_HEADER(add,Alert-Info)=answer-after=0)
exten => _s,n,Return() 
		
	 
		2024-03-22 13:53:34 +00:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2020-07-20 11:37:48 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2018-12-07 09:06:08 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2023-11-28 19:51:54 +00:00 
		 
	
		
			
			
			
			
			
			2023-04-03 07:12:13 -05:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
			
			
			
			
			
			2023-04-03 07:12:13 -05:00 
		 
	
		
			
			
			
			
			
			2020-05-05 10:06:43 -05:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2020-06-02 11:35:07 -05:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
			
			
			
			
			
			2019-09-23 07:35:48 -04:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2023-08-09 14:49:53 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2018-06-19 15:02:52 -05:00 
		 
	
		
			
			
			
			
			
			2020-04-06 10:23:20 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2023-11-09 18:24:33 +00:00 
		 
	
		
			
			
			
			
			
			2022-06-27 10:42:29 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-05-25 16:47:46 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-21 14:47:08 +00:00 
		 
	
		
			
			
			
			
			
			2022-08-17 11:04:55 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2018-03-01 13:13:55 -06:00 
		 
	
		
			
			
			
			
			
			2023-03-16 10:15:08 -05:00 
		 
	
		
			
			
			
			
			
			2023-09-22 16:10:01 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2023-12-12 14:40:13 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2022-03-23 17:04:44 -05:00 
		 
	
		
			
			
			
			
			
			2023-11-02 21:37:57 +00:00 
		 
	
		
			
			
			
			
			
			2022-05-05 08:15:50 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2020-04-15 13:56:40 -05:00 
		 
	
		
			
			
			
			
			
			2022-07-07 08:22:43 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-28 18:38:56 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2022-10-27 07:51:49 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
			
			
			
			
			
			2020-06-10 09:33:28 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2020-04-28 13:05:55 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-14 13:19:07 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2019-11-18 08:30:45 -06:00 
		 
	
		
			
			
			
			
			
			2023-03-20 10:45:39 -05:00 
		 
	
		
			
			
			
			
			
			2018-03-14 05:20:12 -04:00 
		 
	
		
			
			
			
			
			
			2022-09-26 11:27:35 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-06-24 08:21:35 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-01-27 10:04:32 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2018-03-01 13:13:55 -06:00 
		 
	
		
			
			
			
			
			
			2018-03-01 13:13:55 -06:00 
		 
	
		
			
			
			
			
			
			2023-01-04 11:56:21 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2023-03-06 11:24:39 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-20 12:40:01 -05:00 
		 
	
		
			
			
			
			
			
			2023-10-05 14:37:55 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2018-05-20 13:55:26 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-22 14:34:30 +00:00 
		 
	
		
			
			
			
			
			
			2020-10-12 10:50:26 -05:00 
		 
	
		
			
			
			
			
			
			2024-01-17 15:00:59 +00:00 
		 
	
		
			
			
			
			
			
			2023-12-06 21:23:44 +00:00 
		 
	
		
			
			
			
			
			
			2023-04-03 07:12:13 -05:00 
		 
	
		
			
			
			
			
			
			2022-01-05 10:55:13 -06:00 
		 
	
		
			
			
			
			
			
			2023-08-11 13:28:52 +00:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2022-01-05 10:55:13 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-19 09:42:19 -05:00 
		 
	
		
			
			
			
			
			
			2024-03-22 13:53:34 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2019-01-28 12:26:58 -07:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-30 13:20:16 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-21 11:03:10 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
			
			
			
			
			
			2023-09-20 19:14:50 +00:00 
		 
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-28 19:51:54 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2021-08-06 09:19:38 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2024-03-22 13:04:19 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2018-07-26 14:29:18 -05:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-14 13:17:33 +00:00 
		 
	
		
			
			
			
			
			
			2022-10-26 10:07:24 -05:00 
		 
	
		
			
			
			
			
			
			2022-01-21 10:05:48 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
	
		
			
			
			
			
			
			2019-11-18 11:05:24 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-12 18:46:25 +00:00 
		 
	
		
			
			
			
			
			
			2019-02-04 14:40:35 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-11-18 13:25:54 -06:00 
		 
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
			
			
			
			
			
			2021-11-18 13:25:54 -06:00 
		 
	
		
			
			
			
			
			
			2023-11-07 14:27:07 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-13 09:00:04 -06:00 
		 
	
		
			
			
			
			
			
			2021-12-02 10:38:23 -06:00 
		 
	
		
			
			
			
			
			
			2023-06-09 18:19:46 +00:00 
		 
	
		
			
			
			
			
			
			2022-05-09 07:48:40 -05:00 
		 
	
		
			
			
			
			
			
			2019-03-11 11:39:35 -03:00 
		 
	
		
			
			
			
			
			
			2023-12-08 13:11:45 +00:00 
		 
	
		
			
			
			
			
			
			2020-05-08 13:44:08 -05:00 
		 
	
		
			
			
			
			
			
			2020-09-11 10:41:15 -06:00 
		 
	
		
			
			
			
			
			
			2018-03-13 16:24:06 -04:00 
		 
	
		
			
			
			
			
			
			2022-08-17 11:04:55 -05:00 
		 
	
		
			
			
			
			
			
			2022-05-09 08:21:58 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-02-14 16:18:40 -06:00 
		 
	
		
			
			
			
			
			
			2023-11-14 17:56:15 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2021-09-09 06:48:40 -05:00 
		 
	
		
			
			
			
			
			
			2023-04-10 10:52:45 -05:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2022-03-24 12:01:32 -05:00 
		 
	
		
			
			
			
			
			
			2018-01-03 17:23:36 -05:00 
		 
	
		
			
			
			
			
			
			2024-02-28 13:03:16 +00:00 
		 
	
		
			
			
			
			
			
			2021-11-15 15:28:45 -06:00 
		 
	
		
			
			
			
			
			
			2017-12-22 09:23:22 -05:00 
		 
	
		
			
			
			
			
			
			2023-11-14 20:51:31 +00:00 
		 
	
		
			
			
			
			
			
			2023-03-02 08:21:37 -06:00 
		 
	
		
			
			
			
			
			
			2024-02-06 18:55:49 +00:00 
		 
	
		
			
			
			
			
			
			2021-12-02 15:02:42 -06:00 
		 
	
		
			
			
			
			
			
			2023-05-11 19:04:47 +00:00 
		 
	
		
			
			
			
			
			
			2022-12-08 09:11:44 -06:00