[asterisk-commits] kmoore: trunk r370328 - /trunk/channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 20 13:37:48 CDT 2012


Author: kmoore
Date: Fri Jul 20 13:37:44 2012
New Revision: 370328

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370328
Log:
Fix build error in chan_misdn from commit 370316

chan_misdn was not updated properly to account for a change in
parameters for HANGUPCAUSE functionality. It now builds properly.

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=370328&r1=370327&r2=370328
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri Jul 20 13:37:44 2012
@@ -7614,7 +7614,7 @@
 #endif
 
 		if (f->frametype == AST_FRAME_CONTROL && f->subclass.integer == AST_CONTROL_PVT_CAUSE_CODE) {
-			ast_channel_hangupcause_hash_set((who == c0) ? c1 : c0, f->data.ptr);
+			ast_channel_hangupcause_hash_set((who == c0) ? c1 : c0, f->data.ptr, f->datalen);
 		} else {
 			ast_write((who == c0) ? c1 : c0, f);
 		}




More information about the asterisk-commits mailing list