David Kerr ddc951060a 
	
	
	app_originate: Add option to execute gosub prior to dial ... 
			Issue/patch ASTERISK-26587 was inspired by issue ASTERISK-22992
that requested ability to add callerid into app_originate.
Comments in that issue suggested that it was better solved by
adding an option to gosub prior to originating the call.  The
attached patch implements this much like app_dial with two
options one to gosub on the originating channel and one to gosub
on the newly created channel and behaves just like app_dial.
I have tested this patch by adding callerid info to the new
channel and also SIPAddHeader (to e.g. add header to force auto
answer) and confirmed it works.  Have also tested both 'exten'
and 'app' versions of app_originate.
Opened by: dkerr
Patch by: dkerr
Change-Id: I36abc39b58567ffcab4a636ea196ef48be234c57 
		
	 
		2016-11-29 19:40:02 -05:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2016-06-07 09:32:11 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-03-01 09:30:43 -07:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-05-09 22:49:26 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-17 12:32:29 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 13:20:38 -05:00 
		 
	
		
			
			
			
			
			
			2014-04-23 15:02:39 +00:00 
		 
	
		
			
			
			
			
			
			2016-05-03 07:56:18 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-27 18:37:26 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-27 18:37:26 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-29 11:19:53 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 13:18:11 -07:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-04 15:50:41 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 17:03:09 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 13:06:03 -07:00 
		 
	
		
			
			
			
			
			
			2016-11-16 17:45:16 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-16 14:56:18 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-04-10 13:32:24 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-20 09:53:24 +11:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 21:21:59 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 13:51:56 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-28 10:24:26 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-16 21:31:54 -05:00 
		 
	
		
			
			
			
			
			
			2016-11-14 17:03:09 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-31 14:46:54 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2015-04-17 15:58:07 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-07-20 22:06:33 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-01 11:48:06 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-21 13:58:26 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-29 19:40:02 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-02 08:44:26 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2015-03-26 22:24:26 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 17:03:09 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-14 13:51:56 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2013-01-19 20:54:07 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-13 11:47:56 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2014-08-21 14:42:12 +00:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2014-12-17 10:23:32 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00