[asterisk-commits] nadi: branch 1.4 r61373 - /branches/1.4/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 11 06:40:27 MST 2007


Author: nadi
Date: Wed Apr 11 08:40:26 2007
New Revision: 61373

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61373
Log:
Export AOCD variables on misdn_hangup.

Modified:
    branches/1.4/channels/chan_misdn.c

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=61373&r1=61372&r2=61373
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Wed Apr 11 08:40:26 2007
@@ -2400,13 +2400,12 @@
 	
 	bc=p->bc;
 
-
+	if (p)
+		export_aoc_vars(p->originator, ast, bc);
 	
 	MISDN_ASTERISK_TECH_PVT(ast)=NULL;
 	p->ast=NULL;
 
-	bc=p->bc;
-	
 	if (ast->_state == AST_STATE_RESERVED || 
 		p->state == MISDN_NOTHING || 
 		p->state == MISDN_HOLDED || 



More information about the asterisk-commits mailing list