[asterisk-commits] branch 1.2 - r8608 /branches/1.2/apps/app_dial.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jan 24 18:50:52 MST 2006


Author: kpfleming
Date: Tue Jan 24 19:50:52 2006
New Revision: 8608

URL: http://svn.digium.com/view/asterisk?rev=8608&view=rev
Log:
ensure hangup cause code is handled properly when channel does not return a frame (issue #6346)

Modified:
    branches/1.2/apps/app_dial.c

Modified: branches/1.2/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_dial.c?rev=8608&r1=8607&r2=8608&view=diff
==============================================================================
--- branches/1.2/apps/app_dial.c (original)
+++ branches/1.2/apps/app_dial.c Tue Jan 24 19:50:52 2006
@@ -648,6 +648,7 @@
 					ast_hangup(o->chan);
 					o->chan = NULL;
 					ast_clear_flag(o, DIAL_STILLGOING);
+					HANDLE_CAUSE(in->hangupcause, in);
 				}
 			}
 			o = o->next;



More information about the asterisk-commits mailing list