[svn-commits] rmudgett: branch 1.8 r354495 - /branches/1.8/apps/app_parkandannounce.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 8 20:52:24 CST 2012


Author: rmudgett
Date: Wed Feb  8 20:52:20 2012
New Revision: 354495

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=354495
Log:
Fix crash in ParkAndAnnounce.

Well, thats embarrasing.  I forgot to initialize the caller_id storage.

(closes issue ASTERISK-19311)
Reported by: tootai
Tested by: rmudgett

Modified:
    branches/1.8/apps/app_parkandannounce.c

Modified: branches/1.8/apps/app_parkandannounce.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_parkandannounce.c?view=diff&rev=354495&r1=354494&r2=354495
==============================================================================
--- branches/1.8/apps/app_parkandannounce.c (original)
+++ branches/1.8/apps/app_parkandannounce.c Wed Feb  8 20:52:20 2012
@@ -140,6 +140,7 @@
 	}
 
 	/* Save the CallerID because the masquerade turns chan into a ZOMBIE. */
+	ast_party_id_init(&caller_id);
 	ast_channel_lock(chan);
 	ast_party_id_copy(&caller_id, &chan->caller.id);
 	ast_channel_unlock(chan);




More information about the svn-commits mailing list