[asterisk-commits] bweschke: branch 1.6.1 r167502 - in /branches/1.6.1: ./ apps/app_followme.c

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


Author: bweschke
Date: Wed Jan  7 12:32:52 2009
New Revision: 167502

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167502
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.1/   (props changed)
    branches/1.6.1/apps/app_followme.c

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

Modified: branches/1.6.1/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/apps/app_followme.c?view=diff&rev=167502&r1=167501&r2=167502
==============================================================================
--- branches/1.6.1/apps/app_followme.c (original)
+++ branches/1.6.1/apps/app_followme.c Wed Jan  7 12:32:52 2009
@@ -970,6 +970,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