[asterisk-commits] jpeeler: trunk r175188 - in /trunk: ./ main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 12 12:00:11 CST 2009


Author: jpeeler
Date: Thu Feb 12 12:00:11 2009
New Revision: 175188

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=175188
Log:
Merged revisions 175187 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r175187 | jpeeler | 2009-02-12 11:57:10 -0600 (Thu, 12 Feb 2009) | 6 lines
  
  Fix crash in event of failed attempt to transfer to parking
  
  The peer is not going to exist during a transfer, so don't try to play a sound
  to it.
........

Modified:
    trunk/   (props changed)
    trunk/main/features.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/features.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/features.c?view=diff&rev=175188&r1=175187&r2=175188
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Thu Feb 12 12:00:11 2009
@@ -823,7 +823,8 @@
 	}
 
 	if ((args->pu = park_space_reserve(rchan, peer, args)) == NULL) {
-		ast_stream_and_wait(peer, "beeperr", "");
+		if (peer)
+			ast_stream_and_wait(peer, "beeperr", "");
 		return AST_FEATURE_RETURN_PARKFAILED;
 	}
 




More information about the asterisk-commits mailing list