[asterisk-commits] trunk r24605 - /trunk/res/res_features.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 3 14:39:25 MST 2006


Author: bweschke
Date: Wed May  3 16:39:24 2006
New Revision: 24605

URL: http://svn.digium.com/view/asterisk?rev=24605&view=rev
Log:
 Correct call parking behavior when there is no courtesytone specified. #6306 (murf)


Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=24605&r1=24604&r2=24605&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Wed May  3 16:39:24 2006
@@ -1662,8 +1662,11 @@
 				ast_hangup(peer);
 				return -1;
 			}
-		}
- 
+		} else {
+			ast_moh_stop(peer);
+			ast_indicate(peer, AST_CONTROL_UNHOLD); 
+		}
+
 		res = ast_channel_make_compatible(chan, peer);
 		if (res < 0) {
 			ast_log(LOG_WARNING, "Could not make channels %s and %s compatible for bridge\n", chan->name, peer->name);



More information about the asterisk-commits mailing list