Matthew Jordan 200ed6a405 
	
	
	Perform Ring-No-Answer checks before processing Hangup logic ... 
			The rna() routine will raise a Stasis message involving both the caller and the
agent. This doesn't work so well if we already hung up the agent channel, as
the channel doesn't quite exist. Not surprisingly, this will crash. This patch
properly runs the rna subroutine (performing all of the Ring-No-Answer logic)
prior to hanging up the agent channel.
(closes issue ASTERISK-22258)
Reported by: Kiril Valchev
Tested by: Kiril Valchev
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396365  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
		
	 
		2013-08-07 21:38:17 +00:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2013-08-01 17:07:52 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-14 21:45:16 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-01 17:07:52 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-18 20:31:05 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-14 21:45:16 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-26 21:34:23 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-20 13:10:22 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-14 23:29:32 +00:00 
		 
	
		
			
			
			
			
			
			2013-05-21 18:00:22 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-02 14:05:07 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-26 21:34:23 +00:00 
		 
	
		
			
			
			
			
			
			2013-01-22 15:16:20 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-01 22:09:18 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-01 22:09:18 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-14 03:49:52 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-25 04:06:32 +00:00 
		 
	
		
			
			
			
			
			
			2012-07-31 20:21:43 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-02 02:32:44 +00:00 
		 
	
		
			
			
			
			
			
			2013-05-08 18:36:21 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-25 04:06:32 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-20 20:42:34 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:28:54 +00:00 
		 
	
		
			
			
			
			
			
			2012-06-20 11:47:12 +00:00 
		 
	
		
			
			
			
			
			
			2013-05-29 02:26:17 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-14 21:45:16 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-01 22:09:18 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2012-07-31 20:21:43 +00:00 
		 
	
		
			
			
			
			
			
			2012-09-21 17:14:59 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:28:54 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-07 19:15:26 +00:00 
		 
	
		
			
			
			
			
			
			2012-07-31 20:21:43 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-06 21:20:58 +00:00 
		 
	
		
			
			
			
			
			
			2012-04-04 18:08:28 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-06 14:44:45 +00:00 
		 
	
		
			
			
			
			
			
			2013-07-02 21:19:21 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-19 20:23:29 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-24 00:32:20 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-24 00:32:20 +00:00 
		 
	
		
			
			
			
			
			
			2012-08-08 22:39:40 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-17 03:00:38 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-05 19:11:33 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-06 08:36:15 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-29 16:52:47 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-07 21:38:17 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-29 16:52:47 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:28:54 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-07 19:15:26 +00:00 
		 
	
		
			
			
			
			
			
			2011-09-19 20:23:29 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-09-28 18:27:02 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-29 16:52:47 +00:00 
		 
	
		
			
			
			
			
			
			2013-02-15 13:38:12 +00:00 
		 
	
		
			
			
			
			
			
			2012-07-31 20:21:43 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2012-10-01 12:29:04 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-06 08:36:15 +00:00 
		 
	
		
			
			
			
			
			
			2013-06-24 21:40:52 +00:00 
		 
	
		
			
			
			
			
			
			2012-06-15 16:20:16 +00:00 
		 
	
		
			
			
			
			
			
			2012-03-13 18:20:34 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-24 00:32:20 +00:00 
		 
	
		
			
			
			
			
			
			2012-04-03 20:14:01 +00:00 
		 
	
		
			
			
			
			
			
			2011-10-07 19:37:33 +00:00 
		 
	
		
			
			
			
			
			
			2013-05-31 19:00:51 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-20 23:43:27 +00:00 
		 
	
		
			
			
			
			
			
			2013-08-06 14:44:45 +00:00 
		 
	
		
			
			
			
			
			
			2012-06-15 15:33:41 +00:00 
		 
	
		
			
			
			
			
			
			2012-11-07 19:15:26 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-24 00:32:20 +00:00 
		 
	
		
			
			
			
			
			
			2011-07-14 20:28:54 +00:00 
		 
	
		
			
			
			
			
			
			2012-07-31 20:21:43 +00:00 
		 
	
		
			
			
			
			
			
			2012-02-29 16:52:47 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-29 18:24:39 +00:00 
		 
	
		
			
			
			
			
			
			2005-11-29 18:24:39 +00:00 
		 
	
		
			
			
			
			
			
			2013-04-15 16:43:47 +00:00