[asterisk-commits] bweschke: branch 1.6.0 r167498 - in /branches/1.6.0: ./ apps/app_followme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 7 12:30:39 CST 2009


Author: bweschke
Date: Wed Jan  7 12:30:39 2009
New Revision: 167498

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167498
Log:
Merged revisions 167478 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167478 | bweschke | 2009-01-07 13:20:31 -0500 (Wed, 07 Jan 2009) | 7 lines
  
   Answer the channel if it has not already been answered and we've already found a valid profile for followme. 
   (closes issue #14140)
   Reported by: dimas
   Patches:
         14140.patch uploaded by dimas
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_followme.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_followme.c?view=diff&rev=167498&r1=167497&r2=167498
==============================================================================
--- branches/1.6.0/apps/app_followme.c (original)
+++ branches/1.6.0/apps/app_followme.c Wed Jan  7 12:30:39 2009
@@ -975,6 +975,11 @@
 	}
 	ast_mutex_unlock(&f->lock);
 	
+	/* Answer the call */
+	if (chan->_state != AST_STATE_UP) {
+		ast_answer(chan);
+	}
+
 	if (ast_test_flag(&targs.followmeflags, FOLLOWMEFLAG_STATUSMSG)) 
 		ast_stream_and_wait(chan, targs.statusprompt, "");
 	




More information about the asterisk-commits mailing list